Commit Graph

250 Commits

Author SHA1 Message Date
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
1568641986 DPMFoam, MPPICFoam: Corrected contiuousPhaseName -> continuousPhaseName
Resolves second part of http://www.openfoam.org/mantisbt/view.php?id=1717
2015-05-28 17:01:18 +01:00
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
28abb8cda5 Buoyant solvers: Add special handling for ghRef in the case g = (0 0 0) 2015-03-19 15:26:06 +00:00
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
d0122cfea3 Revert "Revert "Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction"""
This reverts commit 41b9348271.
2015-03-13 14:39:01 +00:00
41b9348271 Revert "Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction""
This reverts commit 0a6395b6ee.
2015-03-11 17:33:14 +00:00
0a6395b6ee Revert "DPMFoam: Multiply the gravitational force by the gas phase fraction"
This reverts commit 991819bbf6.
2015-03-11 15:47:29 +00:00
991819bbf6 DPMFoam: Multiply the gravitational force by the gas phase fraction
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1563
2015-03-11 10:50:32 +00:00
7e2329c0b5 rhoEqn: Do not constrain; would violate conservation 2015-02-22 16:50:48 +00:00
eeedf5a051 Thermodyamics: Add support for multiphase
Pass the phase-name through hierarchy
Add phase-name to variables
Split basicCombustionMixture
Update applications accordingly
2015-02-18 21:21:22 +00:00
945c4c3d18 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
16a90e82ff applications/solvers: Update trans-sonic option in pEqns to by consistent with sonic-solvers 2015-02-17 10:47:34 +00:00
e26498eed3 Rationalized sprayFoam family of solvers and added sprayDyMFoam 2015-02-16 21:47:15 +00:00
fb54c54db0 Rationalized pEqn in sprayFoam solvers 2015-02-16 21:45:28 +00:00
7132f1380f Compressible solvers: rhoMax and rhoMin now optional and may be supplied without dimensions 2015-02-16 21:43:40 +00:00
d9eb18adbc pEqn: DO NOT constrain the pressure equation as this will lead to continuity errors 2015-02-12 10:42:17 +00:00
5a2c5c8fdc Explicitly name derived fields to improve readability of diagnostic messages and avoid duplicate registration 2015-02-12 09:59:52 +00:00
633ae4ede0 solvers: rationalize the return statement 2015-02-10 18:20:42 +00:00
fe8c5ff636 Applications: use pimpleControl.dict() and simpleControl.dict() instead of looking-up the sub-dict 2015-02-09 22:15:26 +00:00
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
a92a04f18d Updated options files for new location of radiation lnInclude directory 2015-01-11 22:27:36 +00:00
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
0c181744a2 BUG: Mantis #1259: created lagrangian turbulence library for new turbulent structure 2014-04-15 16:38:06 +01:00
5a106bc101 STYLE: typo in DPMFoam and MPPICFoam descriptions 2014-02-03 16:20:26 +00:00
e0de7c96c7 BUG: DPMFoam: removed duplicate register of transport properties dictionary 2014-01-29 09:34:14 +00:00
ab1c1d1373 ENH: simpleReactingParcelFoam - added density under-relaxation 2014-01-22 17:51:51 +00:00
b8335f88af Corrected sign of momentum source 2013-12-21 12:25:47 +00:00
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
9916da0252 BUG: Added lagrangianTurbulence library to solvers: error messages still showing due to surfaceFilm library 2013-12-17 15:04:05 +00:00
0de6a8dd2b ENH: Added MPPICFoam solver source and build files 2013-12-17 11:05:55 +00:00
c5d8166e76 ENH: Added MPPICFoam solver and MPPIC types and models to the Lagrangian library 2013-12-17 10:41:35 +00:00
5e884ea48a ENH: added DPMFoam, DPM drag models and Goldschmidt tutorial case 2013-12-16 18:16:12 +00:00
a8c917fd4b DyM solvers: correct Uf using phi after construction 2013-12-11 17:26:34 +00:00
9a8e128e8d BUG: sprayFoam - updated pressure equation for relativeFlux - mantis #1045 2013-11-05 10:20:58 +00:00
17f2d5f189 Completed update of ddtCorr to use Uf for DyM solvers 2013-09-12 16:58:39 +01:00
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
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
df2273f0c4 ENH: Refactored code 2013-08-28 10:28:10 +01:00
046f740f0e Renamed relativeFlux -> makeRelative and absoluteFlux -> makeAbsolute 2013-08-20 15:40:00 +01:00
314d05cfdb STYLE: Minor typo corrections 2013-05-10 10:15:31 +01:00
620f16b06e BUG: Renamed fluidThermo[Cloud|Parcel] back to basicThermo[Cloud|Parcel] 2013-05-03 10:42:36 +01:00
da0e0a5df9 ENH: Removed IOporosityList from reactingParcelFoam 2013-01-21 15:53:30 +00:00
d36851969c ENH: Added new simpleReactingParcelFoam solver 2013-01-11 16:20:07 +00:00
78df71ea98 ENH: Updated solver header doc 2013-01-11 16:04:33 +00:00
d2b84dc511 ENH: Updated fieldSources->fvOptions for solvers 2013-01-08 09:38:01 +00:00
72ab425a77 ENH: Updated instantiation of sources by solvers 2012-12-10 15:21:37 +00:00
6cc6a0e07f ENH: Updated porous zone treatment in reactingParcelFoam and LTSReactingParcelFoam 2012-12-10 11:39:00 +00:00
6ce8c61d18 ENH: Updated sources for lagrangian solvers 2012-12-10 11:30:17 +00:00
b5d1ab435d ENH: Updated solver run-time selectable sources 2012-12-06 15:08:52 +00:00