Commit Graph

267 Commits

Author SHA1 Message Date
Henry Weller
d0f15d4e3c EEqn: Added rho*(U&g) source term
Generally this term has a VERY small effect on temperature, it is only
important for low-speed buoyancy-dominated flows.

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1755

See also http://cfd.direct/openfoam/energy-equation/
2015-07-01 10:53:37 +01:00
Henry Weller
01cb591ba5 rhoReactingFoam, rhoReactingBuoyantFoam: Added LTS support
Select LTS via the ddtScheme:

    ddtSchemes
    {
        default         localEuler rDeltaT;
    }
2015-06-27 22:41:00 +01:00
Henry Weller
64e831fea0 reactingFoam: Added run-time selectable LTS support replacing LTSReactingFoam
Select LTS via the ddtScheme:

    ddtSchemes
    {
        default         localEuler rDeltaT;
    }
2015-06-27 22:35:49 +01:00
Henry Weller
5c4b7b1640 Rename setrDeltaT to setRDeltaT 2015-06-27 15:33:39 +01:00
Henry Weller
a9fa0db19a Rename setrDeltaT to setRDeltaT 2015-06-27 15:33:04 +01:00
Henry Weller
8293227964 Rationalized the LTS solvers 2015-06-16 12:42:37 +01:00
Henry
c3ee2348a6 MRF: Separate MRF from fvOptions
fvOptions does not have the appropriate structure to support MRF as it
is based on option selection by user-specified fields whereas MRF MUST
be applied to all velocity fields in the particular solver.  A
consequence of the particular design choices in fvOptions made it
difficult to support MRF for multiphase and it is easier to support
frame-related and field related options separately.

Currently the MRF functionality provided supports only rotations but
the structure will be generalized to support other frame motions
including linear acceleration, SRF rotation and 6DoF which will be
run-time selectable.
2015-05-29 23:35:43 +01:00
Henry
9cd9a9f364 ddtScheme::fvcDdtPhiCoeff: Zero ddtCorr on AMIs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1421
2015-03-24 15:23:01 +00:00
Henry
28abb8cda5 Buoyant solvers: Add special handling for ghRef in the case g = (0 0 0) 2015-03-19 15:26:06 +00:00
Henry
e588d61879 Solvers based on p_rgh: Added support for optional hRef
Allows the specification of a reference height, for example the height
of the free-surface in a VoF simulation, which reduces the range of p_rgh.

hRef is a uniformDimensionedScalarField specified via the constant/hRef
file, equivalent to the way in which g is specified, so that it can be
looked-up from the database.  For example see the constant/hRef file in
the DTCHull LTSInterFoam and interDyMFoam cases.
2015-03-17 17:15:11 +00:00
Henry
7e2329c0b5 rhoEqn: Do not constrain; would violate conservation 2015-02-22 16:50:48 +00:00
Henry
945c4c3d18 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
Henry
16a90e82ff applications/solvers: Update trans-sonic option in pEqns to by consistent with sonic-solvers 2015-02-17 10:47:34 +00:00
Henry
0ea062816e Correct section comment: there can only be one destructor 2015-02-12 21:57:29 +00:00
Henry
d9eb18adbc pEqn: DO NOT constrain the pressure equation as this will lead to continuity errors 2015-02-12 10:42:17 +00:00
Henry
5a2c5c8fdc Explicitly name derived fields to improve readability of diagnostic messages and avoid duplicate registration 2015-02-12 09:59:52 +00:00
Henry
633ae4ede0 solvers: rationalize the return statement 2015-02-10 18:20:42 +00:00
Henry
fe8c5ff636 Applications: use pimpleControl.dict() and simpleControl.dict() instead of looking-up the sub-dict 2015-02-09 22:15:26 +00:00
Henry
2aec249647 Updated the whole of OpenFOAM to use the new templated TurbulenceModels library
The old separate incompressible and compressible libraries have been removed.

Most of the commonly used RANS and LES models have been upgraded to the
new framework but there are a few missing which will be added over the
next few days, in particular the realizable k-epsilon model.  Some of
the less common incompressible RANS models have been introduced into the
new library instantiated for incompressible flow only.  If they prove to
be generally useful they can be templated for compressible and
multiphase application.

The Spalart-Allmaras DDES and IDDES models have been thoroughly
debugged, removing serious errors concerning the use of S rather than
Omega.

The compressible instances of the models have been augmented by a simple
backward-compatible eddyDiffusivity model for thermal transport based on
alphat and alphaEff.  This will be replaced with a separate run-time
selectable thermal transport model framework in a few weeks.

For simplicity and ease of maintenance and further development the
turbulent transport and wall modeling is based on nut/nuEff rather than
mut/muEff for compressible models so that all forms of turbulence models
can use the same wall-functions and other BCs.

