openfoam/tutorials/incompressible
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
..
adjointOptimisationFoam TUT: update for new finite-area location (with foamUpgradeFiniteArea) 2024-04-19 17:20:09 +02:00
adjointShapeOptimizationFoam/pitzDaily RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
boundaryFoam/steadyBoundaryLayer RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
icoFoam RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
lumpedPointMotion ENH: add single-time handling to timeSelector 2024-05-06 22:22:42 +02:00
nonNewtonianIcoFoam/offsetCylinder RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
overPimpleDyMFoam RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
overSimpleFoam/aeroFoil RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
pimpleFoam TUT: update for new finite-area location (with foamUpgradeFiniteArea) 2024-04-19 17:20:09 +02:00
pisoFoam STYLE: mapped: remove defaults from mapped 2024-01-31 13:49:26 +00:00
porousSimpleFoam RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
shallowWaterFoam/squareBump RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
simpleFoam TUT: update for new finite-area location (with foamUpgradeFiniteArea) 2024-04-19 17:20:09 +02:00
SRFPimpleFoam/rotor2D RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
SRFSimpleFoam/mixer RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00