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

Wrong operator in transonic pressure equation?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 6, 2011, 08:45
Post Wrong operator in transonic pressure equation?
  #1
Member
 
Florian Ettner
Join Date: Mar 2009
Location: Munich, Germany
Posts: 40
Rep Power: 8
dohnie is on a distinguished road
Hello,
in my transonic simulations with reactingFoam my local continuity errors are far too high (~0.01).
I've stumbled upon the pressure equation: After the pEqn is solved, the flux is corrected. In the subsonic case:
Code:
        if (nonOrth == nNonOrthCorr)
        {
            phi += pEqn.flux();
        }
In the transonic case:
Code:
        if (nonOrth == nNonOrthCorr)
        {
            phi == pEqn.flux();
        }
Shouldn't the latter "==" operator be replaced by a "+=", too?

If not, who can explain it?
dohnie is offline   Reply With Quote

Reply

Tags
coupling, flux correction, transonic

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressure work term in turbulent K.E. equation lost.identity Main CFD Forum 0 March 8, 2011 13:21
Strcture of pressure correction equation in PISO stable over time ? sebi Main CFD Forum 1 October 26, 2010 22:19
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
pressure Poisson equation in fractinoal step metho Rui Main CFD Forum 6 October 15, 2000 04:57
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


All times are GMT -4. The time now is 06:32.