twoLiquidMixingFoam, settlingFoam: updated to solve for p - rho*(g.h).
commit4d93932c660fde15ca62b8a7af70629f365d23c4
authorhenry <henry>
Mon, 29 Mar 2010 21:50:45 +0000 (29 22:50 +0100)
committerhenry <henry>
Mon, 29 Mar 2010 21:50:45 +0000 (29 22:50 +0100)
treee37d3565b8726258451fa742cfdc5a7bd265fe39
parent4b5b2806b382a9f8526d1bd17ccd18dab670efa9
twoLiquidMixingFoam, settlingFoam: updated to solve for p - rho*(g.h).

p_rgh = p - rho*(g.h) is the new name for "pd" which caused confusion amongst
many users of OpenFOAM.  The use of the p_rgh formulation avoids some but not
all of the issues encountered with the discretisation of the hydrostatic-balance
in regions of non-orthogonality in the presence of large density gradients.
15 files changed:
applications/solvers/multiphase/settlingFoam/UEqn.H
applications/solvers/multiphase/settlingFoam/createFields.H
applications/solvers/multiphase/settlingFoam/p_rghEqn.H [moved from applications/solvers/multiphase/settlingFoam/pmhEqn.H with 69% similarity]
applications/solvers/multiphase/settlingFoam/settlingFoam.C
applications/solvers/multiphase/twoLiquidMixingFoam/UEqn.H
applications/solvers/multiphase/twoLiquidMixingFoam/createFields.H
applications/solvers/multiphase/twoLiquidMixingFoam/p_rghEqn.H [moved from applications/solvers/multiphase/twoLiquidMixingFoam/pEqn.H with 52% similarity]
applications/solvers/multiphase/twoLiquidMixingFoam/twoLiquidMixingFoam.C
src/finiteVolume/fields/fvPatchFields/derived/buoyantPressure/buoyantPressureFvPatchScalarField.C
tutorials/multiphase/settlingFoam/ras/dahl/0/p_rgh [moved from tutorials/multiphase/settlingFoam/ras/dahl/0/pmh with 98% similarity]
tutorials/multiphase/settlingFoam/ras/dahl/system/fvSchemes
tutorials/multiphase/settlingFoam/ras/dahl/system/fvSolution
tutorials/multiphase/settlingFoam/ras/tank3D/0/p_rgh [moved from tutorials/multiphase/settlingFoam/ras/tank3D/0/pmh with 99% similarity]
tutorials/multiphase/settlingFoam/ras/tank3D/system/fvSchemes
tutorials/multiphase/settlingFoam/ras/tank3D/system/fvSolution