CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Domainvar_Set_Real and Domainvar_Set_List_of_Float

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2011, 00:09
Default Domainvar_Set_Real and Domainvar_Set_List_of_Float
  #1
Senior Member
 
MASOUD
Join Date: Mar 2009
Posts: 102
Rep Power: 17
MASOUD is on a distinguished road
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,
MASOUD is offline   Reply With Quote

Old   October 28, 2022, 05:37
Default
  #2
New Member
 
wujun
Join Date: Apr 2012
Posts: 13
Rep Power: 14
309558927 is on a distinguished road
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].
309558927 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:48.