openfoam/tutorials
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
..
basic RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
combustion STYLE: spelling 2024-02-28 09:08:07 +00:00
compressible TUT: update for new finite-area location (with foamUpgradeFiniteArea) 2024-04-19 17:20:09 +02:00
discreteMethods RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
DNS/dnsFoam/boxTurb16 RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
electromagnetics RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
financial/financialFoam/europeanCall RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
finiteArea TUT: update for new finite-area location (with foamUpgradeFiniteArea) 2024-04-19 17:20:09 +02:00
heatTransfer TUT: update for new finite-area location (with foamUpgradeFiniteArea) 2024-04-19 17:20:09 +02:00
incompressible ENH: add single-time handling to timeSelector 2024-05-06 22:22:42 +02:00
IO RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
lagrangian TUT: update for new finite-area location (with foamUpgradeFiniteArea) 2024-04-19 17:20:09 +02:00
mesh Feature overlapping zones 2024-03-13 14:44:13 +00:00
modules
multiphase STYLE: mapped: remove defaults from mapped 2024-01-31 13:49:26 +00:00
preProcessing ENH: adjust renumbering methods, extend renumberMesh options 2024-03-06 17:58:47 +01:00
resources RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
stressAnalysis RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
verificationAndValidation RELEASE: Updated headers to v2312 2023-12-20 19:42:55 +01:00
Allclean ENH: foamRunTutorials -dry-run option 2022-06-14 15:23:08 +02:00
Allcollect ENH: foamRunTutorials -dry-run option 2022-06-14 15:23:08 +02:00
Allrun CONFIG: add date and paths information for tutorial Allrun script 2021-09-22 17:42:21 +02:00
Alltest STYLE: remove defunct restore0Dir expand of #include [collated] 2024-04-03 19:00:39 +02:00