Go to file
Henry Weller b5206472b5 reactingEulerFoam: Corrected and rationalized pressure-work
In many publications and Euler-Euler codes the pressure-work term in the
total enthalpy is stated and implemented as -alpha*dp/dt rather than the
conservative form derived from the total internal energy equation
-d(alpha*p)/dt.  In order for the enthalpy and internal energy equations
to be consistent this error/simplification propagates to the total
internal energy equation as a spurious additional term p*d(alpha)/dt
which is included in the OpenFOAM Euler-Euler solvers and causes
stability and conservation issues.

I have now re-derived the energy equations for multiphase flow from
first-principles and implemented in the reactingEulerFoam solvers the
correct conservative form of pressure-work in both the internal energy
and enthalpy equations.

Additionally an optional limiter may be applied to the pressure-work
term in either of the energy forms to avoid spurious fluctuations in the
phase temperature in regions where the phase-fraction -> 0.  This may
specified in the "thermophysicalProperties.<phase>" file, e.g.

pressureWorkAlphaLimit 1e-3;

which sets the pressure work term to 0 for phase-fractions below 1e-3.
2016-11-04 12:07:09 +00:00
applications reactingEulerFoam: Corrected and rationalized pressure-work 2016-11-04 12:07:09 +00:00
bin foamCleanPath: Changed sed delimiter from '@' to '|' to allow Email addresses 2016-10-25 17:06:59 +01:00
doc codingStyleGuide: Improved formatting 2016-08-20 09:33:11 +01:00
etc etc/config.csh/paraview: avoid ParaView_DIR: Undefined variable. 2016-10-31 15:49:19 +00:00
src blockMesh: Added edge projection 2016-10-31 18:00:15 +00:00
tutorials buoyantBoussinesqSimpleFoam: Correct laminar and turbulent Prandtl numberl 2016-11-01 16:07:52 +00:00
wmake wmake/rules/General/transform: added filter for third-party paths 2016-10-09 15:14:19 +01:00
.gitignore tutorials/combustion/fireFoam/les: Added missing ph_rgh.orig files 2016-04-27 16:18:25 +01:00
Allwmake Allwmake: Simplified by removing 'doc' option 2016-07-04 22:28:19 +01:00
COPYING Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
README.org Updated and simplified the Doxygen documentation 2016-06-20 21:20:28 +01:00

README for OpenFOAM-dev

#

About OpenFOAM

OpenFOAM is a free, open source computational fluid dynamics (CFD) software package released by the OpenFOAM Foundation. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics.

Copyright

OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file COPYING in this directory or http://www.gnu.org/licenses/, for a description of the GNU General Public License terms under which you can copy the files.