Re: Schmidt number in code saturne
Posted: Thu Sep 23, 2021 11:44 am
Hello Yvan,
Sorry, I did not understand well about it.
I checked Doxygen and now I understood how to access a field,
and now I can find different behaviors by each schmidt number.
I would like to show the code for someone who want to do same thing.
in cs_user_parameters.c
Best regards,
Tsubasa
Sorry, I did not understand well about it.
I checked Doxygen and now I understood how to access a field,
and now I can find different behaviors by each schmidt number.
I would like to show the code for someone who want to do same thing.
Code: Select all
void
cs_user_parameters(cs_domain_t *domain)
{
cs_field_t *sch_scal1 = cs_field_by_name("scalar1"); //scalar1 is name of scalar which can be seen in GUI
cs_field_set_key_double(sch_scal1, cs_field_key_id("turbulent_schmidt"), 0.1); //0.1 is schmidt number which you can change
}
Best regards,
Tsubasa