Commit Graph

83 Commits

Author SHA1 Message Date
8f1d043364 GIT: Resolved conflict 2015-12-09 09:32:38 +00:00
b594d73c65 ENH: Solvers - updated group documentation 2015-12-03 22:05:55 +00:00
ba2f46f12a applications: Added fvOptions library to link 2015-12-01 16:09:19 +00:00
3dfe844d9a applications/solvers: Added call to validate the turbulence model after construction
See also commit 52d83407f3
2015-12-01 10:25:38 +00:00
9221cd3cbd compressibleInterFoam, multiphaseMixtureThermo: Corrected laminar mixture kinematic viscosity 2015-11-05 16:08:30 +00:00
42fb1b9e8e Updated notImplemented -> NotImplemented
The new NotImplemented macro uses __PRETTY_FUNCTION__ for GNU compatible
compilers otherwise __func__ to provide the function name string.
2015-11-01 10:26:37 +00:00
8d21b380ef Renamed phiAlpha -P alphaPhi for consistency with Euler-Euler solvers 2015-09-11 17:52:43 +01:00
365f9b0006 dimensioned<Type>: Added constructor from name, dimensions and dictionary
to simplify construction of dimensionedScalar properties and avoid the
duplication of the name string in the constructor call.
2015-07-21 12:57:07 +01:00
91e04d69c1 Resolve various unimportant warning messages from Gcc, Clang and Icpc 2015-07-19 11:31:49 +01:00
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
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
945c4c3d18 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
4b4ca3a247 compressibleInterDyMFoam and interPhaseChangeDyMFoam: cache divU before time advancement to ensure the old-time meshPhi are used to make phi absolute
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1531
2015-02-16 21:42:09 +00:00
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
91ffedbeb2 Solvers: Rationalized correctPhi 2015-02-11 13:22:24 +00:00
9a40fb787e multiphase solvers: print phase-name rather than alpha1/2 when printing max and min phase-fraction 2015-01-21 20:07:15 +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
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
0fd28ff8fc compressibleInterFoam: Add min(T) diagnostics 2014-07-24 18:01:22 +01:00
9873774ee9 VoF solvers: rationalize the relationship between VoF solvers
Improve code reuse
Add multiphaseInterDyMFoam
Retire MRFinterFoam -> now handled by interFoam with fvOptions
Update tutorials
2014-04-29 14:16:41 +01:00
498ff5a9cd compressibleInterDyMFoam: Corrected handling of the relative flux 2013-12-18 22:55:57 +00:00
a8c917fd4b DyM solvers: correct Uf using phi after construction 2013-12-11 17:26:34 +00:00
f5fd050293 VoF solvers: phase-fraction equation and move mesh motion into PIMPLE loop 2013-10-30 12:50:12 +00:00
a1a427f875 alphaEqnsSubCycle: Corrected dimensions of rhoPhiSum 2013-09-12 23:49:44 +01:00
5521dfece0 multiphase: Improve the construction of rhoPhiSum 2013-09-12 17:48:08 +01:00
e9b6c5f293 Rationalise all correctPhi implementations 2013-09-11 22:59:00 +01:00
006938fc16 compressibleInterDyMFoam: Update ddtCorr to use Uf rather than phi
Add tutorial case
2013-09-11 16:17:38 +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
3ac2d3e65a Rationalised createPcorrTypes.H and createUf.H 2013-09-10 17:08: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
2780df8365 multiphase: Update phase-naming to use the new convention e.g. alpha.water 2013-08-13 23:21:46 +01:00
d13c9810e8 VoF Solvers: Relocate the correction, sub-cycling and compressions controls from PIMPLE to the alpha1 sub-dict
MULES: Add support for explicit correction
interPhaseChangeFoam: Add option for explicit MULES or as correction to an upwind solution
Deprecate implicit form of MULES
2013-05-03 15:46:29 +01:00
927a5267d3 interDyMFoam and compressibleInterDyMFoam: improved handling of fluxes 2013-04-29 14:36:19 +01:00
339644581c Field mapping following topology change: Dy default additional faces now inherit the internal field values
if they do not have neighbouring faces from which the values may be
interpolated.  Also the old-time flux is set to the current flux values
following correction.  This currently supports only Euler time-schemes.
2013-03-25 16:43:46 +00:00
6247f0630b compressibleInterFoam: Improve handling of compressibility and instate support for transonic flow 2013-03-21 17:05:27 +00:00
d05e256dcd src/transportModels: split twoPhaseMixture from twoPhaseProperties as a separate library 2013-03-09 16:15:29 +00:00
c7ad9e1133 compressibleInterFoam tutorials updated for new thermo 2013-02-07 15:58:14 +00:00
186bf33d9f compressibleInterFoam: renamed twoPhaseThermo -> twoPhaseMixtureThermo 2013-02-07 12:37:04 +00:00
d53245c833 Multiphase: Update all solvers to accommodate the split between twoPhaseMixture and incompressibleTwoPhaseMixture 2013-02-07 12:31:00 +00:00
edbf12c163 compressibleInterFoam: Further development of twoPhaseThermo 2013-02-06 10:51:25 +00:00
0d91b161af Update headers 2013-02-05 14:54:36 +00:00
1a294d0235 Thermo: move the he BC set functions into basicThermo 2013-02-05 14:54:28 +00:00
2602868b00 Update wallHeatTransfer BC for turbulence 2013-02-05 14:51:01 +00:00
391a703b90 COMP: various: indirect linkage problems on Ubuntu12.04 2012-12-10 17:08:42 +00:00
766abbc075 multiphase solver: Update and rationalize the alphaEqnSubCycling.H 2012-10-24 17:25:00 +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
b94d46d0e7 multiphase and fireFoam: set phi based on the interpolated U before the pEqn construction for the p BCs 2012-08-02 15:29:08 +01:00
0488709387 multiphase: Correct phi BCs for p BCs 2012-07-31 22:36:06 +01:00