Page 1 of 1
Parabolic inflow at the inlet
Posted: Thu Nov 03, 2011 1:34 pm
by Salvador Jimenez
Hi everyone,
I recently started working with code saturne, and I am having some problems to simulate a simple pipe problem.Where I just have a pipe and give a constant velocity at the inlet using a laminar flow but apparently it is only possible to prescribe a uniform inflow.
The question is:
How to prescribe parabolic inflow velocity field at the inlet?
Thanks
Re: Parabolic inflow at the inlet
Posted: Thu Nov 03, 2011 4:26 pm
by Mickael Hassanaly
Hi Salvador,
If you let your computation continue, you will get your parabolic inflow. Nevertheless, if you want to specify your inflow "by hand", you can either read an external file containing the inflow profil you requested or build a loop on your boundary face elements to prescribe the value of velocity you wish.
With Code_Saturne, you have many possibilities to prescribe you inflow (by components, mass flow rate, etc...)
Best regards
Mickaël
Re: Parabolic inflow at the inlet
Posted: Thu Nov 03, 2011 4:50 pm
by Salvador Jimenez
Hello Mickael,
I thank you very much for your answer. I am used to work with other CFD codes where I can simply define the velocity at each node of the inflow as a function of the node coordinates. For example a parabola as a function of radial distance from the center point of the inflow face.
Is there no easy way for Saturne to prescribe just a function like v(r)=v_max * (1-r^2/R^2) where r=sqrt(x^2+y^2+z^2) ?
Best regards,
Salvador
Re: Parabolic inflow at the inlet
Posted: Thu Nov 03, 2011 5:25 pm
by Jacques Fontaine
Hello,
The easier way is to impose your function v(r) in the graphical interface.
In boundary conditions menu you can specify the inlet direction by "user profile" and you just have to enter analytic functions vx(x,y,z), vy(x,y,z) and vz(x,y,z) (in Cartesian coordinates).
Best regards,
JF