1. 26 Jun, 2020 1 commit
  2. 11 Jun, 2020 1 commit
    • Kutalmış Berçin's avatar
      INT: various integrations from openfoam.org · 5cbdb7a3
      Kutalmış Berçin authored and Andrew Heather's avatar Andrew Heather committed
        ENH: add log FO
        ENH: improve log with scale, and offset entries
        BUG: ensure extrueMesh does not fail in parallel with wedge extrusion
        BUG: add missing clone and mapping funcs to copiedFixedValue, fixedMultiPhaseHeatFlux
        ENH: meshToMesh0::cellAddressing slight speed up for some geometries
        BUG:0003495: Divide-by-zero in SHF particle break-up model
        BUG:0003492: The formula in the OF is inconsistent with the Rosin-Rammler distribution theory formula
      5cbdb7a3
  3. 09 Jun, 2020 1 commit
    • Kutalmış Berçin's avatar
      ENH: New atmospheric boundary layer (ABL) model suite (Part 1) · 41e264f2
      Kutalmış Berçin authored and Andrew Heather's avatar Andrew Heather committed
        Please refer to the header file documentation for complete set of details.
      
        ENH: add new fvOptions for ABL modelling
      
          - atmAmbientTurbSource
          - atmBuoyancyTurbSource
          - atmCoriolisUSource
          - atmLengthScaleTurbSource
          - atmPlantCanopyTurbSource
          - atmPlantCanopyUSource
          - atmPlantCanopyTSource
          - atmNutSource
      
        ENH: add new boundary conditions for ABL modelling
             with PatchFunction1 and TimeFunction1 support
      
          - atmAlphatkWallFunction
          - atmEpsilonWallFunction
          - atmNutkWallFunction
          - atmNutUWallFunction
          - atmNutWallFunction
          - atmOmegaWallFunction
          - atmTurbulentHeatFluxTemperature
      
        STYLE: change names of nutkAtmRoughWallFunction -> atmNutkWallFunction by
               ensuring the bitwise backward compatibility
      
        ENH: add new variable-scaling force computation method to actuationDiskSource
      
        ENH: review actuationDiskSource and radialActuationDiskSource
      
        ENH: add new function object, ObukhovLength
      
        ENH: add new ABL tutorials/verifications
      
          - verificationAndValidation/atmosphericModels/atmFlatTerrain
            - verification with the Leipzig field experiment
            - illustration of precursor/successor field mapping
          - verificationAndValidation/atmosphericModels/atmForestStability
            - verification with the Sweden field experiment
          - update incompressible/simpleFoam/turbineSiting
      41e264f2
  4. 08 Jun, 2020 1 commit
    • Kutalmış Berçin's avatar
      DOC: elaborate the usage of function objects · a5c6516e
      Kutalmış Berçin authored and Andrew Heather's avatar Andrew Heather committed
        ENH: update libs of etc/caseDicts/postProcess items
        ENH: ensure destructor=default
        ENH: ensure constness
        ENH: ensure no 'copy construct' and 'no copy assignment' exist
        TUT: add examples of function objects with full set
             of settings into a TUT if unavailable
        TUT: update pisoFoam/RAS/cavity tutorial in terms of usage
      a5c6516e
  5. 23 Dec, 2019 1 commit
  6. 29 Jul, 2019 1 commit
  7. 25 Jun, 2019 1 commit
  8. 04 Feb, 2019 1 commit
  9. 02 Jan, 2019 1 commit
  10. 19 Dec, 2018 1 commit
  11. 07 Dec, 2018 1 commit
    • Andrew Heather's avatar
      ENH: Added new AMIWeights function object · a4dc9966
      Andrew Heather authored
      Reports the min|max|average AMI weights to text file and optionally
      writes VTK surfaces of the sum of the weights, and mask field for
      ACMI patches.
      
      Example usage:
      
          AMIWeights
          {
              type            AMIWeights;
              libs            ("libfieldFunctionObjects.so");
              writeControl    writeTime;
              writeFields     yes;
          }
      a4dc9966
  12. 16 Nov, 2018 1 commit
    • Andrew Heather's avatar
      ENH: Added new function object to calculate the energy spectrum · 4a26fb75
      Andrew Heather authored
      Description
          Calculates the energy spectrum for a structured IJK mesh
      
      Usage
          Example of function object specification:
          energySpectrum1
          {
              type        energySpectrum;
              libs        ("libfieldFunctionObjects.so");
          }
      
          Where the entries comprise:
          \table
              Property     | Description               | Required    | Default value
              type         | type name: energySpectrum | yes         |
              log          | write info to standard output | no      | yes
          \endtable
      
          Output data is written to the file \<timeDir\>/energySpectrum.dat
      4a26fb75
  13. 28 Jun, 2018 1 commit
  14. 21 May, 2018 1 commit
  15. 05 Nov, 2017 1 commit
  16. 23 Dec, 2016 1 commit
  17. 16 Dec, 2016 1 commit
  18. 23 Nov, 2016 1 commit
  19. 27 Sep, 2016 1 commit
  20. 28 Jun, 2016 1 commit
  21. 27 Jun, 2016 2 commits
  22. 13 Jun, 2016 1 commit
  23. 11 Jun, 2016 1 commit
  24. 10 Jun, 2016 1 commit
  25. 09 Jun, 2016 4 commits
  26. 01 Jun, 2016 1 commit
  27. 28 May, 2016 1 commit
    • Henry Weller's avatar
      postProcessing: Replaced 'foamCalc' and the 'postCalc' utilities · e4dc50dc
      Henry Weller authored
      with the more general and flexible 'postProcess' utility and '-postProcess' solver option
      
      Rationale
      ---------
      
      Both the 'postProcess' utility and '-postProcess' solver option use the
      same extensive set of functionObjects available for data-processing
      during the run avoiding the substantial code duplication necessary for
      the 'foamCalc' and 'postCalc' utilities and simplifying maintenance.
      Additionally consistency is guaranteed between solver data processing
      and post-processing.
      
      The functionObjects have been substantially re-written and generalized
      to simplify development and encourage contribution.
      
      Configuration
      -------------
      
      An extensive set of simple functionObject configuration files are
      provided in
      
      OpenFOAM-dev/etc/caseDicts/postProcessing
      
      and more will be added in the future.  These can either be copied into
      '<case>/system' directory and included into the 'controlDict.functions'
      sub-dictionary or included directly from 'etc/caseDicts/postProcessing'
      using the '#includeEtc' directive or the new and more convenient
      '#includeFunc' directive which searches the
      '<etc>/caseDicts/postProcessing' directories for the selected
      functionObject, e.g.
      
      functions
      {
          #includeFunc Q
          #includeFunc Lambda2
      }
      
      '#includeFunc' first searches the '<case>/system' directory in case
      there is a local configuration.
      
      Description of #includeFunc
      ---------------------------
      
          Specify a functionObject dictionary file to include, expects the
          functionObject name to follow (without quotes).
      
          Search for functionObject dictionary file in
          user/group/shipped directories.
          The search scheme allows for version-specific and
          version-independent files using the following hierarchy:
          - \b user settings:
            - ~/.OpenFOAM/\<VERSION\>/caseDicts/postProcessing
            - ~/.OpenFOAM/caseDicts/postProcessing
          - \b group (site) settings (when $WM_PROJECT_SITE is set):
            - $WM_PROJECT_SITE/\<VERSION\>/caseDicts/postProcessing
            - $WM_PROJECT_SITE/caseDicts/postProcessing
          - \b group (site) settings (when $WM_PROJECT_SITE is not set):
            - $WM_PROJECT_INST_DIR/site/\<VERSION\>/caseDicts/postProcessing
            - $WM_PROJECT_INST_DIR/site/caseDicts/postProcessing
          - \b other (shipped) settings:
            - $WM_PROJECT_DIR/etc/caseDicts/postProcessing
      
          An example of the \c \#includeFunc directive:
          \verbatim
              #includeFunc <funcName>
          \endverbatim
      
      postProcess
      -----------
      
      The 'postProcess' utility and '-postProcess' solver option provide the
      same set of controls to execute functionObjects after the run either by
      reading a specified set of fields to process in the case of
      'postProcess' or by reading all fields and models required to start the
      run in the case of '-postProcess' for each selected time:
      
      postProcess -help
      
      Usage: postProcess [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
        -field <name>     specify the name of the field to be processed, e.g. U
        -fields <list>    specify a list of fields to be processed, e.g. '(U T p)' -
                          regular expressions not currently supported
        -func <name>      specify the name of the functionObject to execute, e.g. Q
        -funcs <list>     specify the names of the functionObjects to execute, e.g.
                          '(Q div(U))'
        -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
        -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
      
       pimpleFoam -postProcess -help
      
      Usage: pimpleFoam [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
        -field <name>     specify the name of the field to be processed, e.g. U
        -fields <list>    specify a list of fields to be processed, e.g. '(U T p)' -
                          regular expressions not currently supported
        -func <name>      specify the name of the functionObject to execute, e.g. Q
        -funcs <list>     specify the names of the functionObjects to execute, e.g.
                          '(Q div(U))'
        -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
      
      The functionObjects to execute may be specified on the command-line
      using the '-func' option for a single functionObject or '-funcs' for a
      list, e.g.
      
      postProcess -func Q
      postProcess -funcs '(div(U) div(phi))'
      
      In the case of 'Q' the default field to process is 'U' which is
      specified in and read from the configuration file but this may be
      overridden thus:
      
      postProcess -func 'Q(Ua)'
      
      as is done in the example above to calculate the two forms of the divergence of
      the velocity field.  Additional fields which the functionObjects may depend on
      can be specified using the '-field' or '-fields' options.
      
      The 'postProcess' utility can only be used to execute functionObjects which
      process fields present in the time directories.  However, functionObjects which
      depend on fields obtained from models, e.g. properties derived from turbulence
      models can be executed using the '-postProcess' of the appropriate solver, e.g.
      
      pisoFoam -postProcess -func PecletNo
      
      or
      
      sonicFoam -postProcess -func MachNo
      
      In this case all required fields will have already been read so the '-field' or
      '-fields' options are not be needed.
      
      Henry G. Weller
      CFD Direct Ltd.
      e4dc50dc
  28. 26 May, 2016 4 commits
  29. 16 May, 2016 1 commit
  30. 12 May, 2016 2 commits
    • Henry Weller's avatar
      Standardized the naming of functions which control the writing of fields etc. · 6164c2f2
      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.
      6164c2f2
    • Henry Weller's avatar
      functionObjects: Changed options 'outputControl' -> 'writeControl' and... · c983670c
      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.
      c983670c
  31. 22 Dec, 2015 1 commit
  32. 09 Dec, 2015 1 commit