All turbulence model selection made in the constant/turbulenceProperties
dictionary with RAS and LES as sub-dictionaries rather than in separate
files which added huge complexity for multiphase.

All tutorials have been updated so study the changes and update your own
cases by comparison with similar cases provided.

Sorry for the inconvenience in the break in backward-compatibility but
this update to the turbulence modeling is an essential step in the
future of OpenFOAM to allow more models to be added and maintained for a
wider range of cases and physics.  Over the next weeks and months more
turbulence models will be added of single and multiphase flow, more
additional sub-models and further development and testing of existing
models.  I hope this brings benefits to all OpenFOAM users.

Henry G. Weller
2015-01-21 19:21:39 +00:00
Henry
a92a04f18d Updated options files for new location of radiation lnInclude directory 2015-01-11 22:27:36 +00:00
Henry
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
william
4d7ab99f99 BUG: Separated surface film wall functions into a separate library to remove duplication messages when using new turbulent structure 2013-12-18 16:53:41 +00:00
william
9916da0252 BUG: Added lagrangianTurbulence library to solvers: error messages still showing due to surfaceFilm library 2013-12-17 15:04:05 +00:00
Henry
a8c917fd4b DyM solvers: correct Uf using phi after construction 2013-12-11 17:26:34 +00:00
Henry
5eec17c9c6 Add LTSReactingFoam 2013-09-30 08:34:18 +01:00
Henry
9c099f2160 LTSReactingFoam: Improved defaults 2013-09-27 22:44:28 +01:00
Henry
e197117805 chemistryModel: removed superfluous time argument to solve 2013-09-26 22:40:13 +01:00
Henry
2e846f260d Minor clean-up 2013-09-26 22:39:15 +01:00
Henry
da4acfbaa3 LTSReactingFoam: New LTS version of reactingFoam 2013-09-26 22:38:41 +01:00
Henry
17f2d5f189 Completed update of ddtCorr to use Uf for DyM solvers 2013-09-12 16:58:39 +01:00
Henry
08baa6eda6 fixedFluxPressure BC: the snGrad is now pushed into the BC from pEqn.H rather than being evaluated in the BC 2013-09-11 00:10:00 +01:00
Henry
51f085faa5 Rewrite of ddtPhiCorr - ddtCorr and density-weight HbyA on compressible solvers.
For DyM solvers phiAbs is replaced by Uf but this conversion is currently not complete
2013-09-09 12:41:20 +01:00
Henry
046f740f0e Renamed relativeFlux -> makeRelative and absoluteFlux -> makeAbsolute 2013-08-20 15:40:00 +01:00
andy
ea94da2168 ENH: Documentation updates 2013-06-13 12:58:03 +01:00
andy
77d8b45ded BUG: chemFoam - reverted change to pressure indexing 2013-06-12 09:38:13 +01:00
Henry
1d64955b69 rhoReactingFoam: Correct handling of the density correction term for the transonic case 2013-03-21 17:05:00 +00:00
andy
b69e0ae07a ENH: Consisteny update for turbulence G field name 2013-02-18 14:20:37 +00:00
sergio
cf5317d6bc ENH: Updating solver chemFoam and fireFoam tutorials to use new naming
for gasThermoType based on type of energy solved
2013-01-28 10:49:35 +00:00
andy
d2b84dc511 ENH: Updated fieldSources->fvOptions for solvers 2013-01-08 09:38:01 +00:00
Henry
031b6d2bbb fireFoam: remove re-declaration of sources 2012-12-17 14:46:43 +00:00
Henry
78f0cb5097 Resolve the green 2012-12-13 16:27:00 +00:00
andy
98447ed2e2 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-12-13 10:40:54 +00:00
andy
100ed55f7a ENH: Added new rhoReactingBuoyantFoam solver 2012-12-10 18:13:18 +00:00
andy
96060f6112 ENH: MOved rhoReactingFoam into the reactingFoam sub-folder 2012-12-10 18:12:36 +00:00
opencfd
de29a1ed27 Merge branch 'master' of dm:/home/dm4/OpenFOAM/OpenFOAM-dev 2012-12-10 17:09:34 +00:00
opencfd
391a703b90 COMP: various: indirect linkage problems on Ubuntu12.04 2012-12-10 17:08:42 +00:00
andy
9e81cba908 BUG: Corrected source usage in XiFoam 2012-12-10 16:39:27 +00:00
andy
72ab425a77 ENH: Updated instantiation of sources by solvers 2012-12-10 15:21:37 +00:00
andy
a0eeb3f09d ENH: Removed unused entry from tutorial input dictionary 2012-12-10 10:16:49 +00:00
Henry
377ff780a2 Removed whitespace 2012-12-07 17:58:35 +00:00