|
[Sponsors] |
July 9, 2015, 11:10 |
phi == pEqn.flux() rhoSimpleFoam
|
#1 |
New Member
België/Belgique
Join Date: Jul 2015
Posts: 3
Rep Power: 11 |
Hello,
Does anyone know why for the transonic case in rhoSimpleFoam the flux is calculated as: phi == pEqn.flux(); ? If transonic is turned off, then the flux is calculated in the 'normal' way, i.e. first calculting the flux without the contribution of the pressure gradient: phi = fvc::interpolate(rho)*(fvc::interpolate(U) & mesh.Sf() ) And after the calulation of the pressure, the old flux value gets corrected using the new pressure: phi -= pEqn.flux(); So I do not understand why the flux in the transonic case is not calculated as: phi == fvc::interpolate(rho)*(fvc::interpolate(U) & mesh.Sf() ) - pEqn.flux() as well. I hope somebody can help me with this. Thank you in advance! |
|
Tags |
flux, peqn, phi, rhosimplefoam, transonic |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
phi -= pEqn.flux() vs. linearInterpolate(U) & mesh.Sf() | santiagomarquezd | OpenFOAM Programming & Development | 33 | October 15, 2019 11:24 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
pEqn.flux() | cheng1988sjtu | OpenFOAM Running, Solving & CFD | 4 | November 21, 2012 16:08 |
Problem with rhoSimpleFoam : exploding enthalpy and density at the walls | david39 | OpenFOAM Running, Solving & CFD | 6 | January 18, 2011 12:49 |
Turbulence Model phi vs phi_ | doug | OpenFOAM Running, Solving & CFD | 4 | November 10, 2009 05:33 |