1. 13 Apr, 2017 3 commits
    • Henry Weller's avatar
      porosityModel: The "<porosityModel>Coeffs" sub-dictionary is now optional · 045014d2
      Henry Weller authored
      For example the porosity coefficients may now be specified thus:
      
      porosity1
      {
          type            DarcyForchheimer;
      
          cellZone        porosity;
      
          d   (5e7 -1000 -1000);
          f   (0 0 0);
      
          coordinateSystem
          {
              type    cartesian;
              origin  (0 0 0);
              coordinateRotation
              {
                  type    axesRotation;
                  e1      (0.70710678 0.70710678 0);
                  e2      (0 0 1);
              }
          }
      }
      
      rather than
      
      porosity1
      {
          type            DarcyForchheimer;
          active          yes;
          cellZone        porosity;
      
          DarcyForchheimerCoeffs
          {
              d   (5e7 -1000 -1000);
              f   (0 0 0);
      
              coordinateSystem
              {
                  type    cartesian;
                  origin  (0 0 0);
                  coordinateRotation
                  {
                      type    axesRotation;
                      e1      (0.70710678 0.70710678 0);
                      e2      (0 0 1);
                  }
              }
          }
      }
      
      support for which is maintained for backward compatibility.
      045014d2
    • Henry Weller's avatar
      radiationModel: Added "he" argument to the "Sh" function · 9ece58af
      Henry Weller authored
      for consistency with the other energy sources.
      9ece58af
    • Henry Weller's avatar
      fvOptions: The "<type>Coeffs" sub-dictionary is now optional · e3c67dc1
      Henry Weller authored
      For example the actuationDiskSource fvOption may now be specified
      
      disk1
      {
          type            actuationDiskSource;
      
          fields      (U);
      
          selectionMode   cellSet;
          cellSet         actuationDisk1;
          diskDir         (1 0 0);    // Orientation of the disk
          Cp              0.386;
          Ct              0.58;
          diskArea        40;
          upstreamPoint   (581849 4785810 1065);
      }
      
      rather than
      
      disk1
      {
          type            actuationDiskSource;
          active          on;
      
          actuationDiskSourceCoeffs
          {
              fields      (U);
      
              selectionMode   cellSet;
              cellSet         actuationDisk1;
              diskDir         (1 0 0);    // Orientation of the disk
              Cp              0.386;
              Ct              0.58;
              diskArea        40;
              upstreamPoint   (581849 4785810 1065);
          }
      }
      
      but this form is supported for backward compatibility.
      e3c67dc1
  2. 12 Apr, 2017 2 commits
  3. 11 Apr, 2017 2 commits
  4. 08 Apr, 2017 2 commits
    • Henry Weller's avatar
      radiation: Corrected the name of the radiative heat flux from Qr to qr · 8aac0a18
      Henry Weller authored
      The standard naming convention for heat flux is "q" and this is used for the
      conductive and convective heat fluxes is OpenFOAM.  The use of "Qr" for
      radiative heat flux is an anomaly which causes confusion, particularly for
      boundary conditions in which "Q" is used to denote power in Watts.  The name of
      the radiative heat flux has now been corrected to "qr" and all models, boundary
      conditions and tutorials updated.
      8aac0a18
    • Henry Weller's avatar
      externalWallHeatFluxTemperatureFvPatchScalarField: Added "power" heat source option · e72e7c56
      Henry Weller authored
      by combining with and rationalizing functionality from
      turbulentHeatFluxTemperatureFvPatchScalarField.
      externalWallHeatFluxTemperatureFvPatchScalarField now replaces
      turbulentHeatFluxTemperatureFvPatchScalarField which is no longer needed and has
      been removed.
      
      Description
          This boundary condition applies a heat flux condition to temperature
          on an external wall in one of three modes:
      
            - fixed power: supply Q
            - fixed heat flux: supply q
            - fixed heat transfer coefficient: supply h and Ta
      
          where:
          \vartable
              Q  | Power [W]
              q  | Heat flux [W/m^2]
              h  | Heat transfer coefficient [W/m^2/K]
              Ta | Ambient temperature [K]
          \endvartable
      
          For heat transfer coefficient mode optional thin thermal layer resistances
          can be specified through thicknessLayers and kappaLayers entries.
      
          The thermal conductivity \c kappa can either be retrieved from various
          possible sources, as detailed in the class temperatureCoupledBase.
      
      Usage
          \table
          Property     | Description                 | Required | Default value
          mode         | 'power', 'flux' or 'coefficient' | yes |
          Q            | Power [W]                   | for mode 'power'     |
          q            | Heat flux [W/m^2]           | for mode 'flux'     |
          h            | Heat transfer coefficient [W/m^2/K] | for mode 'coefficent' |
          Ta           | Ambient temperature [K]     | for mode 'coefficient' |
          thicknessLayers | Layer thicknesses [m] | no |
          kappaLayers  | Layer thermal conductivities [W/m/K] | no |
          qr           | Name of the radiative field | no | none
          qrRelaxation | Relaxation factor for radiative field | no | 1
          kappaMethod  | Inherited from temperatureCoupledBase | inherited |
          kappa        | Inherited from temperatureCoupledBase | inherited |
          \endtable
      
          Example of the boundary condition specification:
          \verbatim
          <patchName>
          {
              type            externalWallHeatFluxTemperature;
      
              mode            coefficient;
      
              Ta              uniform 300.0;
              h               uniform 10.0;
              thicknessLayers (0.1 0.2 0.3 0.4);
              kappaLayers     (1 2 3 4);
      
              kappaMethod     fluidThermo;
      
              value           $internalField;
          }
          \endverbatim
      e72e7c56
  5. 05 Apr, 2017 1 commit
    • Henry Weller's avatar
      surfaceTensionModels::liquidProperties: New temperature-dependent surface tension model · 76579f58
      Henry Weller authored
      Description
          Temperature-dependent surface tension model in which the surface tension
          function provided by the phase Foam::liquidProperties class is used.
      
      Usage
          \table
              Property     | Description               | Required    | Default value
              phase        | Phase name                | yes         |
          \endtable
      
          Example of the surface tension specification:
          \verbatim
              sigma
              {
                  type    liquidProperties;
                  phase   water;
              }
          \endverbatim
      
      for use with e.g. compressibleInterFoam, see
      tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D
      76579f58
  6. 04 Apr, 2017 5 commits
  7. 03 Apr, 2017 1 commit
  8. 31 Mar, 2017 6 commits
  9. 29 Mar, 2017 1 commit
  10. 28 Mar, 2017 4 commits
  11. 27 Mar, 2017 2 commits
  12. 24 Mar, 2017 6 commits
  13. 23 Mar, 2017 1 commit
  14. 22 Mar, 2017 4 commits