|
[Sponsors] |
changing variables in any iteration using udfs |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Hi all;
I want to change some scalar variables ;for example; temperature , vof ,... in end of any iteration based on the my algorithm using udfs. is it feasible? If your answer is yes , please give me a udf example for this porpuse and help me. Best regards. |
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
For example,Can we use following udf for changing temperature and vof on some cells?
Define_adjust { bigin_c_loop { /...stuff.../ C_VOF(c,t0)=/..stuff.../ C_T(c,t)=/...stuff.../ } end_c_loop } Please give me a suggestion . Thanx in advance. -Asghari- |
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
I don't think it possbile to set scalar values in this way. You can do it by using a correctly linearised source term. See Numerical Fluid Flow and Heat Transfer by Patankar or www.cfd-online.com/Wiki/Source_term_linearization
|
|
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh aborting | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 10, 2010 04:23 |
Parallel runs slower with MTU=9000 than MTU=1500 | Javier Larrondo | FLUENT | 0 | October 28, 2007 23:30 |
DPM variables in UDF's | Cath Noakes | FLUENT | 1 | March 31, 2005 13:09 |
UDF:Accessing variables at different iteration lev | varghese | FLUENT | 2 | August 13, 2002 08:02 |
Heat exchanger problem | chiseung | FLUENT | 16 | October 20, 2001 05:36 |