1. 19 Feb, 2016 2 commits
  2. 18 Feb, 2016 1 commit
  3. 15 Feb, 2016 3 commits
  4. 14 Feb, 2016 2 commits
  5. 13 Feb, 2016 1 commit
    • Henry Weller's avatar
      Solvers: Added support for extrapolated pressure boundary conditions · fc2ce737
      Henry Weller authored
      The boundary conditions of HbyA are now constrained by the new "constrainHbyA"
      function which applies the velocity boundary values for patches for which the
      velocity cannot be modified by assignment and pressure extrapolation is
      not specified via the new
      "fixedFluxExtrapolatedPressureFvPatchScalarField".
      
      The new function "constrainPressure" sets the pressure gradient
      appropriately for "fixedFluxPressureFvPatchScalarField" and
      "fixedFluxExtrapolatedPressureFvPatchScalarField" boundary conditions to
      ensure the evaluated flux corresponds to the known velocity values at
      the boundary.
      
      The "fixedFluxPressureFvPatchScalarField" boundary condition operates
      exactly as before, ensuring the correct flux at fixed-flux boundaries by
      compensating for the body forces (gravity in particular) with the
      pressure gradient.
      
      The new "fixedFluxExtrapolatedPressureFvPatchScalarField" boundary
      condition may be used for cases with or without body-forces to set the
      pressure gradient to compensate not only for the body-force but also the
      extrapolated "HbyA" which provides a second-order boundary condition for
      pressure.  This is useful for a range a problems including impinging
      flow, extrapolated inlet conditions with body-forces or for highly
      viscous flows, pressure-induced separation etc.  To test this boundary
      condition at walls in the motorBike tutorial case set
      
          lowerWall
          {
              type            fixedFluxExtrapolatedPressure;
          }
      
          motorBikeGroup
          {
              type            fixedFluxExtrapolatedPressure;
          }
      
      Currently the new extrapolated pressure boundary condition is supported
      for all incompressible and sub-sonic compressible solvers except those
      providing implicit and tensorial porosity support.  The approach will be
      extended to cover these solvers and options in the future.
      
      Note: the extrapolated pressure boundary condition is experimental and
      requires further testing to assess the range of applicability,
      stability, accuracy etc.
      
      Henry G. Weller
      CFD Direct Ltd.
      fc2ce737
  6. 12 Feb, 2016 2 commits
  7. 09 Feb, 2016 4 commits
  8. 08 Feb, 2016 1 commit
  9. 02 Feb, 2016 1 commit
  10. 30 Jan, 2016 1 commit
    • Henry Weller's avatar
      fieldAverage: Added periodicRestart option and rationalized naming of restart options · 451cc4e6
      Henry Weller authored
          When restarting form a previous calculation, the averaging is continuous or
          may be restarted using the \c restartOnRestart option.
      
          The averaging process may be restarted after each calculation output time
          using the \c restartOnOutput option or restarted periodically using the \c
          periodicRestart option and setting \c restartPeriod to the required
          averaging period.
      
          Example of function object specification:
          \verbatim
          fieldAverage1
          {
              type fieldAverage;
              functionObjectLibs ("libfieldFunctionObjects.so");
              ...
              restartOnRestart  false;
              restartOnOutput   false;
              periodicRestart false;
              restartPeriod   0.002;
              fields
              (
                  U
                  {
                      mean            on;
                      prime2Mean      on;
                      base            time;
                      window          10.0;
                      windowName      w1;
                  }
                  p
                  {
                      mean            on;
                      prime2Mean      on;
                      base            time;
                  }
              );
          }
          \endverbatim
      
          \heading Function object usage
          \table
              Property        | Description           | Required    | Default value
              type            | type name: fieldAverage | yes |
              restartOnRestart  | Restart the averaging on restart | no | no
              restartOnOutput   | Restart the averaging on output | no | no
              periodicRestart | Periodically restart the averaging | no | no
              restartPeriod   | Periodic restart period | conditional |
              fields          | list of fields and averaging options | yes |
          \endtable
      451cc4e6
  11. 27 Jan, 2016 1 commit
  12. 10 Jan, 2016 1 commit
  13. 17 Dec, 2015 1 commit
  14. 14 Dec, 2015 1 commit
  15. 11 Dec, 2015 1 commit
  16. 27 Nov, 2015 1 commit
  17. 25 Nov, 2015 1 commit
  18. 23 Nov, 2015 1 commit
    • Henry Weller's avatar
      fvOptions: New buoyancyForce and buoyancyEnergy · 85c79d83
      Henry Weller authored
      Provides run-time selection of buoyancy sources for compressible solvers
      
      Replaces the built-in buoyancy sources in XiFoam, reactingFoam and
      rhoReactingFoam.
      
      e.g. in constant/fvOptions specify
      
      momentumSource
      {
          type            buoyancyForce;
      
          buoyancyForceCoeffs
          {
              fieldNames      (U);
          }
      }
      
      and optionally specify the buoyancy energy source in the enthalpy
      equation:
      
      energySource
      {
          type            buoyancyEnergy;
      
          buoyancyEnergyCoeffs
          {
              fieldNames      (h);
          }
      }
      
      or internal energy equation
      
      energySource
      {
          type            buoyancyEnergy;
      
          buoyancyEnergyCoeffs
          {
              fieldNames      (e);
          }
      }
      85c79d83
  19. 21 Nov, 2015 1 commit
  20. 20 Nov, 2015 1 commit
  21. 17 Nov, 2015 1 commit
  22. 15 Nov, 2015 1 commit
  23. 14 Nov, 2015 2 commits
  24. 13 Nov, 2015 6 commits
  25. 01 Nov, 2015 1 commit
  26. 27 Oct, 2015 1 commit