Commit Graph

103 Commits

Author SHA1 Message Date
0fb6a01280 fluxRequired: Added setFluxRequired function to fvSchemes class
Added calls to setFluxRequired for p, p_rgh etc. in all solvers which
avoids the need to add fluxRequired entries in fvSchemes dictionaries.
2015-07-15 21:57:16 +01:00
3a004fda10 fvOptions: Separate options for all cells, cellSets and inter-region coupling
by introducing rational base-classes rather than using the hideous
'switch' statement.  Further rationalization of the cell-selection
mechanism will be implemented via an appropriate class hierarchy to
replace the remaining 'switch' statement.

Mesh-motion is currently handled very inefficiently for cellSets and not
at all for inter-region coupling.  The former will be improved when the
cell-selection classes are written and the latter by making the
meshToMesh class a MeshObject after it has been corrected for mapFields.
2015-05-31 16:38:01 +01:00
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
50ada7c994 blockMesh: Change default location of blockMeshDict from constant/polyMesh to system
For multi-region cases the default location of blockMeshDict is now system/<region name>

If the blockMeshDict is not found in system then the constant directory
is also checked providing backward-compatibility
2015-04-24 22:29:57 +01:00
5ecfb06398 tutorials: remove unnecessary under-relax fields entry 2015-02-22 16:52:21 +00:00
77a6995346 tutorials: Simplify rhoMax and rhoMin specification 2015-02-17 10:55:02 +00:00
d919d6758a tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/topoSetDict.1: further correction to avoid duplicate registration 2015-02-14 10:13:11 +00:00
0ea062816e Correct section comment: there can only be one destructor 2015-02-12 21:57:29 +00:00
332c3cc37f Tutorials: change topoSetDicts to avoid duplicate names 2015-02-12 10:01:31 +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
3dd0c19758 Rename foamClearPolyMesh -> foamCleanPolyMesh for consistency with the other foamClear.* scripts 2015-01-11 15:42:10 +00:00
41368addc9 Minor change to comment 2014-12-14 21:50:14 +00:00
9fb26d59d3 GIT: Repo update 2014-12-11 08:35:10 +00:00
fbb3ddf2c4 Updated for release 2.3.0 2014-02-17 10:21:46 +00:00
333818408f STYLE: sh instead of bash for tutorial scripts 2014-02-05 16:53:44 +00:00
ac95756498 NEH: multiRegionHeaterRadiation: parallel running 2014-01-31 10:52:07 +00:00
684dd9e71a Commenting out reconstructPar in multiRegionHeaterRadiation tutorial 2014-01-30 12:44:15 +00:00
54b98a8ce1 BUG: Bug in F for DarcyForchheimer porosity model.
Changing to Lists the contact resistances of turbulentTemperatureRadCoupledMixed and turbulentTemperatureCoupled BC's
Updating fvOption in heatExchanger tutorial
2014-01-08 17:12:46 +00:00
a2d6fe298d ENH: Updating combustion and heat transfer tutorials 2014-01-08 10:15:01 +00:00
7116c227bf ENH: making consistent Tnbr for turbulentTemperatureCoupledBaffleMixedFvPatchScalarField and turbulentTemperatureRadCoupledMixedFvPatchScalarField.
and updating heat transfer tutorials
2013-12-12 14:36:13 +00:00
79081fe33f Add value to BC 2013-09-11 11:29:16 +01:00
0e10f00241 tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger: use fixedFluxPressure not buoyantPressure BCs 2013-09-11 11:23:29 +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
c4a65259ad GIT: boundary: remove usued file 2013-08-07 11:27:34 +01:00
9ad0015d95 STYLE: boundary: remove regenerated files 2013-07-16 09:54:02 +01:00
20cfa7c6ae BUG: Correcting axesRotation.C virtual member functions and
tutorials using coordinates systems dictionary
2013-02-07 11:32:40 +00:00
59c4dfe0db ENH: Tutorial update 2013-01-17 12:38:07 +00:00
68b4851568 ENH: Tutorial update 2013-01-11 14:53:44 +00:00
cae7227cd4 ENH: Tutorial update 2013-01-11 12:16:51 +00:00
94704b466e ENH: Tutorial update 2013-01-10 10:27:47 +00:00
6fa5295b4b ENH: Tutorial update 2013-01-10 10:00:31 +00:00
a953742839 ENH: Added new heat exchanger tutorial for chtMultiRegionSimpleFoam 2013-01-09 17:10:14 +00:00
03fa70e4af ENH: tutorials: dict command line option 2012-12-05 15:30:33 +00:00
edd7242fbe ENH: Tutorial updates 2012-11-16 17:52:08 +00:00
8ec8f595ec ENH: cleaning chtMultiRegionFoam and chtMultiRegionSimpleFoam from
porous fluid and solid now incorporated into fluid and solid regions
2012-11-02 15:42:46 +00:00
708743752a Solving problem with sampledSurfaces
Removing specieSolid specialization
Updating tutorials using solidThermo and solid reactions
2012-11-01 17:46:37 +00:00
555800c28a ENH: Updated tutorial radiationProperties dictionaries 2012-10-15 12:24:20 +01:00
54432bb18a ENH: Adding greyMeanSolidAbsorptionEmission, updating tutorial.
The radiative properties are now held in the radiationModel in the solid
region instead than in the solidThermo
2012-10-05 11:48:48 +01:00
ca2ad8032e Thermodynamics: Completed dictionary based selection mechanisms for all thermodynamic packages
Rationalised "make" macros to reduce code duplication
Removed solid phase radiation properties
Updated tutorials appropriately
2012-10-03 22:43:50 +01:00
340bbed2e0 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2012-10-01 11:40:22 +01:00
fd677b9f14 ENH: Tutorial file updates 2012-10-01 11:40:11 +01:00
9bf80af379 Thermodynamics: Update selection mechanism for reaction and chemistry thermodynamics 2012-09-30 21:27:18 +01:00
149a584cfe Solid thermodynamic: rationalize and update selection mechanism for consistency with fluid thermo 2012-09-30 21:26:12 +01:00
5e59b510e6 Thermodynamics: Updated tutorials to use the new dictionary based thermo package selection mechanism 2012-09-27 16:49:45 +01:00
da17674f0f ENH: decomposePar,reconsturctPar: added -allRegions option 2012-09-26 12:08:43 +01:00
ef8b6810f2 Thermodynamics: add specie type as argument to the "makeThermo" macros
Added "8" as the default Order of polynomial thermodynamic functions
2012-09-25 18:09:05 +01:00
f1bfeba127 Thermodynamics: rename specieThermo -> species::thermo and create the species namespace
Also remove the "<thermo" part of the names of thermodynamics packages
2012-09-24 15:37:36 +01:00
a114345eab Thermodynamics and sub-models: Removed "Sp" boundedness corrections on transport, replaced with "bounded Gauss" scheme 2012-09-21 14:34:42 +01:00
afcd78e005 Tutorials: Updated for thermo changes 2012-09-19 15:55:41 +01:00
dd3ab88f47 Thermodynamics: renamed isobaricPerfectGas -> incompressiblePerfectGas and incompressible -> rhoConst
Added isochoric and incompressible identifiers to equations of state to indicate the supported processes
2012-09-11 14:07:22 +01:00