CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

K-epsilon Source term

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2012, 03:10
Default K-epsilon Source term
  #1
New Member
 
ali
Join Date: Feb 2012
Posts: 8
Rep Power: 14
cfdman_aero is on a distinguished road
hi every body.
I have trouble in descritizing of Nonlinear terms of source in k and epsilon equations. My cfd code is based on finite volume method. For example in (du/dy)**2 how should I descritize it? It is computed in center of each cell so I face like this:
(du/dy)**2~|du/dy|*|du/dy|
that using Green theory in each cell:
|du/dy|={-\sum
[u(i)*dx(i)]}/area of cell
but when I implement, the Fortran code is terminated by math (M6101) error. tanx.

Last edited by cfdman_aero; March 1, 2012 at 10:21.
cfdman_aero 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
How to write source term into scalar Fiel JimKnopf OpenFOAM Programming & Development 0 March 23, 2011 05:59
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
UDF Scalar Code: HT 1 Greg Perkins FLUENT 8 October 20, 2000 12:40
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43


All times are GMT -4. The time now is 13:57.