Skip to content
Snippets Groups Projects
  1. Dec 01, 2017
  2. May 14, 2018
  3. Dec 14, 2017
    • Will Bainbridge's avatar
      STYLE: thermo: Macro renaming · 2d238139
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      Thermo and reaction thermo macros have been renamed and refactored. If
      the name is plural (make???Thermos) then it adds the model to all
      selection tables. If not (make???Thermo) then it only adds to the
      requested psi or rho table.
      2d238139
  4. Dec 01, 2017
    • Will Bainbridge's avatar
      ENH: reactionThermo: Single component mixture · 8aabbec7
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      This mixture allows a reacting solver to be used with a single component
      fluid without the additional case files usually required for reacting
      thermodynamics.
      
      reactionThermo: Instantiated more single component mixtures
      
      ENH: reactionThermo: Select singleComponentMixture as pureMixture
      
      A pureMixture can now be specified in a reacting solver. This further
      enhances compatibility between non-reacting and reacting solvers.
      
      To achieve this, mixtures now have a typeName function of the same form
      as the lower thermodyanmic models. In addition, to avoid name clashes,
      the reacting thermo make macros have been split into those that create
      entries on multiple selection tables, and those that just add to the
      reaction thermo table.
      8aabbec7
    • Will Bainbridge's avatar
      2193c8e3
  5. Nov 23, 2017
    • Will Bainbridge's avatar
      ENH: combustionModels: Changed the construction order · 22aae281
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The combustion and chemistry models no longer select and own the
      thermodynamic model; they hold a reference instead. The construction of
      the combustion and chemistry models has been changed to require a
      reference to the thermodyanmics, rather than the mesh and a phase name.
      
      At the solver-level the thermo, turbulence and combustion models are now
      selected in sequence. The cyclic dependency between the three models has
      been resolved, and the raw-pointer based post-construction step for the
      combustion model has been removed.
      
      The old solver-level construction sequence (typically in createFields.H)
      was as follows:
      
          autoPtr<combustionModels::psiCombustionModel> combustion
          (
              combustionModels::psiCombustionModel::New(mesh)
          );
      
          psiReactionThermo& thermo = combustion->thermo();
      
          // Create rho, U, phi, etc...
      
          autoPtr<compressible::turbulenceModel> turbulence
          (
              compressible::turbulenceModel::New(rho, U, phi, thermo)
          );
      
          combustion->setTurbulence(*turbulence);
      
      The new sequence is:
      
          autoPtr<psiReactionThermo> thermo(psiReactionThermo::New(mesh));
      
          // Create rho, U, phi, etc...
      
          autoPtr<compressible::turbulenceModel> turbulence
          (
              compressible::turbulenceModel::New(rho, U, phi, *thermo)
          );
      
          autoPtr<combustionModels::psiCombustionModel> combustion
          (
              combustionModels::psiCombustionModel::New(*thermo, *turbulence)
          );
      
      ENH: combustionModel, chemistryModel: Simplified model selection
      
      The combustion and chemistry model selection has been simplified so
      that the user does not have to specify the form of the thermodynamics.
      
      Examples of new combustion and chemistry entries are as follows:
      
          In constant/combustionProperties:
      
              combustionModel PaSR;
      
              combustionModel FSD;
      
          In constant/chemistryProperties:
      
              chemistryType
              {
                  solver          ode;
                  method          TDAC;
              }
      
      All the angle bracket parts of the model names (e.g.,
      <psiThermoCombustion,gasHThermoPhysics>) have been removed as well as
      the chemistryThermo entry.
      
      The changes are mostly backward compatible. Only support for the
      angle bracket form of chemistry solver names has been removed. Warnings
      will print if some of the old entries are used, as the parts relating to
      thermodynamics are now ignored.
      
      ENH: combustionModel, chemistryModel: Simplified model selection
      
      Updated all tutorials to the new format
      
      STYLE: combustionModel: Namespace changes
      
      Wrapped combustion model make macros in the Foam namespace and removed
      combustion model namespace from the base classes. This fixes a namespace
      specialisation bug in gcc 4.8. It is also somewhat less verbose in the
      solvers.
      
      This resolves bug report https://bugs.openfoam.org/view.php?id=2787
      
      ENH: combustionModels: Default to the "none" model
      
      When the constant/combustionProperties dictionary is missing, the solver
      will now default to the "none" model. This is consistent with how
      radiation models are selected.
      22aae281
  6. Dec 01, 2017
  7. Nov 30, 2017
  8. May 11, 2018
  9. Nov 23, 2017
    • Henry Weller's avatar
      ENH: rhePimpleFoam: Merged dynamic mesh functionality of rhoPimpleDyMFoam into rhoPimpleFoam · 2f888d16
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      and replaced rhoPimpleDyMFoam with a script which reports this change.
      
      The rhoPimpleDyMFoam tutorials have been moved into the rhoPimpleFoam directory.
      
      This change is the first of a set of developments to merge dynamic mesh
      functionality into the standard solvers to improve consistency, usability,
      flexibility and maintainability of these solvers.
      
      Henry G. Weller
      CFD Direct Ltd.
      
      rhoReactingFoam: Updated for changes to rhoPimpleFoam files
      2f888d16
  10. Nov 18, 2017
    • Henry Weller's avatar
      ENH: pimpleDyMFoam: Improved efficiency and consistency when running on a static mesh · 81cea099
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Now pimpleDyMFoam is exactly equivalent to pimpleFoam when running on a
      staticFvMesh.  Also when the constant/dynamicMeshDict is not present a
      staticFvMesh is automatically constructed so that the pimpleDyMFoam solver can
      run any pimpleFoam case without change.
      
      pimpleDyMFoam: Store Uf as an autoPtr for better error handling
      
      pimpleFoam: Set initial deltaT from the Courant number
      
      for improved stability on start-up and compatibility with pimpleDyMFoam
      
      ENH: pimpleFoam: Merged dynamic mesh functionality of pimpleDyMFoam into pimpleFoam
      
      and replaced pimpleDyMFoam with a script which reports this change.
      
      The pimpleDyMFoam tutorials have been moved into the pimpleFoam directory.
      
      This change is the first of a set of developments to merge dynamic mesh
      functionality into the standard solvers to improve consistency, usability,
      flexibility and maintainability of these solvers.
      
      Henry G. Weller
      CFD Direct Ltd.
      
      tutorials/incomp...
      81cea099
  11. Aug 18, 2017
  12. Oct 10, 2017
  13. May 10, 2018
  14. Sep 19, 2017
  15. Oct 31, 2017
  16. Dec 09, 2017
    • Henry Weller's avatar
      BUG: compressibleInterFoam family: Corrected transonic option · 293c0c30
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Resolves bug-report https://bugs.openfoam.org/view.php?id=2785
      
      ENH: compressibleInterFoam family: merged two-phase momentum stress modelling from compressibleInterPhaseTransportFoam
      
      The new momentum stress model selector class
      compressibleInterPhaseTransportModel is now used to select between the options:
      
      Description
          Transport model selection class for the compressibleInterFoam family of
          solvers.
      
          By default the standard mixture transport modelling approach is used in
          which a single momentum stress model (laminar, non-Newtonian, LES or RAS) is
          constructed for the mixture.  However if the \c simulationType in
          constant/turbulenceProperties is set to \c twoPhaseTransport the alternative
          Euler-Euler two-phase transport modelling approach is used in which separate
          stress models (laminar, non-Newtonian, LES or RAS) are instantiated for each
          of the two phases allowing for different modeling for the phases.
      
      Mixture and two-phase momentum stress modelling is now supported in
      compressibleInterFoam, compressibleInterDyMFoam and compressibleInterFilmFoam.
      The prototype compressibleInterPhaseTransportFoam solver is no longer needed and
      has been removed.
      293c0c30
  17. Nov 10, 2017
  18. Nov 07, 2017
  19. Oct 27, 2017
  20. Oct 23, 2017
  21. Oct 19, 2017
  22. Oct 18, 2017
  23. Sep 04, 2017
  24. Apr 04, 2018
  25. Jul 13, 2017
  26. Dec 14, 2017
  27. Dec 15, 2017
  28. Dec 13, 2017
    • Will Bainbridge's avatar
      ENH: rigidBodyModelState: Added time value member · fe595af8
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The absolute value of the the time has been added to the rigid body
      model state. This value is not directly necessary for calculating the
      evolution of the rigid body system, it just facilitates the
      implementation of sub-models which are in some way time-dependent.
      fe595af8
  29. Dec 01, 2017
  30. Nov 29, 2017
  31. Nov 22, 2017
  32. Nov 16, 2017
    • Henry Weller's avatar
      ENH: surfaceFilmModels::waxSolventEvaporation, waxSolventViscosity: new wax/solvent film models · 512252a6
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      to support the evaporation of the solvent from the wax film and the changes in
      viscosity caused by the reduction in solvent content.
      
      BUG: filmViscosityModel::thixotropicViscosity: Corrected sign of impingement rate
      
      to compensate for rhoSp having the wrong sign
      
      BUG: surfaceFilmModels::waxSolventEvaporation: Corrected handling of impingement
      
      ENH: surfaceFilmModels::waxSolventViscosity: Changed mixing to mole-fraction based
      
      ENH: surfaceFilmModels::thermoSingleLayer: Added call to solveContinuity before updateSubmodels
      
      to allow sub-models to solve transport equations for conserved properties
      512252a6
  33. Nov 14, 2017