CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Modifying default k-epsilon equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2014, 10:13
Default Modifying default k-epsilon equation
  #1
New Member
 
Kevin
Join Date: Jun 2013
Posts: 4
Rep Power: 12
leexit is on a distinguished road
Hi,
I use Openfoam Version 1.5.
I was trying to edit the k-epsilon equation for buoyancy case.
Basically I have to add a term on the k equation:
mueff/sigma*g/rho*di(rho)/di(xj).
I got mueff/sigma*rho part, but having some trouble with g and di(rho)/di(xj).
I think I have to add a nonscalar variable g in the kEpsilon.C file, but need some help. Can somebody give me some resources to make this work?
Thank you in advance.

Kevin
leexit 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
Creating a new field from terms of the turbulence model HaZe OpenFOAM Programming & Development 15 November 24, 2014 13:51
How to? Extra term in k-e equation. Implicit-Explicit be_inspired OpenFOAM Programming & Development 1 March 19, 2013 10:50
The effect of E term in the EPSILON equation Valdemir G. Ferreira Main CFD Forum 6 June 7, 2000 02:37
Extra term in Epsilon equation Valdemir G. Ferreira Main CFD Forum 0 April 30, 2000 08:57
bouyancy term in epsilon equation Michael Main CFD Forum 1 June 25, 1999 10:20


All times are GMT -4. The time now is 23:01.