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

Probelm with source term UDF (fluent)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2016, 16:54
Default Probelm with source term UDF (fluent)
  #1
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
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,
alinik 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


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


All times are GMT -4. The time now is 18:53.