Commit Graph

73 Commits

Author SHA1 Message Date
b9313ef2fe ENH: Consistency updates after Foundation merge and code tidying 2016-04-25 16:46:56 +01:00
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
95d146ecdf Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
cd852be3da OpenFOAM: Updated all libraries, solvers and utilities to use the new const-safe tmp
The deprecated non-const tmp functionality is now on the compiler switch
NON_CONST_TMP which can be enabled by adding -DNON_CONST_TMP to EXE_INC
in the Make/options file.  However, it is recommended to upgrade all
code to the new safer tmp by using the '.ref()' member function rather
than the non-const '()' dereference operator when non-const access to
the temporary object is required.

Please report any problems on Mantis.

Henry G. Weller
CFD Direct.
2016-02-26 17:31:28 +00:00
f4ba71ddd0 OpenFOAM libraries: Updated to use the new const-safe tmp 2016-02-26 08:13:59 +00:00
99a10ecea6 Boundary conditions: Added extrapolatedCalculatedFvPatchField
To be used instead of zeroGradientFvPatchField for temporary fields for
which zero-gradient extrapolation is use to evaluate the boundary field
but avoiding fields derived from temporary field using field algebra
inheriting the zeroGradient boundary condition by the reuse of the
temporary field storage.

zeroGradientFvPatchField should not be used as the default patch field
for any temporary fields and should be avoided for non-temporary fields
except where it is clearly appropriate;
extrapolatedCalculatedFvPatchField and calculatedFvPatchField are
generally more suitable defaults depending on the manner in which the
boundary values are specified or evaluated.

The entire OpenFOAM-dev code-base has been updated following the above
recommendations.

Henry G. Weller
CFD Direct
2016-02-20 22:44:37 +00:00
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
16e3f5c1e4 STY: Expanding header for model description 2016-01-05 15:12:02 -08:00
9dd487a359 STY: Correcting spelling mistake in diffusionMulticomponent 2016-01-05 09:55:16 -08:00
8f1d043364 GIT: Resolved conflict 2015-12-09 09:32:38 +00:00
4ba032b2be ENH: Adding diffusionMulticomponent combustion model.
Adding optional files to smallPoolFire2D to run using this model.
Taking out of the compilation of FSD combustion. It needs futher work to run using the new turbulent framework
2015-12-07 17:02:18 -08:00
269483f0bf src/combustionModels: Updated LES model lookup 2015-11-16 10:25:42 +00:00
c4d5f65a10 Completed update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-11 09:03:39 +00:00
fd9d07413a LTS: Simplify the selection of LTS operation 2015-06-29 11:53:20 +01:00
f92d657ab7 LTS: Formalize the naming of the rDeltaT and rSubDeltaT fields
Now the specification of the LTS time scheme is simply:

ddtSchemes
{
    default         localEuler;
}
2015-06-28 21:41:40 +01:00
57d75a691f combustionModel: Change the base turbulenceModel to compressibleTurbulenceModel
to allow combustionModel to be used with more general forms of multi-phase
2015-06-07 18:51:36 +01:00
320b8708c2 combustionModels: Added multiphase-phase support
by naming fields including the phase name is needed
2015-06-05 08:19:13 +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
8599a55d40 PaSR: ensure the sqrt operates on a positive number 2015-03-06 22:38:12 +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
0ea062816e Correct section comment: there can only be one destructor 2015-02-12 21:57:29 +00:00
315ab1225c Update headers 2015-02-12 12:34:27 +00:00
d01afadbc1 Name fields to avoid duplicate registration 2015-02-12 12:33:45 +00:00
1a806fa28d Add support for reading and updating the debug switches of templated
classes in the DebugSwitches sub-dictionary of system/controlDict
2015-02-04 22:08:27 +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
b55f84d9e0 ENH: PaSR - give dQ and Sh sensible names 2013-11-06 11:43:40 +00:00
a7f4722bb9 Corrected line length 2013-09-29 22:21:33 +01:00
f10b27f482 solidChemistryModel: Add notImplemented from of the LTS solve function. 2013-09-29 22:19:53 +01:00
ee76550653 chemistryModel/laminar/PaSR: Add support for LTS to laminar model and to PaSR by derivation 2013-09-29 22:07:36 +01:00
25751cf413 combustionModels/PaSR/PaSR: Changed useReactionRate to !integrateReactionRate 2013-09-27 12:42:17 +01:00
317bf2fbd9 src/combustionModels/laminar: new model 2013-09-27 12:41:46 +01:00
e197117805 chemistryModel: removed superfluous time argument to solve 2013-09-26 22:40:13 +01:00
b66b9637ae STY: Deleting psiCombustionModels.C 2013-09-03 11:33:05 +01:00
5cc01e730d ENH: Updated field names 2013-07-25 09:12:35 +01:00
b6d0e0d196 ENH: Removed unused source file 2013-06-13 12:06:45 +01:00
e4fc9807c3 STYLE: Updates to erroneous copyright dates 2013-03-13 09:32:03 +00:00
53df4289df ENH: Consistency updates - license text abnd code formatting 2013-03-12 15:40:03 +00:00
4511f96d6d ENH: Adding thermoPhysicsTypes for sensibleInternalEnergy
and instanciating reactionThermos, Reactions, chemistrySolver
solidChemistrySolvers and readers.
chemkinReader uses the sensibleEnthalpy base of thermoType
2013-01-25 14:45:27 +00:00
391a703b90 COMP: various: indirect linkage problems on Ubuntu12.04 2012-12-10 17:08:42 +00:00
eed797ce9e ENH: Updated header documentation for PaSR combustion model 2012-10-23 12:33:53 +01:00
f1deb4445e GIT: conflict resolution 2012-09-26 12:13:44 +01:00
93207cbe9d singleStepCombustion.C: Updated for SP compilation 2012-09-20 10:25:54 +01:00
a3870d65df GIT: Merge/resolve conflict 2012-08-03 12:28:20 +01:00
a76bdc1bd2 STYLE: minor code formatting 2012-08-03 09:24:21 +01:00
08704051b3 COMP: avoid ambiguous construction from tmp 2012-08-02 17:44:51 +01:00
fb8a362350 STYLE: limit code to 80 chars 2012-08-02 15:00:38 +01:00
e6f521bec0 ENH: Added new diffusion combustion model 2012-08-01 16:30:41 +01:00
962f72c333 ENH: Added semi-implicit treatment for combustion model sources 2012-08-01 16:19:04 +01:00
0f302e2912 ENH:removed unnecessary scoping 2012-07-26 13:09:42 +01:00
42677bba76 ENH: Restructured combustion models library 2012-06-19 12:49:27 +01:00