CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Dissabling turbulent dissipation

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

LinkBack Thread Tools Display Modes
Old   July 14, 2010, 04:10
Default Dissabling turbulent dissipation
Join Date: Mar 2010
Posts: 42
Rep Power: 9
lindner is on a distinguished road
Hi all,
I have a solver that calculates the local mean age of air, it's the simpleFoam solver with a scalarTransportFoam with source term = 1.
The code of the scalar transport is this

fvScalarMatrix ageEqn
+ fvm::div(phi, age)
- fvm::laplacian(turbulence->nuEff(),age)
dimensionedScalar("ageSource", age.dimensions()*dimensionSet(0,0,-1,0,0), 1)


Now i want to test the local mean age solver but turning off the turbulent dissipation (turbulence->nuEff = 1).
I tried just removing the term from the equation but it didnt work. Is there a way to simple make the turbulent dissipation = 1 or add a simple constant?

lindner is offline   Reply With Quote

Old   July 14, 2010, 10:16
Senior Member
santos's Avatar
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 11
santos is on a distinguished road
Send a message via Skype™ to santos
Hi there,

What if you replace it with:
- fvm::laplacian(Dage,age)
where Dage is the diffusivity of age (dont know whether it make sense!)

Dage will have to be declared in createFields.H, and then defined in constant/transportProperties.

Jose Santos
santos is offline   Reply With Quote

Old   July 15, 2010, 04:48
Join Date: Mar 2010
Posts: 42
Rep Power: 9
lindner is on a distinguished road
it worked!
Thanks for the help Jose, the code was implemented successfully.

lindner is offline   Reply With Quote


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
turbulent kinetic energy and turbulent dissipation rate D_L Main CFD Forum 5 July 17, 2010 02:35
turbulent dissipation rate pluto STAR-CCM+ 3 November 11, 2009 15:41
Turbulent Eddy Dissipation in LES Patrick CFX 8 July 12, 2006 02:44
Turbulent intensity and turbulent dissipation Phil FLUENT 1 September 1, 2000 07:05
calculation of (turbulent) dissipation energy ? max Main CFD Forum 3 August 18, 1999 09:42

All times are GMT -4. The time now is 06:14.