Skip to content
Snippets Groups Projects
  1. Mar 13, 2018
  2. Feb 26, 2018
    • Henry Weller's avatar
      ENH: cellLimitedGrad gradientLimiters: Added support for run-time selectable... · 08079c4b
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      ENH: cellLimitedGrad gradientLimiters: Added support for run-time selectable gradient limiter function
      
      Minmod is the default limiter function and specified with an explicit name e.g.:
      
          gradSchemes
          {
              default Gauss linear;
              limited cellLimited Gauss linear 1;
          }
      
      Venkatakrishnan and cubic limiter functions are also provided and may be
      specified explicitly e.g.:
      
          gradSchemes
          {
              default Gauss linear;
              limited cellLimited<Venkatakrishnan> Gauss linear 1;
          }
      
      or
      
          gradSchemes
          {
              default Gauss linear;
              limited cellLimited<cubic> 1.5 Gauss linear 1;
          }
      
      The standard minmod function is recommended for most applications but if
      convergence or stability problems arise it may be beneficial to use one of the
      alternatives which smooth the gradient limiting.  The Venkatakrishnan is not
      well formulated and allows the limiter to exceed 1 whereas the cubic limiter is
      designed to obey all the value and gradient constraints on the limiter function,
      see
      
          Michalak, K., & Ollivier-Gooch, C. (2008).
          Limiters for unstructured higher-order accurate solutions
          of the Euler equations.
          In 46th AIAA Aerospace Sciences Meeting and Exhibit (p. 776).
      
      The cubic limiter function requires the transition point at which the limiter
      function reaches 1 is an input parameter which should be set to a value between
      1 and 2 although values larger than 2 are physical but likely to significantly
      reduce the accuracy of the scheme.
      
      VenkatakrishnanGradientLimiter: Updated documentation
      
      cubicGradientLimiter: Documented private data
      08079c4b
  3. Feb 11, 2018
  4. Feb 07, 2018
  5. May 16, 2018
  6. Feb 23, 2018
  7. Apr 04, 2018
    • Henry Weller's avatar
      ENH: fixedMeanOutletInletFvPatchField: New outlet/inlet boundary condition... · 7d205cc7
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      ENH: fixedMeanOutletInletFvPatchField: New outlet/inlet boundary condition which fixes the outlet mean
      
      Description
          This boundary condition extrapolates field to the patch using the near-cell
          values and adjusts the distribution to match the specified, optionally
          time-varying, mean value.  This extrapolated field is applied as a
          fixedValue for outflow faces but zeroGradient is applied to inflow faces.
      
          This boundary condition can be applied to pressure when inletOutlet is
          applied to the velocity so that a zeroGradient condition is applied to the
          pressure at inflow faces where the velocity is specified to avoid an
          unphysical over-specification of the set of boundary conditions.
      
      Usage
          \table
              Property     | Description             | Required    | Default value
              meanValue    | mean value Function1    | yes         |
              phi          | Flux field name         | no          | phi
          \endtable
      
          Example of the boundary condition specification:
          \verbatim
          <patchName>
          {
              type            fixedMeanOutletInlet;
              meanValue       1.0;
          }
          \endverbatim
      
      See also
          Foam::fixedMeanFvPatchField
          Foam::outletInletFvPatchField
          Foam::Function1Types
      7d205cc7
  8. Feb 23, 2018
  9. May 16, 2018
  10. Feb 01, 2018
  11. Feb 10, 2018
  12. Jan 08, 2018
  13. Jan 04, 2018
  14. Dec 19, 2017
  15. Dec 13, 2017
  16. Dec 10, 2017
  17. Dec 01, 2017
  18. May 14, 2018
  19. 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
  20. 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
  21. 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
  22. Dec 01, 2017
  23. Nov 30, 2017
  24. May 11, 2018
  25. 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
  26. 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
  27. Aug 18, 2017
  28. Oct 10, 2017
  29. May 10, 2018
  30. Sep 19, 2017
  31. Oct 31, 2017
  32. 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
  33. Nov 10, 2017
  34. Nov 07, 2017