Skip to content
Snippets Groups Projects
  1. Dec 17, 2020
  2. Dec 16, 2020
    • Mark OLESEN's avatar
    • Kutalmış Berçin's avatar
      ENH: outletMappedUniformInlet: add optional fraction and offset entries · 5af52221
      Kutalmış Berçin authored and Andrew Heather's avatar Andrew Heather committed
      The new functionality optionally allows the patch-averaged
      value to be scaled and/or offset by a pair of specified values.
      
      Example of the boundary condition specification:
      
      ```
      <patchName>
      {
          // Mandatory entries (unmodifiable)
          type            outletMappedFilterInlet;
          outletPatch     <outletPatchName>;
      
          // Optional entries (unmodifiable)
          fraction        0.1;
          offset          10;    // (1 0 0);
          phi             phi;
      
          // Optional (inherited) entries
          ...
      }
      ```
      5af52221
    • Sergio Ferraris's avatar
      ENH: adding non-uniform rho to incompressible two-phase turbulent models · 3db12bbd
      Sergio Ferraris authored and Andrew Heather's avatar Andrew Heather committed
      1) PhaseIncompressibleTurbulenceModel class was changed to use
         uniform alpha and non-uniform rho templates. This fits the need
         of incompressible two phase turbulence models.
      
      2) A new type DPMIncompressibleTurbulenceModel was created for
         non-uniform alpha and uniform rho. It is  used in single phase flows
         in DPM solvers where alpha represents the volumen occupancy.
      
      3) A new type incompressibleRhoTurbulenceModel  was created where
         non-uniform rho is allowed.
      
      4) A new base templated turbulent class for two-phase VOF named
         VoFphaseTurbulentTransportModel was implemented which is created
         templating on PhaseIncompressibleTurbulenceModel and
         incompressibleRhoTurbulenceModel
      
      5) In order to make the chnage to rho based VOF turbulence a help
         class was added incompressibleInterPhaseTransportModel templated
         on the mixing.
      3db12bbd
    • mattijs's avatar
      BUG: redistributePar: failing reconstruct. See #1953. · dbaed65d
      mattijs authored
      In reconstruct mode redistributePar will have
      - master read undecomposed mesh
      - slaves construct dummy mesh (0 faces/points etc.)
        but correct patches and zones
      so all processors have two valid meshes. This was
      all handled inside fvMeshTools::newMesh and this
      was behaving differently.
      dbaed65d
    • Kutalmış Berçin's avatar
      BUG: volFieldValue FO: parallel/empty output (#1853 #1849) · 0d21f248
      Kutalmış Berçin authored and Andrew Heather's avatar Andrew Heather committed
      TUT: volFieldValue FO: adds usage example
      TUT: multiply FO: adds usage example
      0d21f248
    • Andrew Heather's avatar
      ENH: Added new LimitRange Function1 wrapper · a4dc2cc9
      Andrew Heather authored and Mattijs Janssens's avatar Mattijs Janssens committed
      Function1 wrapper that limits the input range of another Function1
      
      Example usage for limiting a polynomial:
      
          limitedPolyTest        limitRange;
          limitedPolyTestCoeffs
          {
              min         0.4;
              max         1.4;
      
              value       polynomial
              (
                  (5 1)
                  (-2 2)
                  (-2 3)
                  (1 4)
              );
          }
      
      Here the return value will be:
      - poly(0.4) for x <= 0.4;
      - poly(1.4) for x >= 1.4; and
      - poly(x) for 0.4 < x < 1.4.
      a4dc2cc9
    • Andrew Heather's avatar
      ENH: polynomial - added clone() · 9f5b8d0e
      Andrew Heather authored and Mattijs Janssens's avatar Mattijs Janssens committed
      9f5b8d0e
    • Andrew Heather's avatar
    • Mark OLESEN's avatar
      ENH: lazier handling of dynamic libraries · 2811c054
      Mark OLESEN authored
      - previously always called dlclose on opened libraries when destroying
        the dlLibraryTable. However, by force closing the libraries the
        situation can arise that the library is missing its own code that it
        needs on unload (#1524). This is also sometimes evident when closing
        VTK libraries for runTimePostProcessing (#354, #1585).
      
      - The new default is to not forcibly dlclose any libraries, unless
        the dlcloseOnTerminate OptimisationSwitch specifies otherwise.
      
        - The dlLibraryTable::close() method can be used to explicitly close
          all libraries and clear the list.
      
        - The dlLibraryTable::clear() method now only clears the entries,
          without a dlclose.
      2811c054
  3. Dec 15, 2020
  4. Dec 14, 2020
  5. Dec 11, 2020