CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Differences in Formulation for devRhoReff and divDevRhoReff

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

LinkBack Thread Tools Display Modes
Old   May 2, 2011, 05:40
Default Differences in Formulation for devRhoReff and divDevRhoReff
New Member
Join Date: Jan 2011
Posts: 4
Rep Power: 6
mart.hein is on a distinguished road
Hello everybody,

I'm using the compressible k-Epsilon turbulence model and I've got a question about the formulation of the total stress term devRhoReff and the source term for the momentum equation divDevRhoReff. The former is defined as

whereas the latter is defined as

- fvm::laplacian(muEff(), U) - fvc::div(muEff()*dev2(fvc::grad(U)().T()))
Mathematically the second equation should just be the divergence of the first one. However, when I calculate the divergence of the first one and replace the second one with

fvc::div( -muEff()*dev(twoSymm(fvc::grad(U_))) )
the solver crashes after some iterations with a time step continuity error .

Can someone explain this behaviour to me? Are my assumptions not correct?

Thanks a lot

mart.hein 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

All times are GMT -4. The time now is 18:02.