CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Domainvar_Set_Real and Domainvar_Set_List_of_Float (https://www.cfd-online.com/Forums/fluent-udf/92506-domainvar_set_real-domainvar_set_list_of_float.html)

MASOUD September 16, 2011 00:09

Domainvar_Set_Real and Domainvar_Set_List_of_Float
 
Hi,

Can anyone help me to understand the following codes?

1. Domainvar_Set_Real(ROOT_DOMAIN_ID,"temperature/relax", 1.0);

2. Domainvar_Set_List_of_Float(ROOT_DOMAIN_ID, "species/relax", species_urf, 3);


What is the application of the above macros? There is no explanation or definition for them in the UDF manual.

Thanks,

309558927 October 28, 2022 05:37

1.Domainvar_Set_Real(ROOT_DOMAIN_ID,"temperature/relax", 1.0);
The first codes means setting the URF for temperature :1.0;
2.Domainvar_Set_List_of_Float(ROOT_DOMAIN_ID, "species/relax", species_urf, 3);
The sceond codes means seting the URF for species: [0]\[1]\[2]\[3].


All times are GMT -4. The time now is 01:07.