Skip to content
Snippets Groups Projects
  1. Feb 09, 2016
    • Henry Weller's avatar
      oscillatingFixedValue BC replaced by uniformFixedValue with the new Function1Types::Sine · 49f1c7e2
      Henry Weller authored
      For example the sinusoidal motion of the floating object in the
      potentialFreeSurfaceFoam/oscillatingBox tutorial is now specified thus
      
          floatingObject
          {
              type            fixedNormalInletOutletVelocity;
      
              fixTangentialInflow false;
      
              normalVelocity
              {
                  type            uniformFixedValue;
                  uniformValue    sine;
                  uniformValueCoeffs
                  {
                      frequency 1;
                      amplitude table
                      (
                          (   0     0)
                          (  10 0.025)
                          (1000 0.025)
                      );
                      scale     (0 1 0);
                      level     (0 0 0);
                  }
              }
      
              value           uniform (0 0 0);
          }
      
      rather than using
      
          floatingObject
          {
              type            fixedNormalInletOutletVelocity;
      
              fixTangentialInflow false;
      
              normalVelocity
              {
                  type            oscillatingFixedValue;
                  refValue        uniform (0 1 0);
                  offset          (0 -1 0);
                  amplitude       table
                  (
                      (   0     0)
                      (  10 0.025)
                      (1000 0.025)
                  );
                  frequency       constant 1;
              }
      
              value           uniform (0 0 0);
          }
      49f1c7e2
  2. Feb 08, 2016
  3. Feb 07, 2016
  4. Feb 06, 2016
  5. Feb 04, 2016
  6. Feb 03, 2016
  7. Feb 02, 2016
  8. Feb 01, 2016
  9. Jan 30, 2016
    • Henry Weller's avatar
      43dbe9ec
    • 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
  10. Jan 29, 2016
  11. Jan 28, 2016
  12. Jan 27, 2016
  13. Jan 24, 2016
    • Henry Weller's avatar
      wmake: Update comments · cd265693
      Henry Weller authored
      cd265693
    • Henry Weller's avatar
      wmake: Add support for compiler type default rules · c3a03105
      Henry Weller authored
      which may be optionally overridden by version-specific rules.
      
      For example the default rules for gcc on GNU/Linux x86_64 are in the
      wmake/rules/linux64Gcc directory.  If there is a need to change any of
      the rules for a specific version of gcc, e.g. gcc-4.8.4 the directory
      wmake/rules/linux64Gcc48 may be created into which any of the language
      files may be provided containing the rules to override the defaults.
      c3a03105
  14. Jan 23, 2016