Hi,
I have a question regarding printing the turbulent_heat_flux[Y] of the EBRSM model. Is there a way that I can call this variable and print it in a file using cs_user_extra_operations_1D_profile.f90? I noticed that it is already printed in the monitoring points and I want it printed along a line profile.
Thanks,
Costas
Turbulent_heat_flux[Y]
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4251
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Turbulent_heat_flux[Y]
Hello,
Yes, you just need to adapt the function to use the correct field. You can find the exact field name in the "setup.log" file, but unless you have modified its "output label", it should be the same as for probes (without the [Y] part, which is for the component).
Regards,
Yvan
Yes, you just need to adapt the function to use the correct field. You can find the exact field name in the "setup.log" file, but unless you have modified its "output label", it should be the same as for probes (without the [Y] part, which is for the component).
Regards,
Yvan
Re: Turbulent_heat_flux[Y]
Right, thanks so it will be something like call field_get_val_s_by_name() and what is the parallel assignment?
Regards,
Costas
Regards,
Costas
-
- Posts: 4251
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Turbulent_heat_flux[Y]
Hello,
Depending on the field's dimension (easy to check in setup.log), you will need field_get_val_s_by_name() or field_get_val_v_by_name().
I am not sure about what you call the parallel assignment. To avoid parallel issues, using the newer profile system is better. Check the cs_user_postprocess-profiles.c example (new system) instead of cs_user_extra_operations_1D_profile.f90 (old system).
Best regards,
Yvan
Depending on the field's dimension (easy to check in setup.log), you will need field_get_val_s_by_name() or field_get_val_v_by_name().
I am not sure about what you call the parallel assignment. To avoid parallel issues, using the newer profile system is better. Check the cs_user_postprocess-profiles.c example (new system) instead of cs_user_extra_operations_1D_profile.f90 (old system).
Best regards,
Yvan
Re: Turbulent_heat_flux[Y]
Dear Yvan,
Many thanks, I have sorted it out. The parallel operation is call parall_bcast_r(irangv,uu) for r11 array which I assigned to double precision uu.
Regards,
Costas
Many thanks, I have sorted it out. The parallel operation is call parall_bcast_r(irangv,uu) for r11 array which I assigned to double precision uu.
Regards,
Costas