Dissabling turbulent dissipation
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
+ fvm::div(phi, 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?
What if you replace it with:
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.
Thanks for the help Jose, the code was implemented successfully.
|All times are GMT -4. The time now is 09:17.|