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
  • Index
  • » Users
  • » GN
  • » Profile

Posts

Posts

Thanks, it works !

best regards

Hello,

I'm a beginner with OpenModelica so I apologize if my question is trivial.
I would like to define the ThickEdgedOrifice with a circular geometry (diameter=0.002, venaDiameter=0.001, venaLength=0.0016) but I don't succeed...

if i try:
  Modelica.Fluid.Fittings.Orifices.ThickEdgedOrifice Orifice1(geometry = circular(diameter = 0.002, venaDiameter = 0.001, venaLength = 0.0016))  annotation(Placement(visible = true, transformation(origin = {-22, -2}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));

Error=> Class circular not found in scope orifice (looking for a function or record).

I think I have to call the function "circular", but I don't know how to do

Thanks in advance for your help !

https://www.openmodelica.org/images/agorapro/attachments/5388/mini_Circular-function.jpg

  • Index
  • » Users
  • » GN
  • » Profile
You are here: