Parabolic inflow at the inlet

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Salvador Jimenez

Parabolic inflow at the inlet

Post 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
Mickael Hassanaly

Re: Parabolic inflow at the inlet

Post 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
 
 
Salvador Jimenez

Re: Parabolic inflow at the inlet

Post 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
Jacques Fontaine

Re: Parabolic inflow at the inlet

Post 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
Post Reply