CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

problem with comfort function (PPD PMV) in post-processing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 23, 2021, 06:30
Default problem with comfort function (PPD PMV) in post-processing
  #1
Member
 
Join Date: Mar 2019
Posts: 31
Rep Power: 7
Andrea23 is on a distinguished road
Hi,

I want to use the function "comfort "(https://cpp.openfoam.org/dev/comfort_8C.html) in post process to calculate the PPD and PMV field, I have calculated the T and U fields (with buoyantSimpleFoam).

the "comfort" file I put in system is:

Code:
    comfort
    {
        libs            ("libfieldFunctionObjects.so");
        type            comfort;

        clothing        1.0;
        metabolicRate   1.2;
        extWork         0;
        relHumidity     50;
        Trad   292; //I have tried with 292, 19 (if they are C) and without this line
    }
after using the comand line: postProcess -func comfort -time 1000
but I received this error

Quote:
Executing functionObjects
--> FOAM Warning :
From function Foam::dimensionedScalar Foam::functionObjects::comfort::Trad() const
in file comfort/comfort.C at line 95
The calculated mean wall radiation temperature is out of the
bounds specified in EN ISO 7730:2006
Valid range is 10 degC < T < 40 degC
The actual value is:

--> FOAM FATAL ERROR:
LHS and RHS of - have different dimensions
dimensions : [0 0 0 1 0 0 0] - [0 0 0 0 0 0 0]


From function Foam::dimensionSet Foam:perator-(const Foam::dimensionSet&, const Foam::dimensionSet&)
in file dimensionSet/dimensionSet.C at line 521.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam:perator-(Foam::dimensionSet const&, Foam::dimensionSet const&) at ??:?
#3 Foam::dimensioned<double> Foam:perator-<double>(Foam::dimensioned<double> const&, Foam::dimensioned<double> const&) at ??:?
#4 Foam:perator-(Foam::dimensioned<double> const&, double) at ??:?
#5 Foam::functionObjects::comfort::Trad() const at ??:?
#6 Foam::functionObjects::comfort::execute() at ??:?
#7 Foam::functionObjectList::execute() at ??:?
#8 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/postProcess"
#9 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/postProcess"
#10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11 ? in "/opt/openfoam8/platforms/linux64GccDPInt32Opt/bin/postProcess"
Do you know what is the problem?
What LHS and RHS are?
Andrea23 is offline   Reply With Quote

Old   April 23, 2021, 13:55
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
Hi, LHS/RHS: left-hand side and right-hand side, respectively. Not familiar with this FO, however, the error suggests that units of two variables do not match. LHS has the units of Kelvin, and RHS is unitless.

Maybe you need to execute the postProcess utility with the solver? e.g.

buoyantFoam -postProcess -func bla bla (there should be some examples in the web. please look for them).

Hope these can give some hint.
HPE is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] getting problem in post processing sai.patil ParaView 1 November 1, 2013 18:32
[OpenFOAM] Post processing problem in Xfce desktop environment using paraFoam tariq ParaView 4 July 8, 2013 10:09
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 06:27
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 11:59
Post processing display problem Jennifer Haque CFX 2 January 18, 2002 11:01


All times are GMT -4. The time now is 02:56.