1. 05 Jun, 2018 1 commit
  2. 13 Dec, 2017 1 commit
  3. 17 Feb, 2017 1 commit
    • Henry Weller's avatar
      thermophysicalModels: Changed specie thermodynamics from mole to mass basis · c52e4b58
      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.
      c52e4b58
  4. 22 Dec, 2015 1 commit
  5. 09 Dec, 2015 1 commit
  6. 11 Dec, 2014 1 commit
  7. 17 Feb, 2014 1 commit
  8. 30 Sep, 2012 1 commit
  9. 27 Sep, 2012 1 commit
  10. 25 Sep, 2012 1 commit
  11. 24 Sep, 2012 1 commit
  12. 30 May, 2012 1 commit
    • Henry's avatar
      Thermodynamics: Rationalization · 63da3e9a
      Henry authored
      At the specie level:
          hs = sensible enthalpy
          ha = absolute (what was total) enthalpy
          es = sensibly internal energy
          ea = absolute (what was total) internal energy
      
      At top-level
          Rename total enthalpy h -> ha
          Rename sensible enthalpy hs -> h
      
      Combined h, hs, e and es thermo packages into a single structure.
      
      Thermo packages now provide "he" function which may return either enthalpy or
      internal energy, sensible or absolute according to the run-time selected form
      
      alphaEff now returns the effective diffusivity for the particular energy which
      the thermodynamics package is selected to solve for.
      63da3e9a
  13. 14 Aug, 2011 1 commit
  14. 17 Jun, 2011 1 commit
  15. 08 Jun, 2011 1 commit
  16. 07 Jun, 2011 1 commit
  17. 27 May, 2011 1 commit
  18. 03 Nov, 2010 1 commit
  19. 18 Oct, 2010 1 commit
  20. 13 Oct, 2010 1 commit
  21. 12 Oct, 2010 1 commit
  22. 23 Jun, 2010 1 commit
  23. 18 May, 2010 2 commits
  24. 23 Jul, 2009 1 commit
  25. 14 Jul, 2009 1 commit
  26. 01 Jul, 2009 1 commit
  27. 19 Jun, 2009 1 commit
  28. 12 Feb, 2009 1 commit
  29. 08 Aug, 2008 1 commit
    • Mark Olesen's avatar
      cht tutorial tidy up · a99632d4
      Mark Olesen authored
        - remove inappropriate fields from the regions
          (only important or useful for post-processing)
        - Allclean script had missed some files
      a99632d4
  30. 15 Jul, 2008 1 commit
  31. 14 Jul, 2008 1 commit
  32. 09 Jul, 2008 1 commit
  33. 15 Apr, 2008 1 commit