Skip to content
Permalink
Browse files

functionObjects::comfort: New functionObject to calculate fields rela…

…ting to thermal comfort

Description
    Calculates the thermal comfort quantities predicted mean vote (PMV) and
    predicted percentage of dissatisfaction (PPD) based on DIN ISO EN 7730:2005.

Usage
    \table
        Property      | Description                  | Required  | Default value
        clothing      | The insulation value of the cloth | no   | 0
        metabolicRate | The metabolic rate      | no        | 0.8
        extWork       | The external work        | no        | 0
        Trad          | Radiation temperature | no | -1
        relHumidity   | Relative humidity of the air | no | 50
        pSat          | Saturation pressure of water | no | -1
        tolerance     | Residual control for the cloth temperature | no | 1e-5
        maxClothIter  | Maximum number of iterations | no       | 0
        meanVelocity  | Use a constant mean velocity in the whole domain | no |\
        false
    \endtable

    \table
        Predicted Mean Vote (PMV)   | evaluation
        + 3                         | hot
        + 2                         | warm
        + 1                         | slightly warm
        + 0                         | neutral
        - 1                         | slightly cool
        - 2                         | cool
        - 3                         | cold
    \endtable

    \verbatim
    comfortAnalysis
    {
        type            comfort;
        libs            ("libfieldFunctionObjects.so");

        executeControl  writeTime;
        writeControl    writeTime;
    }
    \endverbatim

The new tutorial case heatTransfer/buoyantSimpleFoam/comfortHotRoom is provided
to demonstrate the calculation of PMV and PPD using the comfort functionObject.

This work is based on code and case contributed by Tobias Holzmann.
  • Loading branch information...
Henry Weller
Henry Weller committed Oct 19, 2019
1 parent 9b21cf6 commit 280c055ef6322cd5ca0851b370268a496aa7746f
Showing with 1,453 additions and 3 deletions.
  1. +2 −0 src/functionObjects/field/Make/files
  2. +1 −3 src/functionObjects/field/age/age.C
  3. +430 −0 src/functionObjects/field/comfort/comfort.C
  4. +206 −0 src/functionObjects/field/comfort/comfort.H
  5. +42 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/0/T
  6. +42 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/0/U
  7. +44 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/0/alphat
  8. +45 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/0/epsilon
  9. +45 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/0/k
  10. +43 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/0/nut
  11. +42 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/0/p
  12. +43 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/0/p_rgh
  13. +15 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/Allrun
  14. +21 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/constant/g
  15. +54 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/constant/thermophysicalProperties
  16. +30 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/constant/turbulenceProperties
  17. +49 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/system/blockMeshDict
  18. +76 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/system/controlDict
  19. +47 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/system/createPatchDict
  20. +61 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/system/fvSchemes
  21. +74 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/system/fvSolution
  22. +41 −0 tutorials/heatTransfer/buoyantSimpleFoam/comfortHotRoom/system/topoSetDict
@@ -69,4 +69,6 @@ interfaceHeight/interfaceHeight.C

age/age.C

comfort/comfort.C

LIB = $(FOAM_LIBBIN)/libfieldFunctionObjects
@@ -243,9 +243,7 @@ bool Foam::functionObjects::age::execute()
Info<< "Min/max age:" << min(age).value()
<< ' ' << max(age).value() << endl;

store(tage);

return true;
return store(tage);
}


0 comments on commit 280c055

Please sign in to comment.
You can’t perform that action at this time.