- Apr 26, 2017
-
-
Henry Weller authored
By specifying the optional outside surface emissivity radiative heat transfer to the ambient conditions is enabled. The far-field is assumed to have an emissivity of 1 but this could be made an optional input in the future if needed. Relaxation of the surface temperature is now provided via the optional "relaxation" which aids stability of steady-state runs with strong radiative coupling to the boundary.
-
- Apr 08, 2017
-
-
Henry Weller authored
The standard naming convention for heat flux is "q" and this is used for the conductive and convective heat fluxes is OpenFOAM. The use of "Qr" for radiative heat flux is an anomaly which causes confusion, particularly for boundary conditions in which "Q" is used to denote power in Watts. The name of the radiative heat flux has now been corrected to "qr" and all models, boundary conditions and tutorials updated.
-
Henry Weller authored
by combining with and rationalizing functionality from turbulentHeatFluxTemperatureFvPatchScalarField. externalWallHeatFluxTemperatureFvPatchScalarField now replaces turbulentHeatFluxTemperatureFvPatchScalarField which is no longer needed and has been removed. Description This boundary condition applies a heat flux condition to temperature on an external wall in one of three modes: - fixed power: supply Q - fixed heat flux: supply q - fixed heat transfer coefficient: supply h and Ta where: \vartable Q | Power [W] q | Heat flux [W/m^2] h | Heat transfer coefficient [W/m^2/K] Ta | Ambient temperature [K] \endvartable For heat transfer coefficient mode optional thin thermal layer resistances can be specified through thicknessLayers and kappaLayers entries. The thermal conductivity \c kappa can either be retrieved from various possible sources, as detailed in the class temperatureCoupledBase. Usage \table Property | Description | Required | Default value mode | 'power', 'flux' or 'coefficient' | yes | Q | Power [W] | for mode 'power' | q | Heat flux [W/m^2] | for mode 'flux' | h | Heat transfer coefficient [W/m^2/K] | for mode 'coefficent' | Ta | Ambient temperature [K] | for mode 'coefficient' | thicknessLayers | Layer thicknesses [m] | no | kappaLayers | Layer thermal conductivities [W/m/K] | no | qr | Name of the radiative field | no | none qrRelaxation | Relaxation factor for radiative field | no | 1 kappaMethod | Inherited from temperatureCoupledBase | inherited | kappa | Inherited from temperatureCoupledBase | inherited | \endtable Example of the boundary condition specification: \verbatim <patchName> { type externalWallHeatFluxTemperature; mode coefficient; Ta uniform 300.0; h uniform 10.0; thicknessLayers (0.1 0.2 0.3 0.4); kappaLayers (1 2 3 4); kappaMethod fluidThermo; value $internalField; } \endverbatim
-
- Mar 10, 2017
-
-
Henry Weller authored
-
- 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.
-
- Dec 05, 2016
-
-
Henry Weller authored
Patch contributed by Mattijs Janssens Resolves bug-report http://bugs.openfoam.org/view.php?id=2323
-
- Oct 06, 2016
-
-
Henry Weller authored
to handle the size of bubbles created by boiling. To be used in conjunction with the alphatWallBoilingWallFunction boundary condition. The IATE variant of the wallBoiling tutorial case is provided to demonstrate the functionality: tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/wallBoilingIATE
-
- Aug 22, 2016
-
-
Henry Weller authored
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2207
-
- Aug 05, 2016
-
-
Henry Weller authored
Requires gcc version 4.7 or higher
-
- Aug 04, 2016
-
-
Henry Weller authored
-
- Jun 19, 2016
-
-
Henry Weller authored
-
- Jun 17, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
- Jun 16, 2016
-
-
Henry Weller authored
-
- May 21, 2016
-
-
Henry Weller authored
-
Henry Weller authored
temperatureCoupledBase: Rationalized the selection of the method for obtaining the thermal conductivity kappa -> kappaMethod kappaName -> kappa
-
- May 18, 2016
-
-
Henry Weller authored
-
- May 01, 2016
-
-
Henry Weller authored
Patch contributed by Bruno Santos Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2078
-
- Apr 30, 2016
-
-
Henry Weller authored
-
Henry Weller authored
GeometricField: Renamed internalField() -> primitiveField() and dimensionedInternalField() -> internalField() These new names are more consistent and logical because: primitiveField(): primitiveFieldRef(): Provides low-level access to the Field<Type> (primitive field) without dimension or mesh-consistency checking. This should only be used in the low-level functions where dimensional consistency is ensured by careful programming and computational efficiency is paramount. internalField(): internalFieldRef(): Provides access to the DimensionedField<Type, GeoMesh> of values on the internal mesh-type for which the GeometricField is defined and supports dimension and checking and mesh-consistency checking.
-
- Apr 25, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
- Apr 16, 2016
-
-
Henry Weller authored
Patch contributed by Bruno Santos Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2052
-
- Mar 14, 2016
-
-
Henry Weller authored
Contributed by Bruno Santos Resolves patch report http://www.openfoam.org/mantisbt/view.php?id=2023 Update online documentation http://openfoam.github.io/Documentation-dev/html/
-
- Feb 29, 2016
-
-
Henry Weller authored
-
- Feb 24, 2016
-
-
Henry Weller authored
in case of tmp misuse. Simplified tmp reuse pattern in field algebra to use tmp copy and assignment rather than the complex delayed call to 'ptr()'. Removed support for unused non-const 'REF' storage of non-tmp objects due to C++ limitation in constructor overloading: if both tmp(T&) and tmp(const T&) constructors are provided resolution is ambiguous. The turbulence libraries have been upgraded and '-DCONST_TMP' option specified in the 'options' file to switch to the new 'tmp' behavior.
-
- Jan 10, 2016
-
-
Henry Weller authored
-
- Jan 09, 2016
-
-
Henry Weller authored
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1967
-
- Nov 15, 2015
-
-
Henry Weller authored
Patches provided by Juho Peltola
-
- Nov 11, 2015
-
-
Henry Weller authored
Avoids the clutter and maintenance effort associated with providing the function signature string.
-
- Oct 30, 2015
-
-
Henry Weller authored
-
- Oct 25, 2015
-
-
Henry Weller authored
Provided by Bruno Santos Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1875
-
Henry Weller authored
Resolves report http://www.openfoam.org/mantisbt/view.php?id=1875 Patch provided by Bruno Santos
-
Henry Weller authored
Resolves report http://www.openfoam.org/mantisbt/view.php?id=1875
-
- Sep 25, 2015
-
-
Henry Weller authored
-
- Aug 26, 2015
-
-
Henry Weller authored
to allow the turbulent energy transport properties to be updated for every energy solution if required. Added correctEnergyTransport() call to reactingTwoPhaseEulerFoam
-
- Aug 22, 2015
-
-
Henry Weller authored
-
- Aug 20, 2015
-
-
Henry Weller authored
-
- Jun 24, 2015
-
-
Henry Weller authored
-
- Jun 15, 2015
-
-
Henry Weller authored
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1745
-