openfoam/applications/utilities/preProcessing
Mark Olesen dbfd1f90b1 ENH: add single-time handling to timeSelector
- the timeSelector is often used to select single or multiple times
  (eg, for post-processing). However, there are a few applications
  where only a *single* time should be selected and set.

  These are now covered by this type of use:

      timeSelector::addOptions_singleTime();  // Single-time options
      ...
      // Allow override of time from specified time options, or no-op
      timeSelector::setTimeIfPresent(runTime, args);

   In some cases, if can be desirable to force starting from the
   initial Time=0 when no time options have been specified:

      // Set time from specified time options, or force start from Time=0
      timeSelector::setTimeIfPresent(runTime, args, true);

   These changes make a number of includes redundant:

     * addTimeOptions.H
     * checkConstantOption.H
     * checkTimeOption.H
     * checkTimeOptions.H
     * checkTimeOptionsNoConstant.H

ENH: add time handling to setFields, setAlphaField (#3143)

    Co-authored-by: Johan Roenby <>

STYLE: replace instant("constant") with instant(0, "constant")

- avoids relying on atof parse behaviour returning zero
2024-05-06 22:22:42 +02:00
..
applyBoundaryLayer ENH: Tensor/SymmTensor: add devSymm and devTwoSymm funcs to avoid intermediates 2023-05-15 17:05:10 +01:00
boxTurb ENH: relocate graph writers to meshTools (not reqd by core OpenFOAM lib) 2022-02-21 19:53:21 +01:00
changeDictionary ENH: reduce reliance on stringListOps functions 2024-04-16 10:18:08 +02:00
createBoxTurb ENH: general boundBox/treeBoundBox improvements 2022-11-24 12:21:01 +00:00
createExternalCoupledPatchGeometry ENH: functionObjects: rearrange the location of phaseSystemModels function objects 2022-06-21 09:30:02 +01:00
createZeroDirectory STYLE: use spanstream instead of stringstream in more places 2024-03-07 15:04:54 +01:00
dsmcInitialise GIT: Header file updates 2019-10-31 14:48:44 +00:00
engineSwirl GIT: Header file updates 2019-10-31 14:48:44 +00:00
faceAgglomerate STYLE: prefer REGISTER/NO_REGISTER instead of true/false for IOobject 2023-03-10 14:16:32 +00:00
foamUpgradeCyclics ENH: improve consistency in handling of global IOobjects (#3045) 2023-12-07 17:42:25 +01:00
mapFields ENH: simplify construction of zero-sized Clouds 2023-12-15 16:17:15 +01:00
mapFieldsPar STYLE: communication name "buffered" instead of "blocking" 2024-04-29 10:19:40 +02:00
mdInitialise STYLE: prefer REGISTER/NO_REGISTER instead of true/false for IOobject 2023-03-10 14:16:32 +00:00
optimisation/writeMorpherCPs ENH: overhaul of the adjoint optimisation library 2023-12-18 18:01:35 +00:00
PDR RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
setAlphaField ENH: add single-time handling to timeSelector 2024-05-06 22:22:42 +02:00
setExprBoundaryFields STYLE: use static call for regIOobject::store (#1507) 2024-02-20 16:56:22 +01:00
setExprFields STYLE: use static call for regIOobject::store (#1507) 2024-02-20 16:56:22 +01:00
setFields ENH: add single-time handling to timeSelector 2024-05-06 22:22:42 +02:00
setTurbulenceFields STYLE: prefer REGISTER/NO_REGISTER instead of true/false for IOobject 2023-03-10 14:16:32 +00:00
smoothSurfaceData ENH: add -verbose option to surface conversion, cleanup 2023-05-09 19:30:57 +02:00
viewFactorsGen STYLE: remove trailing space, tabs 2023-04-24 15:37:33 +02:00
wallFunctionTable ENH: use singleton method for accessing runtime selection 2021-11-05 17:21:27 +01:00