Skip to content
Snippets Groups Projects
  1. May 13, 2016
  2. May 12, 2016
    • Henry Weller's avatar
      Standardized the naming of functions which control the writing of fields etc. · 758dfc2c
      Henry Weller authored
      to have the prefix 'write' rather than 'output'
      
      So outputTime() -> writeTime()
      
      but 'outputTime()' is still supported for backward-compatibility.
      
      Also removed the redundant secondary-writing functionality from Time
      which has been superseded by the 'writeRegisteredObject' functionObject.
      758dfc2c
    • Henry Weller's avatar
      functionObjects: Changed options 'outputControl' -> 'writeControl' and... · 71290b4d
      Henry Weller authored
      functionObjects: Changed options 'outputControl' -> 'writeControl' and 'outputInterval' -> 'writeInterval'
      
      for consistency with the time controls in controlDict and to avoid
      unnecessary confusion.  All code and tutorials have been updated.
      
      The old names 'outputControl' and 'outputInterval' are but supported for
      backward compatibility but deprecated.
      71290b4d
  3. May 11, 2016
  4. May 10, 2016
    • Henry Weller's avatar
    • Henry Weller's avatar
      writeVTK: New functionObject to write fields is VTK format · ad3c8f6d
      Henry Weller authored
      Description
          This functionObject writes objects registered to the database in VTK format
          using the foamToVTK library.
      
          Currently only the writing of the cell-values of volFields is supported but
          support for other field types, patch fields, Lagrangian data etc. will be
          added.
      
          Example of function object specification:
          \verbatim
              writeVTK1
              {
                  type        writeVTK;
                  functionObjectLibs ("libIOFunctionObjects.so");
                  ...
                  objectNames (obj1 obj2);
              }
          \endverbatim
      
          \heading Function object usage
          \table
              Property     | Description             | Required    | Default value
              type         | type name: writeVTK     | yes         |
              objectNames  | objects to write        | yes         |
          \endtable
      ad3c8f6d
  5. May 09, 2016
  6. May 08, 2016
    • Henry Weller's avatar
      4c4f68c2
    • Henry Weller's avatar
      applications/solvers/multiphase: Added -postProcess option · 4cadaeb3
      Henry Weller authored
      See also commit 30e2f912
      4cadaeb3
    • Henry Weller's avatar
    • Henry Weller's avatar
      interFoam: Added -postProcess option · 51281bdf
      Henry Weller authored
      See also commit 30e2f912
      Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1301
      51281bdf
    • Henry Weller's avatar
      simpleFoam: Added experimental "-postProcess" option · 30e2f912
      Henry Weller authored
          Executes application functionObjects to post-process existing results.
      
          If the "dict" argument is specified the functionObjectList is constructed
          from that dictionary otherwise the functionObjectList is constructed from
          the "functions" sub-dictionary of "system/controlDict"
      
          Multiple time-steps may be processed and the standard utility time
          controls are provided.
      
      This functionality is equivalent to execFlowFunctionObjects but in a
      more efficient and general manner and will be included in all the
      OpenFOAM solvers if it proves effective and maintainable.
      
      The command-line options available with the "-postProcess" option may be
      obtained by
      
      simpleFoam -help -postProcess
      
      Usage: simpleFoam [OPTIONS]
      options:
        -case <dir>       specify alternate case directory, default is the cwd
        -constant         include the 'constant/' dir in the times list
        -dict <file>      read control dictionary from specified location
        -latestTime       select the latest time
        -newTimes         select the new times
        -noFunctionObjects
                          do not execute functionObjects
        -noZero           exclude the '0/' dir from the times list, has precedence
                          over the -withZero option
        -parallel         run in parallel
        -postProcess      Execute functionObjects only
        -region <name>    specify alternative mesh region
        -roots <(dir1 .. dirN)>
                          slave root directories for distributed running
        -time <ranges>    comma-separated time ranges - eg, ':10,20,40:70,1000:'
        -srcDoc           display source code in browser
        -doc              display application documentation in browser
        -help             print the usage
      
      Henry G. Weller
      CFD Direct Ltd.
      30e2f912
  7. May 06, 2016
  8. May 04, 2016
  9. May 03, 2016
  10. May 02, 2016
  11. May 01, 2016
  12. Apr 30, 2016
    • Henry Weller's avatar
      Updated headers · 4da46e7c
      Henry Weller authored
      4da46e7c
    • Henry Weller's avatar
      GeometricField: Renamed internalField() -> primitiveField() and... · fe43b805
      Henry Weller authored
      GeometricField: Renamed internalField() -> primitiveField() and dimensionedInternalField() -> internalField()
      
      These new names are more consistent and logical because:
      
      primitiveField():
      primitiveFieldRef():
          Provides low-level access to the Field<Type> (primitive field)
          without dimension or mesh-consistency checking.  This should only be
          used in the low-level functions where dimensional consistency is
          ensured by careful programming and computational efficiency is
          paramount.
      
      internalField():
      internalFieldRef():
          Provides access to the DimensionedField<Type, GeoMesh> of values on
          the internal mesh-type for which the GeometricField is defined and
          supports dimension and checking and mesh-consistency checking.
      fe43b805
    • Henry Weller's avatar
      GeometricField::dimensionedInteralFieldRef() -> GeometricField::ref() · 68fb9a2b
      Henry Weller authored
      In order to simplify expressions involving dimensioned internal field it
      is preferable to use a simpler access convention.  Given that
      GeometricField is derived from DimensionedField it is simply a matter of
      de-referencing this underlying type unlike the boundary field which is
      peripheral information.  For consistency with the new convention in
      "tmp"  "dimensionedInteralFieldRef()" has been renamed "ref()".
      68fb9a2b
    • Henry Weller's avatar
      GeometricField::internalField() -> GeometricField::internalFieldRef() · e1e99674
      Henry Weller authored
      Non-const access to the internal field now obtained from a specifically
      named access function consistent with the new names for non-canst access
      to the boundary field boundaryFieldRef() and dimensioned internal field
      dimensionedInternalFieldRef().
      
      See also commit a4e2afa4
      e1e99674
    • Henry Weller's avatar
      functionObjectFile: Separated into functionObjectFile and functionObjectFiles · 7155ef61
      Henry Weller authored
      functionObjectFile provides basic directory, file and formatting functions
      functionObjectFiles provides multi-file cache
      7155ef61
  13. Apr 29, 2016