CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

HRR in fireFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By nadezhda
  • 1 Post By Roman1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2016, 05:11
Default HRR in fireFoam
  #1
New Member
 
Join Date: Aug 2016
Posts: 4
Rep Power: 10
nadezhda is on a distinguished road
Hello!
I want to calculate HRR during FireFoam simulation.
I try this code in controlDict (found in tutorials):
Code:
functions
{
    HRR
    {
        type            cellSource;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled         true;
        outputControl   outputTime;  //outputTime;
        outputInterval  1;
        log             false;     
        valueOutput     false;
        source          all;       //cellZone;
        sourceName      c0;
        operation       volIntegrate;
        fields
        (
            dQ
        );
    };    
}
But it doesn't work. Then I run postProcess I get:
Code:
--> FOAM Warning : 
    From function bool Foam::functionObjectList::read()
    in file db/functionObjects/functionObjectList/functionObjectList.C at line 644
    Caught FatalError 
--> FOAM FATAL ERROR: 
Unknown function type cellSource
What's wrong with it and how can I calc HRR?

Also I can't find where heat of combustion is specified in fireFoam. Please help me.
Hasnain_1 likes this.
nadezhda is offline   Reply With Quote

Old   September 1, 2016, 10:46
Default
  #2
Member
 
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13
Roman1 is on a distinguished road
Hello. Next code works fine with my cases. It differs a little from yours. One thing, the result, i.e. HRR depends on the cell size. Try the same case with different cell size and you will see. At my mind this is not a great deal problem.
As for HRR, please find here the tutorial for reactingFoam solver. FireFoam works similar.
functions
(

volInts
{
type cellSource;
functionObjectLibs ("libfieldFunctionObjects.so");
enabled true;
outputControl timeStep; //outputTime;
outputInterval 1;
log true; //true;
valueOutput false;
source all; //cellZone;
sourceName c0;
operation volIntegrate;
fields
(
dQ
);

}
Hasnain_1 likes this.
Roman1 is offline   Reply With Quote

Old   September 2, 2016, 05:39
Default
  #3
New Member
 
Join Date: Aug 2016
Posts: 4
Rep Power: 10
nadezhda is on a distinguished road
Thank you Roman1, I'll try your code!
nadezhda is offline   Reply With Quote

Old   May 17, 2017, 05:52
Default
  #4
Member
 
Jean bon
Join Date: Sep 2016
Posts: 43
Rep Power: 10
FlyingCat is on a distinguished road
Hello,

I am interested in having HRR because I realize that fireFoam is very dependent of mesh size.

With your code Roman, I have the same problem: Unknown function type cellSource

I am not sure you can use it. If someone has a solution.

Thanks.
FlyingCat is offline   Reply With Quote

Old   May 23, 2017, 11:45
Default
  #5
Member
 
Jean bon
Join Date: Sep 2016
Posts: 43
Rep Power: 10
FlyingCat is on a distinguished road
To have the HRR function of time, you can add:

Code:
    HRR
    {
        type            volRegion;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled         true;
	writeControl    timeStep;
	writeInterval   1;
	writeFields     false;
	log             true;
	regionType      all;
        operation       volIntegrate;
        fields
        (
            dQ
        );
    }
in your controlDict file.
FlyingCat is offline   Reply With Quote

Old   July 7, 2017, 10:34
Default
  #6
Member
 
Jean bon
Join Date: Sep 2016
Posts: 43
Rep Power: 10
FlyingCat is on a distinguished road
With a sum is better:

Code:
    HRR
    {
        type            volRegion;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled         true;
	writeControl    timeStep;
	writeInterval   1;
	writeFields     false;
	log             true;
	regionType      all;
        operation       sum;
        fields
        (
            dQ
        );
    }
FlyingCat is offline   Reply With Quote

Old   August 14, 2017, 09:10
Default fireFoam
  #7
New Member
 
Join Date: Jul 2017
Posts: 28
Rep Power: 9
luca1992 is on a distinguished road
Hello, i am looking for answers in a lot of places for a long time, can i ask you some things about fireFoam? I'm trying to simulate a fire in a closed place, but I have doubts.
Thank you, greetings, Luca.
luca1992 is offline   Reply With Quote

Old   August 14, 2017, 09:53
Default
  #8
Member
 
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13
Roman1 is on a distinguished road
I could help if I can
Roman1 is offline   Reply With Quote

Old   August 14, 2017, 12:09
Default
  #9
New Member
 
Join Date: Jul 2017
Posts: 28
Rep Power: 9
luca1992 is on a distinguished road
Hi, thanks very much for the reply, I also asked for help in another forum discussion (both in "fireFOAM: reactions file setup" and in "HRR in fireFoam") and now I do not know what to do. I did not know if anyone answered me since July 30 I had created a post but no one answered me and so I was not very optimistic and so I had written on both posts that had the latest message in 2017, now I could write my question on both of the discussions, but maybe it would be better to unify them, do you know how to do it? Maybe it's better if I publicize my question in my previous post "Simulating fire in a tunnel" so if you can answer me there. Thank you both (Roman1 and ashish.vinayak) let me know if it is all right for you.
luca1992 is offline   Reply With Quote

Reply

Tags
firefoam, heat of combustion, heat realise rate, hrr


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
fireFoam installation Roman1 OpenFOAM Installation 2 September 27, 2013 04:05
Install/compile fireFoam 1.6-1.0 in Openfoam 2.1.1 hz283 OpenFOAM Programming & Development 19 April 1, 2013 09:35
How to setup a proper "heatFlux" boundary for fireFoam? Jumping OpenFOAM Pre-Processing 0 March 27, 2013 10:27
pyrolysis in fireFoam windwin OpenFOAM 1 September 26, 2011 09:11
FireFoam what is HRR ? fgal OpenFOAM Post-Processing 1 April 16, 2010 11:37


All times are GMT -4. The time now is 11:26.