|
[Sponsors] |
July 14, 2010, 05:10 |
Dissabling turbulent dissipation
|
#1 |
Member
Join Date: Mar 2010
Posts: 42
Rep Power: 16 |
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::ddt(age) + fvm::div(phi, age) - fvm::laplacian(turbulence->nuEff(),age) == dimensionedScalar("ageSource", age.dimensions()*dimensionSet(0,0,-1,0,0), 1) ); ageEqn.solve(); 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? Thanks |
|
July 14, 2010, 11:16 |
|
#2 |
Senior Member
|
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. Regards, Jose Santos |
|
July 15, 2010, 05:48 |
|
#3 |
Member
Join Date: Mar 2010
Posts: 42
Rep Power: 16 |
it worked!
Thanks for the help Jose, the code was implemented successfully. Guilherme |
|
February 7, 2021, 14:51 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Set the term `alphaDt` to zero in these code blocks to turn off the turbulent diffusion contributions into the local mean age of air: Age of Air Function Object
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turbulent intensity and turbulent dissipation | Phil | FLUENT | 2 | February 14, 2018 06:06 |
turbulent kinetic energy and turbulent dissipation rate | D_L | Main CFD Forum | 5 | July 17, 2010 03:35 |
turbulent dissipation rate | pluto | STAR-CCM+ | 3 | November 11, 2009 15:41 |
Turbulent Eddy Dissipation in LES | Patrick | CFX | 8 | July 12, 2006 03:44 |
calculation of (turbulent) dissipation energy ? | max | Main CFD Forum | 3 | August 18, 1999 10:42 |