Skip to content

Commit 280c055

Browse files
author
Henry Weller
committed
functionObjects::comfort: New functionObject to calculate fields relating 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.
1 parent 9b21cf6 commit 280c055

File tree

22 files changed

+1453
-3
lines changed

22 files changed

+1453
-3
lines changed

src/functionObjects/field/Make/files

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,6 @@ interfaceHeight/interfaceHeight.C
6969

7070
age/age.C
7171

72+
comfort/comfort.C
73+
7274
LIB = $(FOAM_LIBBIN)/libfieldFunctionObjects

src/functionObjects/field/age/age.C

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,7 @@ bool Foam::functionObjects::age::execute()
243243
Info<< "Min/max age:" << min(age).value()
244244
<< ' ' << max(age).value() << endl;
245245

246-
store(tage);
247-
248-
return true;
246+
return store(tage);
249247
}
250248

251249

0 commit comments

Comments
 (0)