Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Combining Chemical Package with Gas Flow

Combining Chemical Package with Gas Flow

Hello - I'm trying to have gas flow from a source into a solution, but I'm having difficulty with the mediums (chemical package uses substanceData, others use Medium). I've modified a few packages so the code will get about 2/3 of the way through compiling now, but keeps getting thrown on this error message:

"Division by zero at time 0, where divisor expression is: boundary_source.medium.R*boundary_source.T." I suspect boundary_source.T is being set to zero (why would R be incorrect?), but I don't know how to fix it. I've attached all the relevant files. Any suggestions would be helpful!

Thank you!

MoistAirExt.mo

MoistAirExtExt.mo

Air-Record.mo

GasTransfer.mo

Edited by: PCModeler20 - Feb-25-20 21:15:53
There are 0 guests and 0 other users also viewing this topic
You are here: