Skip to content
Snippets Groups Projects
  1. Dec 08, 2021
  2. Nov 24, 2021
  3. Aug 03, 2021
  4. Jun 17, 2021
  5. Jun 10, 2021
    • Mark OLESEN's avatar
      ENH: additional patch expressions (#2114) · b6b4ab07
      Mark OLESEN authored
      - snGrad, internalField, neighbourField.
        Functional use as per swak: "... + internalField(T) ..."
      
      ENH: additional volume/patch expressions
      
      - deltaT()
      
      STYLE: rename exprDriverWriter -> fvExprDriverWriter
      
      - the original class name was a misnomer since it holds a reference
        to fvExprDriver
      
      BUG: expression faceToPoint/pointToFace definitions were flipped
      
      ENH: refactor expression hierarchy and code style
      
      - handle TimeState reference at the top-level for simpler derivations
      
      - unified internal search parameters (cruft)
      b6b4ab07
  6. May 13, 2021
  7. Dec 11, 2020
  8. Dec 10, 2020
    • sergio's avatar
      ENH: New vibro-acoustic model suite · bc430ccd
      sergio authored and Andrew Heather's avatar Andrew Heather committed
      
        - New solver: `acousticFoam`
        - New base finite-area region class: `regionFaModel`
        - New base shell model classes:
          - `vibrationShellModel`
          - `thermalShellModel`
        - New shell models:
          - A vibration-shell model: `KirchhoffShell`
          - A thermal-shell model: `thermalShell`
        - New finite-area/finite-volume boundary conditions:
          - `clampedPlate`
          - `timeVaryingFixedValue`
          - `acousticWaveTransmissive`
        - New base classes for `fvOption` of finite-area methods: `faOption`
        - New `faOption`s:
          - `contactHeatFluxSource`
          - `externalFileSource`
          - `externalHeatFluxSource`
          - `jouleHeatingSource`
        - New tutorial: `compressible/acousticFoam/obliqueAirJet`
      
      Signed-off-by: default avatarKutalmis Bercin <kutalmis.bercin@esi-group.com>
      bc430ccd
  9. Dec 09, 2020
  10. Jun 10, 2020
  11. Jun 09, 2020
    • Henning Scheufler's avatar
      CONT: Addition of compressibleIsoInterFOam and PLIC · 44a84d47
      Henning Scheufler authored and Andrew Heather's avatar Andrew Heather committed
         1) Implementation of the compressibleIsoInterFOam solver
         2) Implementation of a new PLIC interpolation scheme.
         3) New tutorials associated with the solvers
      
      This implementation was carried out by Henning Scheufler (DLR) and Johan
      Roenby (DHI), following :
      
      \verbatim
      
      Henning Scheufler, Johan Roenby,
      Accurate and efficient surface reconstruction from volume fraction data
      on general meshes, Journal of Computational Physics, 2019, doi
      10.1016/j.jcp.2019.01.009
      
      \endverbatim
      
      The integration of the code was carried out by Andy Heather and Sergio
      Ferraris from OpenCFD Ltd.
      44a84d47
  12. May 23, 2020
  13. Apr 29, 2020
    • Kutalmış Berçin's avatar
      ENH: add directionalMeshWave functionality · ea16cb4b
      Kutalmış Berçin authored
        For a given point within a given mesh, the existing `meshWave` method gives
        the orthogonal distance to a patch. In meshes with very steep terrain (e.g.
        a hill of 90 [deg], this might be problematic for the fields that require
        the distance to the patch associated with the terrain surface.
      
        `directionalMeshWave` is a variant of `meshWave` distance-to-patch method,
        which ignores the component in the specified direction. Can be used e.g. to
        calculate the distance in the z-direction only.
      
        TUT: add example of directionalMeshWave to mesh/moveDynamicMesh/SnakeCanyon
      
        Requirement by CENER
        Implementation by Mattijs Janssens
      ea16cb4b
  14. Dec 19, 2019
    • Zeljko Tukovic's avatar
      ENH: Adding interTrack code · 79588b9b
      Zeljko Tukovic authored and Andrew Heather's avatar Andrew Heather committed
      1) New skewCorrectedSnGrad for non-orthogonal and skewness corrector
      2) New freeSurfacePressure and freeSurfacePressure working with
         interfaceTrackingFvMesh
      3) New interfaceTrackingFvMesh
      79588b9b
  15. Dec 10, 2019
  16. Dec 06, 2019
    • Andrew Heather's avatar
      ENH: Added new scalarFixedValue boundary condition · 07ff2a28
      Andrew Heather authored
      This condition applies a scalar multiplier to the value of another
      boundary condition.
      
      Usage
          Property     | Description             | Required    | Default value
          scale        | Time varing scale       | yes         |
          patch        | patchField providing the raw patch value | yes |
      
      Example of the boundary condition specification to scale a reference
      velocity of (15 0 0)  supplied as a fixedValue by a table of values
      that ramps the scale from 0 to 1 over 1 second:
      
          <patchName>
          {
              type            scaledFixedValue;
      
              scale table
              (
                  (    0   0)
                  (  1.0 1.0)
                  (100.0 1.0)
              );
      
              patch
              {
                  type            fixedValue;
                  value           uniform (15 0 0);
              }
          }
      07ff2a28
  17. Sep 24, 2019
  18. Sep 30, 2019
  19. Aug 22, 2019
  20. Jun 07, 2019
    • Sergio Ferraris's avatar
      INT: Org integration of VOF, Euler phase solvers and models. · 8170f2ad
      Sergio Ferraris authored
      Integration of VOF MULES new interfaces. Update of VOF solvers and all instances
      of MULES in the code.
      Integration of reactingTwoPhaseEuler and reactingMultiphaseEuler solvers and sub-models
      Updating reactingEuler tutorials accordingly (most of them tested)
      
      New eRefConst thermo used in tutorials. Some modifications at thermo specie level
      affecting mostly eThermo. hThermo mostly unaffected
      
      New chtMultiRegionTwoPhaseEulerFoam solver for quenching and tutorial.
      
      Phases sub-models for reactingTwoPhaseEuler and reactingMultiphaseEuler were moved
      to src/phaseSystemModels/reactingEulerFoam in order to be used by BC for
      chtMultiRegionTwoPhaseEulerFoam.
      
      Update of interCondensatingEvaporatingFoam solver.
      8170f2ad
  21. May 01, 2019
  22. Feb 18, 2019
    • Kutalmış Berçin's avatar
      ENH: Digital-Filter Based Synthetic Turbulence Generation Method for LES/DES Inflows · 33ef139a
      Kutalmış Berçin authored
          Velocity boundary condition generating synthetic turbulence-alike
          time-series for LES and DES turbulent flow computations.
      
          To this end, two synthetic turbulence generators can be chosen:
          - Digital-filter method-based generator (DFM)
      
          \verbatim
          Klein, M., Sadiki, A., and Janicka, J.
              A digital filter based generation of inflow data for spatially
              developing direct numerical or large eddy simulations,
              Journal of Computational Physics (2003) 186(2):652-665.
              doi:10.1016/S0021-9991(03)00090-1
          \endverbatim
      
          - Forward-stepwise method-based generator (FSM)
      
          \verbatim
          Xie, Z.-T., and Castro, I.
              Efficient generation of inflow conditions for large eddy simulation of
              street-scale flows, Flow, Turbulence and Combustion (2008) 81(3):449-470
              doi:10.1007/s10494-008-9151-5
          \endverbatim
      
          In DFM or FSM, a random number set (mostly white noise), and a group
          of target statistics (mostly mean flow, Reynolds stress tensor profiles and
          length-scale sets) are fused into a new number set (stochastic time-series,
          yet consisting of the statistics) by a chain of mathematical operations
          whose characteristics are designated by the target statistics, so that the
          realised statistics of the new sets could match the target.
      
          Random number sets ---->-|
                                   |
                               DFM or FSM ---> New stochastic time-series consisting
                                   |           turbulence statistics
          Turbulence statistics ->-|
      
          The main difference between DFM and FSM is that the latter replaces the
          streamwise convolution summation in DFM by a simpler and a quantitatively
          justified equivalent procedure in order to reduce computational costs.
          Accordingly, the latter potentially brings resource advantages for
          computations involving relatively large length-scale sets and small
          time-steps.
      33ef139a
  23. Jan 22, 2019
  24. Nov 14, 2018
  25. Oct 31, 2018
  26. Dec 21, 2017
    • Andrew Heather's avatar
      ENH: New deferred correction scheme · 929ed3ca
      Andrew Heather authored
      The characteristics of the base scheme are recovered by applying an
      explicit correction to the upwind scheme weights.
      
      Usage
          Example of the \c deferredCorrection scheme applied to the \c linear
          scheme:
          \verbatim
          divSchemes
          {
              .
              .
              div(phi,U)      Gauss deferredCorrection linear;
              .
              .
          }
          \endverbatim
      
      Based on a generalised form of a deferred correction linear scheme
      supplied by CFD Software E+F GmbH
      929ed3ca
  27. Feb 23, 2018
  28. Dec 05, 2017
  29. Nov 07, 2017
  30. Jun 14, 2018
  31. Jun 11, 2018
  32. Jun 05, 2018
  33. Jan 11, 2018
  34. 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
  35. Feb 23, 2018
  36. Jul 17, 2017
  37. Jun 20, 2017
    • Andrew Heather's avatar
      INT: Integration of isoAdvector and supporting material · a6ef8b90
      Andrew Heather authored
      Community contribution from Johan Roenby, DHI
      
      IsoAdvector is a geometric Volume-of-Fluid method for advection of a
      sharp interface between two incompressible fluids. It works on both
      structured and unstructured meshes with no requirements on cell shapes.
      IsoAdvector is as an alternative choice for the interface compression
      treatment with the MULES limiter implemented in the interFoam family
      of solvers.
      
      The isoAdvector concept and code was developed at DHI and was funded
      by a Sapere Aude postdoc grant to Johan Roenby from The Danish Council
      for Independent Research | Technology and Production Sciences (Grant-ID:
      DFF - 1337-00118B - FTP).
      Co-funding is also provided by the GTS grant to DHI from the Danish
      Agency for Science, Technology and Innovation.
      
      The ideas behind and performance of the isoAdvector scheme is
      documented in:
      
          Roenby J, Bredmose H, Jasak H. 2016 A computational method for sharp
          interface  advection. R. Soc. open sci. 3: 160405.
          [http://dx.doi.org/10.1098/rsos.160405](http://dx.doi.org/10.1098/rsos.160405)
      
      Videos showing isoAdvector's performance with a number of standard
      test cases can be found in this youtube channel:
      
          https://www.youtube.com/channel/UCt6Idpv4C8TTgz1iUX0prAA
      
      Project contributors:
      
      * Johan Roenby <jro@dhigroup.com> (Inventor and main developer)
      * Hrvoje Jasak <hrvoje.jasak@fsb.hr> (Consistent treatment of
        boundary faces including processor boundaries, parallelisation,
        code clean up
      * Henrik Bredmose <hbre@dtu.dk> (Assisted in the conceptual
        development)
      * Vuko Vukcevic <vuko.vukcevic@fsb.hr> (Code review, profiling,
        porting to foam-extend, bug fixing, testing)
      * Tomislav Maric <tomislav@sourceflux.de> (Source file
        rearrangement)
      * Andy Heather <a.heather@opencfd.co.uk> (Integration into OpenFOAM
        for v1706 release)
      
      See the integration repository below to see the full set of changes
      implemented for release into OpenFOAM v1706
      
          https://develop.openfoam.com/Community/Integration-isoAdvector
      a6ef8b90