- Apr 28, 2019
-
-
Mark OLESEN authored
- Eg, with surface writers now in surfMesh, there are fewer libraries depending on conversion and sampling. COMP: regularize linkage ordering and avoid some implicit linkage (#1238)
-
- Feb 18, 2017
-
-
Henry Weller authored
Description Base-class for thermophysical properties of solids, liquids and gases providing an interface compatible with the templated thermodynamics packages. liquidProperties, solidProperties and thermophysicalFunction libraries have been combined with the new thermophysicalProperties class into a single thermophysicalProperties library to simplify compilation and linkage of models, libraries and applications dependent on these classes.
-
- Feb 17, 2017
-
-
Henry Weller authored
The fundamental properties provided by the specie class hierarchy were mole-based, i.e. provide the properties per mole whereas the fundamental properties provided by the liquidProperties and solidProperties classes are mass-based, i.e. per unit mass. This inconsistency made it impossible to instantiate the thermodynamics packages (rhoThermo, psiThermo) used by the FV transport solvers on liquidProperties. In order to combine VoF with film and/or Lagrangian models it is essential that the physical propertied of the three representations of the liquid are consistent which means that it is necessary to instantiate the thermodynamics packages on liquidProperties. This requires either liquidProperties to be rewritten mole-based or the specie classes to be rewritten mass-based. Given that most of OpenFOAM solvers operate mass-based (solve for mass-fractions and provide mass-fractions to sub-models it is more consistent and efficient if the low-level thermodynamics is also mass-based. This commit includes all of the changes necessary for all of the thermodynamics in OpenFOAM to operate mass-based and supports the instantiation of thermodynamics packages on liquidProperties. Note that most users, developers and contributors to OpenFOAM will not notice any difference in the operation of the code except that the confusing nMoles 1; entries in the thermophysicalProperties files are no longer needed or used and have been removed in this commet. The only substantial change to the internals is that species thermodynamics are now "mixed" with mass rather than mole fractions. This is more convenient except for defining reaction equilibrium thermodynamics for which the molar rather than mass composition is usually know. The consequence of this can be seen in the adiabaticFlameT, equilibriumCO and equilibriumFlameT utilities in which the species thermodynamics are pre-multiplied by their molecular mass to effectively convert them to mole-basis to simplify the definition of the reaction equilibrium thermodynamics, e.g. in equilibriumCO // Reactants (mole-based) thermo FUEL(thermoData.subDict(fuelName)); FUEL *= FUEL.W(); // Oxidant (mole-based) thermo O2(thermoData.subDict("O2")); O2 *= O2.W(); thermo N2(thermoData.subDict("N2")); N2 *= N2.W(); // Intermediates (mole-based) thermo H2(thermoData.subDict("H2")); H2 *= H2.W(); // Products (mole-based) thermo CO2(thermoData.subDict("CO2")); CO2 *= CO2.W(); thermo H2O(thermoData.subDict("H2O")); H2O *= H2O.W(); thermo CO(thermoData.subDict("CO")); CO *= CO.W(); // Product dissociation reactions thermo CO2BreakUp ( CO2 == CO + 0.5*O2 ); thermo H2OBreakUp ( H2O == H2 + 0.5*O2 ); Please report any problems with this substantial but necessary rewrite of the thermodynamic at https://bugs.openfoam.org Henry G. Weller CFD Direct Ltd.
-
- Feb 26, 2016
-
-
Henry Weller authored
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.
-
Henry Weller authored
-
- Feb 17, 2015
-
-
Henry authored
Needed to create generic compressible turbulence model library
-
- Jan 21, 2015
-
-
Henry authored
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
-
- Jan 11, 2015
-
-
Henry authored
-
- Dec 16, 2013
-
-
william authored
BUG: Separated turbulent lagrangian models into a separate library to remove duplication messages when using new turbulent structure
-
- Aug 23, 2012
-
-
Henry authored
-
- Feb 29, 2012
-
-
andy authored
-
- Sep 08, 2011
-
-
andy authored
-
- Sep 07, 2011
-
-
andy authored
-
- May 11, 2011
-
-
andy authored
-
- Feb 02, 2011
-
-
andy authored
-
- Feb 01, 2011
- Jan 28, 2011
-
-
andy authored
- pointSolid->solidProperties - pointSolidMixure->solidMixtureProperties - liquids->liquidProperties - liquidMixture->liquidMoxtureProperties
-
- Jan 26, 2011
-
-
andy authored
-
- Dec 08, 2010
-
-
sergio authored
pointSolidMixture. chtMultiRegion tutorials and solvers
-
- Sep 17, 2010
-
-
graham authored
Squashed merge of particleInteractions up to commit e7cb5bcf0315c359539ef1e715e1d51991343391
-
- Sep 06, 2010
-
-
Andrew Heather authored
-
- Jul 27, 2010
-
-
mattijs authored
-
- Apr 08, 2010
-
-
andy authored
surface film modelling - provides mechanism whereby particles can be re-introduced to a cloud - new injection models - new particle properties determined by pulling data from the surface film model
-
- Aug 31, 2009
-
-
graham authored
referred particle is the same type as the real partilce, i.e. dispensed with reduced referredMolecule-like class. In general the collision between particles may involve all pieces of data (type, size, speed etc).
-
- Aug 20, 2009
-
-
graham authored
updated an created. Included interactionLists from molecule library. Building with temporary length squared hard coded. Selecting collision partnersusing DIL and applying test force to each.
-
- Jun 11, 2009
-
-
Andrew Heather authored
-
- Mar 04, 2009
-
-
Andrew Heather authored
-
- Dec 01, 2008
-
-
Mark Olesen authored
-
- Nov 24, 2008
- Nov 23, 2008
-
-
henry authored
(transient solvers) and corrected paths to the new location of the turbulence models.
-
- Jun 20, 2008
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- Jun 18, 2008
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- Jun 17, 2008
-
-
Andrew Heather authored
-
- May 25, 2008
-
-
henry authored
because I failed to work out how to merge Mark's stuff -- HELP!!!
-
- May 08, 2008
-
-
Mark Olesen authored
-
- Apr 15, 2008
-
-
OpenFOAM-admin authored
-