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

Fluid

Fluid

Hey Guys,


Could please someone explain me how I can insert a medium, for example water, into a system. I tried it with the toolbox but it doesn't work. Do I have to write it in the text?

Thank You!!!

Re: Fluid

Hi,
I am a new user but  as i know ( and it work well)  you have to write in the text .

For example  if you use an opentank :

package Medium = Modelica.Media.Water.StandardWaterOnePhase;
Modelica.Fluid.Vessels.OpenTank tank1(redeclare package Medium = Medium, ...)


you have to do this for every object you use in a fluid model.

fmu cosimulation OMedit
useravatar
Offline
7 Posts

Re: Fluid

Hey,

Thanks for your answer.
I have already tried it that way but there is a good chance that i made a mistake ( my first modelica).
So i will try again:)

There are 0 guests and 0 other users also viewing this topic