February 2, 2022, 06:20
|
Error calculating PMV and PPD indexes (thermal comfort)
|
#1
|
|
Member
Join Date: Mar 2019
Posts: 31
Rep Power: 8
|
Hi,
I am trying to calculate the PMV and PPD indexes in openfoam. I run the tutorial case "hotComfortRoom" and the PMV PPD values were calculated. Then I tried to calculate those values in another simulation starting from an already calculated velocity and temperature fields, therefore I set the simulation only for 1 timestep and I had this error
Code:
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::pow4(Foam::Field<double>&, Foam::UList<double> const&) at ??:?
#4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::pow4<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#5 Foam::functionObjects::comfort::Tcloth(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::dimensioned<double> const&, Foam::dimensioned<double> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensioned<double> const&) at ??:?
#6 Foam::functionObjects::comfort::execute() at ??:?
#7 Foam::functionObjects::timeControl::execute() at ??:?
#8 Foam::functionObjectList::start() at ??:?
#9 Foam::Time::run() const at ??:?
#10 Foam::Time::loop() at ??:?
#11 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/buoyantSimpleFoam"
#12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/buoyantSimpleFoam"
This is the controlDict file
Quote:
application buoyantSimpleFoam;
startFrom startTime;
startTime 10000;
stopAt endTime;
endTime 10001;
deltaT 1;
writeControl timeStep;
writeInterval 1;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
functions
{
comfort
{
libs ("libfieldFunctionObjects.so");
type comfort;
clothing 1;
metabolicRate 1.2;
extWork 0;
relHumidity 50;
writeControl writeTime;
executeControl writeTime;
}
}
|
Do you know the cause of this error? the simulation has velocity and temperature values compatible with the calculation of the indexes.
Alternatively there is a post-process function to calculate those indexes?
|
|
|