Page 1 of 1
parabolic inlet
Posted: Thu Jan 16, 2025 10:29 pm
by dimitri14
Hello i'm trying to WRITE a parabollic velocity inlet as described on the following picture

i have read
Code: Select all
https://www.code-saturne.org/forum/viewtopic.php?p=3675&hilit=inlet+parabolic#p3675
but my GUI seems to be different
regards
Re: parabolic inlet
Posted: Sun Jan 19, 2025 1:22 pm
by Yvan Fournier
Hello,
Can't see the linked image. I don't see where is the difficulty here. Did you try setting the formula you need ? Also check the rabbit showing available variables.
Best regards,
Yvan
Re: parabolic inlet
Posted: Mon Jan 20, 2025 7:50 pm
by dimitri14
Thanks for the help
In the post
Code: Select all
https://www.code-saturne.org/forum/viewtopic.php?p=3675&hilit=inlet+parabolic#p3675
user law was based on (sic)analytic functions vx(x,y,z), vy(x,y,z) and vz(x,y,z) (in Cartesian coordinates)".
in my case it 'd be vx=35,693*y*(0,41-y), vy=0 and vz=0.
However in my GUI the user law is defined as
So i wondering if
does work?
Regards
Re: parabolic inlet
Posted: Tue Jan 21, 2025 1:32 am
by Yvan Fournier
Hello,
In the GUI, you also have a second option for the flow direction: either normal to the inlet, a given vector direction, or a second user function. So you can combine the direction and norm definitions to get the desired velocity profile.
Best regards,
Yvan
Re: parabolic inlet
Posted: Thu Jan 23, 2025 6:36 pm
by dimitri14
Thank you Yvan for your quick and accurate answer
Regards