Skip to content
Snippets Groups Projects
  1. May 14, 2015
  2. May 10, 2015
  3. May 09, 2015
  4. May 08, 2015
  5. May 05, 2015
    • Henry's avatar
      Update header · 3ebeea2b
      Henry authored
      3ebeea2b
    • Henry's avatar
      Correct comment · cdb4de7e
      Henry authored
      cdb4de7e
    • Henry's avatar
      fieldMinMax: add optional switch to control the output of max/min location · 9b382a36
      Henry authored
      and simplify output format for graphing
      
      With "location yes;"
      
      log:
          fieldMinMax fieldMinMax output:
              min/max(mag(U.air)) = 0 28.309442
              min/max(mag(U.water)) = 0 27.221734
      
      file:
          # Field minima and maxima
          # Time          min(U.air)      max(U.air)      min(U.water)    max(U.water)
          4.00061050e-01  0.00000000e+00  2.87015987e+01  0.00000000e+00  2.71025731e+01
          4.00134265e-01  0.00000000e+00  2.86505310e+01  0.00000000e+00  2.71134246e+01
          4.00222098e-01  0.00000000e+00  2.85937449e+01  0.00000000e+00  2.71255302e+01
      
      With "location no;"
      
      log:
          fieldMinMax fieldMinMax output:
              min(mag(U.air)) = 0 at location (-0.058373423 -0.15376628 0.021017389)
              max(mag(U.air)) = 28.701599 at location (-0.24002836 0.0053456235 3.8964638)
              min(mag(U.water)) = 0 at location (-0.058373423 -0.15376628 0.021017389)
              max(mag(U.water)) = 27.102573 at location (-0.24002836 0.0053456235 3.8964638)
      
      file:
          # Field minima and maxima
          # Time          field           min             location(min)   max             location(max)
          4.00061050e-01  U.air           0.00000000e+00  (-5.83734226e-02 -1.53766281e-01 2.10173892e-02)        2.87015987e+01  (-2.40028359e-01 5.34562354e-03 3.89646377e+00)
          4.00061050e-01  U.water         0.00000000e+00  (-5.83734226e-02 -1.53766281e-01 2.10173892e-02)        2.71025731e+01  (-2.40028359e-01 5.34562354e-03 3.89646377e+00)
      9b382a36
    • Henry's avatar
      probes: Improved formatting of header to make it easier to parse and read probe locations · 52f22486
      Henry authored
      New layout:
      
          # Probe 0 (0.0254 0.0253 0)
          # Probe 1 (0.0508 0.0253 0)
          # Probe 2 (0.0762 0.0253 0)
          #       Probe             0             1             2
          #        Time
                  1e-05        142974        128861        115934
                  2e-05      -69444.1        -62541      -56395.7
                  3e-05      -1546.81      -1445.94      -1154.79
      52f22486
  6. May 04, 2015
  7. May 03, 2015
  8. May 02, 2015
  9. Apr 30, 2015
  10. Apr 29, 2015
  11. Apr 28, 2015
  12. Apr 27, 2015
    • Henry's avatar
      twoPhaseEulerFoam: Added experimental face-based momentum equation formulation · fc6b44ee
      Henry authored
      This formulation provides C-grid like pressure-flux staggering on an
      unstructured mesh which is hugely beneficial for Euler-Euler multiphase
      equations as it allows for all forces to be treated in a consistent
      manner on the cell-faces which provides better balance, stability and
      accuracy.  However, to achieve face-force consistency the momentum
      transport terms must be interpolated to the faces reducing accuracy of
      this part of the system but this is offset by the increase in accuracy
      of the force-balance.
      
      Currently it is not clear if this face-based momentum equation
      formulation is preferable for all Euler-Euler simulations so I have
      included it on a switch to allow evaluation and comparison with the
      previous cell-based formulation.  To try the new algorithm simply switch
      it on, e.g.:
      
      PIMPLE
      {
          nOuterCorrectors 3;
          nCorrectors      1;
          nNonOrthogonalCorrectors 0;
          faceMomentum     yes;
      }
      
      It is proving particularly good for bubbly flows, eliminating the
      staggering patterns often seen in the air velocity field with the
      previous algorithm, removing other spurious numerical artifacts in the
      velocity fields and improving stability and allowing larger time-steps
      For particle-gas flows the advantage is noticeable but not nearly as
      pronounced as in the bubbly flow cases.
      
      Please test the new algorithm on your cases and provide feedback.
      
      Henry G. Weller
      CFD Direct
      fc6b44ee