openfoam/tutorials
Mark Olesen 8d4ad0438d ENH: add exprField function object
- provides a simple means of defining/modifying fields. For example,

  ```
  <name1>
  {
      type    exprField;
      libs    (fieldFunctionObjects);
      field   pTotal;

      expression  "p + 0.5*(rho*magSqr(U))";
      dimensions  [ Pa ];
  }
  ```
  It is is also possible to modify an existing field.
  For example, to modify the previous one.
  ```
  <name2>
  {
      type    exprField;
      libs    (fieldFunctionObjects);
      field   pTotal;
      action  modify;

      // Static pressure only in these regions
      fieldMask
      #{
          (mag(pos()) < 0.05) && (pos().y() > 0)
       || cellZone(inlet)
      #};
      expression  "p";
  }
  ```

  To use as a simple post-process calculator, simply avoid storing the
  result and only generate on write:
  ```
  <name2>
  {
      store            false;
      executionControl none;
      writeControl     writeTime;
      ...
  }
  ```
2021-12-10 14:46:21 +00:00
..
basic LINT: fix permissions 2021-11-15 21:22:36 +01:00
combustion TUT: counterFlowFlame2D - corrected CH4 fraction. Fixes #2292 2021-12-10 14:34:05 +00:00
compressible ENH: add exprField function object 2021-12-10 14:46:21 +00:00
discreteMethods TUT: update keywords, create finiteArea in parallel 2021-10-18 15:30:51 +02:00
DNS/dnsFoam/boxTurb16 CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
electromagnetics CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
financial/financialFoam/europeanCall CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
finiteArea TUT: update keywords, create finiteArea in parallel 2021-10-18 15:30:51 +02:00
heatTransfer STYLE: snappyHexMeshDict: remove excess entries 2021-12-09 17:09:34 +00:00
incompressible ENH: Adding shear stress to the film from the wall function 2021-12-09 17:01:46 +00:00
IO ENH: additional #word and #message dictionary directives (#2276) 2021-11-25 17:05:37 +01:00
lagrangian ENH: Adding shear stress to the film from the wall function 2021-12-09 17:01:46 +00:00
mesh TUT: use new blockMesh support (faces, transforms) 2021-07-28 13:14:44 +02:00
modules CONFIG: additional packaging helpers, tutorial test helper 2020-04-21 14:59:07 +02:00
multiphase TUT: icoReactingMultiphaseInterFoam: new tutorial oxideFormation 2021-12-09 17:04:10 +00:00
preProcessing CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
resources Implicit treatment of coupled boundary conditions 2021-08-03 20:08:49 +00:00
stressAnalysis CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
verificationAndValidation TUT: atmFlatTerrain: add an example for kL RANS model 2021-11-08 18:56:59 +00:00
Allclean CONFIG: add date and paths information for tutorial Allrun script 2021-09-22 17:42:21 +02:00
Allcollect STYLE: regularize quoting and exit on failed 'cd' 2019-11-13 13:19:16 +01:00
Allrun CONFIG: add date and paths information for tutorial Allrun script 2021-09-22 17:42:21 +02:00
Alltest CONFIG: inline _foamEval within <etc/config.sh/setup> 2021-06-18 17:14:22 +02:00