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

rhoCentralFoam engergy equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2017, 07:47
Default rhoCentralFoam engergy equation
  #1
New Member
 
haoyuan zhang
Join Date: Aug 2017
Posts: 3
Rep Power: 8
haoyuan is on a distinguished road
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
haoyuan 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
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


All times are GMT -4. The time now is 09:05.