Page 1 of 1

Mapped inlet & temperature field

Posted: Fri Apr 22, 2022 11:00 am
by Gen
Dear code_saturne team,

I am using the Mapped Inlet in GUI to define the inlet condition for my LES calculation of a regular pipe.
I only want the velocity field to be fed back but It seems that the temperature field is also mapped.
So I modified the cs_user_boundary_conditions-mapped_inlet.f90., but it didn't work out.

I just want to map the velocity iw, without changing the temperature of the inlet.
Could you help me find out my problem? I guess there might be something wrong with my normalization process, or else.

Any suggestion will be appreciated. Thank you in advance.
Bonne journée,
Gen

Re: Mapped inlet & temperature field

Posted: Fri Apr 22, 2022 6:49 pm
by Yvan Fournier
Hello,

You are looping on all fields and applying the mapping to all of them (even for non-solved fields, to which this does not apply),, so that is why the temperature is mapped also.

You need to call boundary_conditions_mapped_set only for the velocity field if you only want the mapped inlet for velocity.

Regards,

Yvan

Re: Mapped inlet & temperature field

Posted: Sat Apr 23, 2022 8:28 am
by Gen
Hello Yvan,

Thank you so much.

Best regards,
Gen