|
[Sponsors] |
December 7, 2017, 07:47 |
rhoCentralFoam engergy equation
|
#1 |
New Member
haoyuan zhang
Join Date: Aug 2017
Posts: 3
Rep Power: 8 |
Hi Foamers,
I recently study the compressible solver rhoCentralFoam in OpenFOAM V4.1. I need to add some non-linear turbulence model in this solver, the viscous term in the present solver is not capable of the non-linear shear stress. I replace " - fvm::laplacian(muEff, U) - fvc::div(tauMC)' in the momentum equation with turbulence->divDevRhoReff, and it seems to work fine. However, I replace the "sigmaDotU" in the energy equation with (fvc::dotInterpolate(mesh.Sf(), -devRhoReff))& (a_pos*U_pos + a_neg*U_neg), it goes wrong. In my opinion, "(muEff)*fvc::grad(U) + tauMC" is the same as "-devRhoReff", which is "((this->alpha_*this->rho_*this->nuEff()))*dev(twoSymm(fvc::grad(this->U_)))" . Please note that there is a "-" in the functions of "devRhoReff". Am I right? Does anyone have a similar experience about this? Regards, Haoyuan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 05:21 |
Problem with Velocity Poisson Equation and Vector Potential Poisson Equation | mykkujinu2201 | Main CFD Forum | 1 | August 12, 2017 13:15 |
momentum equation in rhoCentralFoam | immortality | OpenFOAM Running, Solving & CFD | 0 | June 12, 2013 06:22 |
Need help:about energy equation in CFX | Stein | CFX | 4 | July 2, 2009 22:31 |
Diffusion Equation | izardy amiruddin | Main CFD Forum | 2 | July 4, 2002 08:14 |