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

K-epsilon Source term

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 1, 2012, 04:10
Default K-epsilon Source term
  #1
New Member
 
ali
Join Date: Feb 2012
Posts: 8
Rep Power: 5
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 11:21.
cfdman_aero is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 06: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 02:21.