1. 31 May, 2015 1 commit
    • Henry's avatar
      fvOptions: Separate options for all cells, cellSets and inter-region coupling · b8d15ba4
      Henry authored
      by introducing rational base-classes rather than using the hideous
      'switch' statement.  Further rationalization of the cell-selection
      mechanism will be implemented via an appropriate class hierarchy to
      replace the remaining 'switch' statement.
      
      Mesh-motion is currently handled very inefficiently for cellSets and not
      at all for inter-region coupling.  The former will be improved when the
      cell-selection classes are written and the latter by making the
      meshToMesh class a MeshObject after it has been corrected for mapFields.
      b8d15ba4
  2. 29 May, 2015 4 commits
    • Henry's avatar
      MRF: Separate MRF from fvOptions · 2b9a2adf
      Henry authored
      fvOptions does not have the appropriate structure to support MRF as it
      is based on option selection by user-specified fields whereas MRF MUST
      be applied to all velocity fields in the particular solver.  A
      consequence of the particular design choices in fvOptions made it
      difficult to support MRF for multiphase and it is easier to support
      frame-related and field related options separately.
      
      Currently the MRF functionality provided supports only rotations but
      the structure will be generalized to support other frame motions
      including linear acceleration, SRF rotation and 6DoF which will be
      run-time selectable.
      2b9a2adf
    • Henry's avatar
    • Henry's avatar
    • Henry's avatar
      simpleFoam/SRFSimpleFoam: Added support for SIMPLEC · 1b6f46fa
      Henry authored
      SIMPLEC (SIMPLE-consistent) is selected by setting "consistent" option true/yes:
      
      SIMPLE
      {
          nNonOrthogonalCorrectors 0;
          consistent yes;
      }
      
      which relaxes the pressure in a "consistent" manner and additional
      relaxation of the pressure is not generally necessary.  In addition
      convergence of the p-U system is better and reliable with less
      aggressive relaxation of the momentum equation, e.g. for the motorbike
      tutorial:
      
      relaxationFactors
      {
          equations
          {
              U               0.9;
              k               0.7;
              omega           0.7;
          }
      }
      
      The cost per iteration is marginally higher but the convergence rate is
      better so the number of iterations can be reduced.
      
      The SIMPLEC algorithm also provides benefit for cases with large
      body-forces, e.g. SRF, see tutorials/incompressible/SRFSimpleFoam/mixer
      and feature request http://www.openfoam.org/mantisbt/view.php?id=1714
      1b6f46fa
  3. 28 May, 2015 6 commits
  4. 26 May, 2015 3 commits
  5. 25 May, 2015 3 commits
  6. 24 May, 2015 1 commit
  7. 22 May, 2015 1 commit
  8. 21 May, 2015 1 commit
  9. 20 May, 2015 3 commits
  10. 19 May, 2015 6 commits
  11. 18 May, 2015 11 commits