Skip to content
Snippets Groups Projects
  1. Dec 06, 2016
  2. Dec 05, 2016
  3. Dec 04, 2016
  4. Dec 03, 2016
  5. Dec 01, 2016
  6. Nov 25, 2016
    • Henry Weller's avatar
      foamDictionary: Added support for manipulating lists of dictionaries · a7256d6f
      Henry Weller authored
        - provides support for manipulating polyMesh/boundary
      
        - changed behaviour of disableFunctionEntries option to preserve
          #include
      
        - dictionary: added reading of lists of dictionaries.
          + each list element may be accessed using the 'entryDDD' keyword
            according to their list index.
      
      Patch contributed by Mattijs Janssens
      a7256d6f
    • Henry Weller's avatar
      topoSet: cellZoneSet, pointZoneSet extensions · ce83f50f
      Henry Weller authored
      cellZones and pointZones can now be created in one action without the
      need to first create a cellSet or pointSet and converting that to the
      corresponding zone, e.g.
      
      actions
      (
          // Example: create cellZone from a box region
          {
              name    c0;
              type    cellZoneSet;
              action  new;
              source  boxToCell;
              sourceInfo
              {
                  box   (0.04 0 0)(0.06 100 100);
              }
          }
      );
      ce83f50f
  7. Nov 13, 2016
  8. Nov 11, 2016
  9. Nov 09, 2016
    • Henry Weller's avatar
      reactingEulerFoam, twoPhaseEulerFoam: Reinstated interfacial pressure-work · 0b2e584f
      Henry Weller authored
      Added the interfacial pressure-work terms according to:
      
      Ishii, M., Hibiki, T.,
      Thermo-fluid dynamics of two-phase flow,
      ISBN-10: 0-387-28321-8, 2006
      
      While this is the most common approach to handling the interfacial
      pressure-work it introduces numerical stability issues in regions of low
      phase-fraction and rapid flow deformation.  To alleviate this problem an
      optional limiter may be applied to the pressure-work term in either of
      the energy forms.  This may specified in the
      "thermophysicalProperties.<phase>" file, e.g.
      
      pressureWorkAlphaLimit 1e-3;
      
      which sets the pressure work term to 0 for phase-fractions below 1e-3.
      
      For particularly unstable cases a limit of 1e-2 may be necessary.
      0b2e584f
    • Henry Weller's avatar
      Revert "twoPhaseEulerFoam::EEqns: Updated pressure-work" · 772766a8
      Henry Weller authored
      This reverts commit 41643ef2.
      772766a8
  10. Nov 07, 2016
  11. Nov 05, 2016
  12. Nov 04, 2016
    • Henry Weller's avatar
      PVblockMeshReader: Added "Refresh" button to update the blockMesh · d175b347
      Henry Weller authored
      Reconstructs the blockMesh and updates the display from the current
      blockMeshDict so that any changes can viewed without exiting
      paraFoam -block
      d175b347
    • Henry Weller's avatar
      paraFoam -block: Added support for vertex and block names · 2dc141d5
      Henry Weller authored
      Patch contributed by Mattijs Janssens
      2dc141d5
    • Henry Weller's avatar
      reactingEulerFoam: Corrected and rationalized pressure-work · 527e1c87
      Henry Weller authored
      In many publications and Euler-Euler codes the pressure-work term in the
      total enthalpy is stated and implemented as -alpha*dp/dt rather than the
      conservative form derived from the total internal energy equation
      -d(alpha*p)/dt.  In order for the enthalpy and internal energy equations
      to be consistent this error/simplification propagates to the total
      internal energy equation as a spurious additional term p*d(alpha)/dt
      which is included in the OpenFOAM Euler-Euler solvers and causes
      stability and conservation issues.
      
      I have now re-derived the energy equations for multiphase flow from
      first-principles and implemented in the reactingEulerFoam solvers the
      correct conservative form of pressure-work in both the internal energy
      and enthalpy equations.
      
      Additionally an optional limiter may be applied to the pressure-work
      term in either of the energy forms to avoid spurious fluctuations in the
      phase temperature in regions where the phase-fraction -> 0.  This may
      specified in the "thermophysicalProperties.<phase>" file, e.g.
      
      pressureWorkAlphaLimit 1e-3;
      
      which sets the pressure work term to 0 for phase-fractions below 1e-3.
      527e1c87
  13. Oct 31, 2016
  14. Oct 28, 2016
  15. Oct 25, 2016
  16. Oct 18, 2016
    • Henry Weller's avatar
      foamDictionary: Added '-diff <dict>' option · bf8e1ba0
      Henry Weller authored
        - Write differences with respect to the specified dictionary
          (or sub entry if -entry specified)
      
        - Write the differences with respect to a template dictionary:
            foamDictionary 0/U -diff $FOAM_ETC/templates/closedVolume/0/U
      
        - Write the differences in boundaryField with respect to a
          template dictionary:
            foamDictionary 0/U -diff $FOAM_ETC/templates/closedVolume/0/U \
              -entry boundaryField
      
      Patch contributed by Mattijs Janssens
      bf8e1ba0
  17. Oct 13, 2016
    • Henry Weller's avatar
      blockMesh: New experimental support for projecting block face point to geometric surfaces · f5be4b05
      Henry Weller authored
      For example, to mesh a sphere with a single block the geometry is defined in the
      blockMeshDict as a searchableSurface:
      
          geometry
          {
              sphere
              {
                  type searchableSphere;
                  centre (0 0 0);
                  radius 1;
              }
          }
      
      The vertices, block topology and curved edges are defined in the usual
      way, for example
      
          v 0.5773502;
          mv -0.5773502;
      
          a 0.7071067;
          ma -0.7071067;
      
          vertices
          (
              ($mv $mv $mv)
              ( $v $mv $mv)
              ( $v  $v $mv)
              ($mv  $v $mv)
              ($mv $mv  $v)
              ( $v $mv  $v)
              ( $v  $v  $v)
              ($mv  $v  $v)
          );
      
          blocks
          (
              hex (0 1 2 3 4 5 6 7) (10 10 10) simpleGrading (1 1 1)
          );
      
          edges
          (
              arc 0 1 (0 $ma $ma)
              arc 2 3 (0 $a $ma)
              arc 6 7 (0 $a $a)
              arc 4 5 (0 $ma $a)
      
              arc 0 3 ($ma 0 $ma)
              arc 1 2 ($a 0 $ma)
              arc 5 6 ($a 0 $a)
              arc 4 7 ($ma 0 $a)
      
              arc 0 4 ($ma $ma 0)
              arc 1 5 ($a $ma 0)
              arc 2 6 ($a $a 0)
              arc 3 7 ($ma $a 0)
          );
      
      which will produce a mesh in which the block edges conform to the sphere
      but the faces of the block lie somewhere between the original cube and
      the spherical surface which is a consequence of the edge-based
      transfinite interpolation.
      
      Now the projection of the block faces to the geometry specified above
      can also be specified:
      
          faces
          (
              project (0 4 7 3) sphere
              project (2 6 5 1) sphere
              project (1 5 4 0) sphere
              project (3 7 6 2) sphere
              project (0 3 2 1) sphere
              project (4 5 6 7) sphere
          );
      
      which produces a mesh that actually conforms to the sphere.
      
      See OpenFOAM-dev/tutorials/mesh/blockMesh/sphere
      
      This functionality is experimental and will undergo further development
      and generalization in the future to support more complex surfaces,
      feature edge specification and extraction etc.  Please get involved if
      you would like to see blockMesh become a more flexible block-structured
      mesher.
      
      Henry G. Weller, CFD Direct.
      f5be4b05
  18. Oct 12, 2016
  19. Oct 09, 2016
  20. Oct 08, 2016
  21. Oct 07, 2016
  22. Oct 06, 2016
    • Henry Weller's avatar
      reactingTwoPhaseEulerFoam::IATE: Added wallBoiling sub-model · 164540eb
      Henry Weller authored
      to handle the size of bubbles created by boiling.  To be used in
      conjunction with the alphatWallBoilingWallFunction boundary condition.
      
      The IATE variant of the wallBoiling tutorial case is provided to
      demonstrate the functionality:
      
      tutorials/multiphase/reactingTwoPhaseEulerFoam/RAS/wallBoilingIATE
      164540eb
  23. Oct 05, 2016
  24. Oct 04, 2016
  25. Sep 30, 2016
  26. Sep 25, 2016
    • Henry Weller's avatar
      blockMesh: Added printing of the block description to the '-help' output · cdde2d63
      Henry Weller authored
      blockMesh -help
      
      Usage: blockMesh [OPTIONS]
      options:
        -blockTopology    write block edges and centres as .obj files
        -case <dir>       specify alternate case directory, default is the cwd
        -dict <file>      specify alternative dictionary for the blockMesh description
        -noFunctionObjects
                          do not execute functionObjects
        -region <name>    specify alternative mesh region
        -srcDoc           display source code in browser
        -doc              display application documentation in browser
        -help             print the usage
      
      Block description
      
        For a given block, the correspondence between the ordering of
        vertex labels and face labels is shown below.
        For vertex numbering in the sequence 0 to 7 (block, centre):
          faces 0 (f0) and 1 are left and right, respectively;
          faces 2 and 3 are bottom and top;
          and faces 4 and 5 are front the back:
      
                 4 ---- 5
            f3   |\     |\   f5
            |    | 7 ---- 6   \
            |    0 |--- 1 |    \
            |     \|     \|    f4
            f2     3 ---- 2
      
                  f0 ----- f1
      
      Using: OpenFOAM-dev (see www.OpenFOAM.org)
      Build: dev-9d3f407f
      cdde2d63