mapped inlet for LES simulation

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
xiaoxue123
Posts: 29
Joined: Fri Mar 02, 2018 11:50 am

mapped inlet for LES simulation

Post by xiaoxue123 »

Hello,

I'm using version6 to run a LES simulation. There is an inlet in the simulation domain, and I have an extra inlet pipe where I can apply the mapped inlet function to create fully developed turbulent flow for the real inlet. I noticed that the mapped inlet can be defined through both GUI and subroutine. In the subroutine, I can specify the variables to be copied to the inlet, but in the GUI, it seems like I cannot select which to copy. So if I just define the mapped inlet through GUI, is code_saturne copying all the variables or just copying the velocity to the inlet?

Best regards,
Huang
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: mapped inlet for LES simulation

Post by Yvan Fournier »

Hello,

Using the GUI, all variables are copied.

Note that the mapped inlet is fine for RANS, but for LES, our main turbulence specialist thinks it would be better (when the inlet and the section it is mapped to are conforming) to copy values from face centers instead of cell centers for better consistency. I am not sure we have much feedback using it in LES so I guess it is still worth a try.

Also note that by default, most values (velocity, scalars, ...) are rescaled to make sure iterpolation error does not progressively damp or amplify values, but turbulent field values (in RANS) are not, as it would defeat the purpose. In LES, that second aspect is probably not important. In any case, this can also be controlled more finely using user
functions, while default apply with the GUI.

Regards,

Yvan
Post Reply