Skip to content
Snippets Groups Projects
  1. Feb 08, 2017
    • Henry Weller's avatar
    • Henry Weller's avatar
      porosityModels::solidification: Added optional phase-fraction for VoF solvers etc. · 160efd89
      Henry Weller authored
      Description
          Simple solidification porosity model
      
          This is a simple approximation to solidification where the solid phase
          is represented as a porous blockage with the drag-coefficient evaluated from
      
              \f[
                  S = - \alpha \rho D(T) U
              \f]
      
          where
          \vartable
              \alpha  | Optional phase-fraction of solidifying phase
              D(T)    | User-defined drag-coefficient as function of temperature
          \endvartable
      
          Note that the latent heat of solidification is not included and the
          temperature is unchanged by the modelled change of phase.
      
          Example of the solidification model specification:
          \verbatim
              type            solidification;
      
              solidificationCoeffs
              {
                  // Solidify between 330K and 330.5K
                  D table
                  (
                      (330.0     10000) // Solid below 330K
                      (330.5     0)     // Liquid above 330.5K
                  );
      
                  // Optional phase-fraction of solidifying phase
                  alpha alpha.liquid;
      
                  // Solidification porosity is isotropic
                  // use the global coordinate system
                  coordinateSystem
                  {
                      type    cartesian;
                      origin  (0 0 0);
                      coordinateRotation
                      {
                          type    axesRotation;
                          e1      (1 0 0);
                          e2      (0 1 0);
                      }
                  }
              }
          \endverbatim
      160efd89
  2. Feb 07, 2017
  3. Feb 06, 2017
  4. Feb 03, 2017
  5. Feb 02, 2017
  6. Jan 30, 2017
  7. Jan 28, 2017
  8. Jan 26, 2017
  9. Jan 25, 2017
  10. Jan 24, 2017
    • Henry Weller's avatar
      snappyHexMesh: Added "noRefinement" writeFlag to control the writing of... · 4e5dc434
      Henry Weller authored
      snappyHexMesh: Added "noRefinement" writeFlag to control the writing of cellLevel, pointLevel etc. files
      
      By default snappyHexMesh writes files relating to the hex-splitting process into
      the polyMesh directory: cellLevel level0Edge pointLevel surfaceIndex
      
      but by setting the noRefinement flag:
      
      writeFlags
      (
          noRefinement
          .
          .
          .
      );
      
      these optional files which are generally not needed are not written.
      
      If you run the three stages of snappyHexMesh separately or run a dynamic mesh
      solver supporting refinement and unrefinement these files are needed
      and "noRefinement" should not be set.
      4e5dc434
    • Henry Weller's avatar
      blockMesh: Delete the polyMesh directory before meshing · 9b319dab
      Henry Weller authored
      unless the blockMeshDict is in the polyMesh directory or the "-noClean" option
      is specified.
      
      This avoids problems running snappyHexMesh without first clearing files from
      polyMesh which interfere with the operation of snappyHexMesh.
      9b319dab
    • Henry Weller's avatar
      snappyHexMesh: Write correct refinement files once only · 192b5d91
      Henry Weller authored
      The files relating to the hex refinement are written out explicitly both by
      snappyHexMesh and dynamicRefineFvMesh and hence should be set "NO_WRITE" rather
      than "AUTO_WRITE" to avoid writing them twice.  This change corrects the
      handling of the "refinementHistory" file which should not be written by
      snappyHexMesh.
      192b5d91
  11. Jan 20, 2017
  12. Jan 19, 2017
  13. Jan 18, 2017
  14. Jan 17, 2017