Commit graph

45 commits

Author SHA1 Message Date
Henry
df3e05beb9 BrownianMotionForce: Updated interface to turbulence model 2015-04-30 17:38:12 +01:00
Henry
cb1f94a370 DispersionRASModel: Updated lookup of the turbulence model
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1679
2015-04-30 11:11:35 +01:00
Henry
c43b145479 patchInteractionDataList: Ignore empty patches 2015-04-29 23:06:09 +01:00
Henry
4916a13d7e patchInteractionDataList: Remove default patch interaction method
Now interaction methods must be specified for all non-coupled patches.
If this approach proves irritating a warning rather than an error could
be generated.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1670
2015-04-27 12:00:27 +01:00
Henry
53b1b5c6df GradientDispersionRAS: Updated to use the new GaussNormal function
Provided by Timo Niemi
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
2015-04-20 17:48:16 +01:00
Henry
64c3aa3764 lagrangian/basic/particle/particleI.H: General clean-up 2015-04-20 17:47:56 +01:00
Henry
cf8d906fcf Updated header 2015-04-18 11:51:40 +01:00
Henry
ebeccfff98 basicKinematicMPPICParcel: Reinstated dispersion models
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
2015-04-18 11:50:46 +01:00
Henry
aaa3d026e8 cachedRandom: Added GaussNormal functions and applied to StochasticDispersionRAS
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
Thanks to Timo Niemi
2015-04-09 15:45:10 +01:00
Henry
782763997a StochasticDispersionRAS: Corrected spherical distribution of UTurb direction
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1650
2015-04-08 12:22:33 +01:00
Henry
ec68d3384e DSMC: Corrected LarsenBorgnakkeVariableHardSphere model
Also changed internalDegreesOfFreedom to be an integer type
2015-03-19 21:43:25 +00:00
Henry
c6f66dae57 stochasticDispersionRAS: Distribute UTurb uniformly
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1568
2015-03-13 13:13:42 +00:00
Henry
d6907d9b48 lagrangian: Completed update of phaseProperties to handle specie list mismatch
between liquid and solid mixture composition and the specie lists
defined in the thermodynamics package.

Note this does not change the current limitation that both liquid and
solid mixtures contain ALL the corresponding phase species defined in
the thermodynamics package.  However, missing species are included
automatically during construction of phaseProperties.
2015-03-07 11:51:38 +00:00
Henry
4580bcf7d4 Removed redundant code 2015-03-06 22:43:39 +00:00
Henry
6884300a00 lagrangian: Replace dummy "notImplemented" functions with abstract functions making base classes abstract
Make clone functions const and abstract in abstract base classes
Change copy constructors to take const argument
Make private data mutable where necessary
2015-03-06 18:14:18 +00:00
Henry
f9d7b982ce phaseProperties: Handle special cases
No species specified: indicates phase is not present
Some species specified: missing entries assumed to have 0 mass-fraction
2015-03-05 23:37:58 +00:00
Henry
a2140d21f2 patchInjectionBase: ensure areaFraction is the same on all processors
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1556
2015-03-05 17:20:34 +00:00
Henry
b44d2ba049 lagrangian: Rationalized the handling of multi-component liquids and solids
Ensures consistency between the mixture thermodynamics and composition specifications for the parcels.
Simpler more efficient implementation.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1395
as well as other consistency issues not yet reported.
2015-03-05 11:35:49 +00:00
Henry
de2c2fb007 Rationalize position searching and add cell->tet decomposition as the default cell-search algorithm
Resolves issues with probes and findRefCell for meshes in which all cell face-pyramids are positive.
2015-02-25 10:57:06 +00:00
Henry
cf07fdc957 lagrangian: Improved handling of binary transfers
Now using memory offsets to calculate transfer block sizes rather than
sum of 'sizeof' to ensure word alignment is accounted for
2015-02-22 12:14:46 +00:00
Henry
218875bf40 DSMC: Rationalization and addition of mapping support 2015-02-20 17:24:14 +00:00
Henry
4db6925cee 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
Henry
76c7f68ac1 fluidThermo: Add compressibleTransportModel as base-class
Needed to create generic compressible turbulence model library
2015-02-17 17:25:26 +00:00
Henry
9ac15414bf Update header 2015-02-14 17:09:21 +00:00
Henry
e44376d363 Correct Info message 2015-02-14 17:09:07 +00:00
Henry
f58fd14271 Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
e636b7c73b Correct section comment: there can only be one destructor 2015-02-12 21:57:29 +00:00
Henry
ca026b5dc7 Updated headers to ensure the class name declared to Doxygen is in the appropriate namespace
Also moved global classes which should be in the Foam namespace into it.
2015-02-09 14:43:11 +00:00
Henry
287e970b18 Update headers 2015-02-04 22:11:06 +00:00
Henry
2c25b8db52 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
Henry
93732c8af4 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
086131d4a1 Updated options files for new location of radiation lnInclude directory 2015-01-11 22:27:36 +00:00
Henry
3058a8df7e Updated headers 2015-01-01 13:43:17 +00:00
Henry
83421f2aeb particle::initCellFacePt(): Added suggestions to resolve failure to find particle
Resolves bug report: http://www.openfoam.org/mantisbt/view.php?id=1461
2015-01-01 13:42:57 +00:00
Henry
4d36257682 Updates to the TAB modeling for distorted droplets
Resolves bug-reports:
   http://www.openfoam.org/mantisbt/view.php?id=1018
   http://www.openfoam.org/mantisbt/view.php?id=996
   http://www.openfoam.org/mantisbt/view.php?id=991
2014-12-20 12:17:59 +00:00
Henry
0d4fa65c27 Corrected tc and ms for new parcels
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=1286
2014-12-18 13:15:51 +00:00
Henry
1921449192 Correct child parcel properties
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1287
2014-12-18 13:07:17 +00:00
Henry
970884a561 Reduce the stripped parcel mass due to evaporation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1295
2014-12-18 12:50:24 +00:00
Henry
ca31aaec32 Improved member function documentation
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1285
2014-12-18 12:36:58 +00:00
Henry
d50de8d4f0 Renamed minParticleMass -> minParcelMass
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1288
2014-12-18 12:25:19 +00:00
Henry
e05b72580d Added return when position_ == endPosition
May resolve bug-report http://www.openfoam.org/mantisbt/view.php?id=1459
2014-12-16 20:45:51 +00:00
Henry
bc5134a55e New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
Henry
0587e6e0e8 Corrected calculation of iTp
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1456
2014-12-12 22:19:03 +00:00
Henry
e3c8025e9d Improved test to avoid /0 2014-12-12 11:30:27 +00:00
Henry
446e5777f0 Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00