|
[Sponsors] |
February 14, 2006, 13:36 |
usage of UDS & UDM
|
#1 |
Guest
Posts: n/a
|
Hi: I will add a source term in the momentum equation. This term is related to the volume fraction of a phase (my case is multiphase flow). So I use DEFINE_ADJUST and UDS to calculate the source term. My question is that can I directly use C_UDSI(c,t,i) in DEFINE_SOURCE to get the source term which is define as a UDS in DEFINE_ADJUST? Or should I use UDM to store the UDS value in DEFINE_ADJUST, and then use C_UDMI(c,t,i) in DEFINE_SOURCE macro. Any help will be very much appreciated. Thanks.
|
|
February 15, 2006, 02:16 |
Re: usage of UDS & UDM
|
#2 |
Guest
Posts: n/a
|
"My question is that can I directly use C_UDSI(c,t,i) in DEFINE_SOURCE to get the source term which is define as a UDS in DEFINE_ADJUST"
yes you can directly use C_UDSI(c,t,i) in your source term...no storage is needed. But an UDS is a calculated variable(convection-diffusion), if your C_UDSI(c,t,i) can be written as a function (formula) of other variable, you should store it as UDM, not UDS. |
|
February 15, 2006, 11:32 |
Re: usage of UDS & UDM
|
#3 |
Guest
Posts: n/a
|
Thank you.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation violation | louiza | FLUENT | 16 | June 27, 2017 16:41 |
UDS stored to UDM do not show the same values | swati_mohanty | FLUENT | 0 | December 3, 2010 04:46 |
Doubts UDS Flux, UDS Unsteady for VOF model | kel85uk | FLUENT | 0 | March 17, 2010 09:53 |
UDS & UDM | fluent_usr | FLUENT | 1 | June 18, 2008 04:28 |
A good question about UDS | Z | FLUENT | 1 | March 31, 2005 16:14 |