openfoam/tutorials/compressible
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
..
acousticFoam/obliqueAirJet CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
overRhoPimpleDyMFoam/twoSimpleRotors CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
overRhoSimpleFoam/hotCylinder CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
rhoCentralDyMFoam/movingCone TUT: use mergeType points for wedge geometries (#2241) 2021-10-21 15:31:11 +02:00
rhoCentralFoam TUT: use mergeType points for wedge geometries (#2241) 2021-10-21 15:31:11 +02:00
rhoPimpleAdiabaticFoam/rutlandVortex2D CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
rhoPimpleFoam STYLE: qualify expression debug flags 2021-12-10 14:46:21 +00:00
rhoPorousSimpleFoam/angledDuct TUT: replace m4 versions of angledDuct blockMeshDict with native forms 2021-07-28 13:14:44 +02:00
rhoSimpleFoam ENH: add exprField function object 2021-12-10 14:46:21 +00:00
sonicDyMFoam/movingCone TUT: use mergeType points for wedge geometries (#2241) 2021-10-21 15:31:11 +02:00
sonicFoam CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00
sonicLiquidFoam CONFIG: Updated headers to v2106 2021-06-28 09:14:42 +01:00