Domain *domain???
FLUENT 5:
extern Domain *domain; DEFINE_ON_DEMAND(my_udf) { ... } is to be replaced by FLUENT 6: DEFINE_ON_DEMAND(my_udf) { Domain *domain; domain = Get_Domain(1); ... } 1. Is this change valid for any other function apart from DEFINE_ON_DEMAND? the ver5 syntax seems to be working for me. I'm accessing it in DEFINE_ADJUST though. 2. Also, is the change needed just for two-phase flows? |
Re: Domain *domain???
The manual says this is the preferred method in 6.0. Its needed for single and two phase flows. The (1) domain is the high level domain that is equivalent to the extern Domain *domain in Fleunt 5.0. Otehr domains are accessible for two phase flow as described in the udf manuals Greg
|
All times are GMT -4. The time now is 01:07. |