|
[Sponsors] |
October 30, 2016, 16:54 |
Probelm with source term UDF (fluent)
|
#1 |
Senior Member
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18 |
Hi,
I am trying to write a UDF for k omega turbulence model. This is the mathematical description of the model: I am having trouble writing a source term for the first term on RHS of the equation: I do not know how to add dU_i/dx_j to the source term. For two dimensional flow it reduces to strain rate for which I can use Strainrate_Mag in my UDF but I do not know what to use for a more general flow condition. Any kind of help is much appreciated. Thanks, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 17:02 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
How does fluent handles the momentum source term? | QBeast | FLUENT | 0 | April 22, 2013 15:12 |
gradient source term UDF | ak6g08 | Fluent UDF and Scheme Programming | 0 | July 9, 2009 07:37 |