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

fireFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2015, 05:04
Default fireFOAM
  #1
New Member
 
Michal Obergruber
Join Date: Jul 2015
Posts: 2
Rep Power: 0
Darku is on a distinguished road
Hi all,
I'm trying to learn fireFOAM and i've seen that you asked several questions about it so I assume you already learned it

My problem is: I tried to start tutorial smallPoolFire2D. I created mesh and type fireFoam. After some time I got this result (2 sec, temperature):



As you can see, teperature didn't change. I wanted result like this:



which is taken from presentation by FM Global - google doc

Can you please tell me where is problem?

Thank you very much.

Darku
Darku is offline   Reply With Quote

Old   February 28, 2016, 12:19
Default
  #2
New Member
 
meenu
Join Date: Feb 2016
Location: Bengalore
Posts: 4
Rep Power: 11
meenu_1 is on a distinguished road
Hellow Darku,
I had faced similar problem, but after some trial and error finally i found the solution.
Just check out the "Allrun" file in the "smallpoolfire2D" tutorial case folder. and run all the command . It should give you the temperature rise.

Happy FOAMing
meenu_1 is offline   Reply With Quote

Old   February 28, 2016, 12:25
Default
  #3
New Member
 
meenu
Join Date: Feb 2016
Location: Bengalore
Posts: 4
Rep Power: 11
meenu_1 is on a distinguished road
run these commands
$blockMesh
$topoSet
$createPatch -overwrite
$fireFoam
even i am new to OpenFoam and i dnt know what the 2nd and 3rd command do, but it run the tutorial properly.
If anybody can explain it , that will be great help.
meenu_1 is offline   Reply With Quote

Old   February 29, 2016, 04:59
Default
  #4
Member
 
Joćo Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 53
Rep Power: 12
jmdf is on a distinguished road
topoSet - "operates on cellSets/faceSets/pointSets through a dictionary." It can be used to create zones inside the mesh that could be used to split the mesh into regions or assign different properties on each zone. https://openfoamwiki.net/index.php/TopoSet

createPatch - "Utility to create patches out of selected boundary faces. Faces come either from existing patches or from a faceSet." I think it says it all https://openfoamwiki.net/index.php/CreatePatch
jmdf is offline   Reply With Quote

Old   March 2, 2016, 11:29
Default
  #5
New Member
 
meenu
Join Date: Feb 2016
Location: Bengalore
Posts: 4
Rep Power: 11
meenu_1 is on a distinguished road
Thanks Ferreira, for the insight. i will look into links for more details
meenu_1 is offline   Reply With Quote

Old   August 21, 2017, 05:10
Post
  #6
New Member
 
Join Date: Jul 2017
Posts: 28
Rep Power: 9
luca1992 is on a distinguished road
Hi , sorry, I'm trying to use the smallPoolFire3D solver to simulate a fire in the tunnel. I thought the blockMeshDict file that originated the cube was the heat puddle from which the fire came out and then I put the heat puddle cube inside the tunnel. Now I have doubts, which may sound stupid, but I'm having some problems so I'm trying out all the options, although I do not think, that I should put the tunnel inside the cube created with the blockMeshDict file because it represents the maximum domain of the problem. You can help me?

Thank you, kind regards, Luca.

Last edited by luca1992; August 21, 2017 at 06:33.
luca1992 is offline   Reply With Quote

Old   August 21, 2017, 16:21
Default
  #7
New Member
 
Michal Obergruber
Join Date: Jul 2015
Posts: 2
Rep Power: 0
Darku is on a distinguished road
Hi Luca,

if I understood correctly, you have some large domain and inside it there is small puddle which is on fire. As mantioned by jmdf and meenu_1, you can use topoSetDict. This allows to create new area (boundary) with different settings - see smallPoolFire3D/system/topoSetDict. With this you can create 2D "box" and in createPatchDict you name it like it is ordinary boundary. Then you set all variables in 0 folder for this new boundary.

Hope it will help.

Darku
luca1992 likes this.
Darku is offline   Reply With Quote

Old   August 23, 2017, 05:23
Post
  #8
New Member
 
Join Date: Jul 2017
Posts: 28
Rep Power: 9
luca1992 is on a distinguished road
Hello Darku, thanks for the answer ,
yes, exactly, I'm trying to simulate a fire in a tunnel.Yes I added to the files in folder 0 the information on this new boundary. I created the external mesh (just the edge) with solidworks in .stl format and I put the cube representing the heat puddle inside. My question is: does the heat puddle be placed in the tunnel, or do I have to enlarge the cube of the heat puddle and put the tunnel inside the cube? I have some doubts about topoSetDict and createPatchDict. Can you help me?
luca1992 is offline   Reply With Quote

Old   August 29, 2019, 20:55
Default
  #9
Senior Member
 
Brett
Join Date: May 2013
Posts: 217
Rep Power: 14
Bdew8556 is on a distinguished road
Hey Lucca,

I'm trying to do the same thing.
I don't suppose you have a template file I could use? ie nothing sensitive just a run down of the file structure, what commands you ran etc?
luca1992 likes this.
Bdew8556 is offline   Reply With Quote

Old   August 30, 2019, 02:11
Default
  #10
Member
 
ingraban's Avatar
 
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 7
ingraban is on a distinguished road
- Start off with the smallPoolFire3D tutorial
- adapt blockMeshDict to represent the geometry of your tunnel
- define the fire source geometry in topoSetDict: cell faces inside the box are selected as group f0 (or any other name you choose).
- edit createPatchDict: the group of faces f0 is defined as a patch (here: inlet)
- define the initial and boundary conditions in the /0 folder. For a tunnel, you may have to use wall functions, flow profile on the inlet etc. I am still trying to figure out the right boundary conditions.
- edit decomposeParDict: for a tunnel, you'd want to have the division for parallelisation along the length of the tunnel and not in quarters

then run ./Allrun

This should give you a pool fire in an empty tunnel.
luca1992 likes this.
ingraban is offline   Reply With Quote

Old   November 10, 2019, 17:24
Default
  #11
New Member
 
Join Date: Jul 2017
Posts: 28
Rep Power: 9
luca1992 is on a distinguished road
Sorry for not having answered you immediately, now I've seen the notification and I'll answer you below, I hope it's not late.
luca1992 is offline   Reply With Quote

Old   November 10, 2019, 17:26
Default
  #12
New Member
 
Join Date: Jul 2017
Posts: 28
Rep Power: 9
luca1992 is on a distinguished road
Quote:
Originally Posted by Bdew8556 View Post
Hey Lucca,

I'm trying to do the same thing.
I don't suppose you have a template file I could use? ie nothing sensitive just a run down of the file structure, what commands you ran etc?
Hi Bdew8556, I'm again really sorry but I didn't receive or didn't see the notification of your question on the forum. I saw that fortunately another user answered you.

I don't know if you still need it anyway I have made many attempts and in the end I used Blender to which I added the Swiftblock extension which allowed me to create the empty geometry of the tunnel by creating a blockMeshDict file (the advantage is that I created it in a graphic way and the extension wrote me the lines of code of the file). Then I took a stl file from the internet, modified it and inserted it into the tunnel (changing the coordinates). Then snappyHexMesh removed the tunnel's cells that coincided with the geometry of the stl file.

Let me know and sorry again, bye
luca1992 is offline   Reply With Quote

Old   January 15, 2025, 05:39
Default
  #13
New Member
 
Manjiri Relkar
Join Date: Oct 2024
Posts: 15
Rep Power: 2
manjirigr23 is on a distinguished road
is this enough to model pool fire?. I have different fire source (methanol). what all are the things i need to edit. so far i have edited in 0 folder (U velocity, Fuel name, k value) and in the constant folder (radiationproperties-hiTcoeff, reaction-single step, thermocompressiblegas-high/lowcp values for ch3oh), in system folder (based on my computational capacity).

is this itself enough or i am missing something big to model methanol pool fire, my motive is to validate temperature and velocity profile of methanol pool fire
manjirigr23 is offline   Reply With Quote

Old   January 15, 2025, 20:24
Default
  #14
New Member
 
Yejin Ha
Join Date: Jan 2025
Posts: 5
Rep Power: 2
JiinY is on a distinguished road
Hello,

I am currently running a `fireFoam` simulation using OpenFOAM version 7, but I am experiencing an issue where the temperature does not increase during the simulation.

Have you encountered a similar issue, and if so, were you able to solve it?

I would greatly appreciate any advice or guidance.
Thank you in advance!

Best regards,
Yejin
JiinY is offline   Reply With Quote

Old   January 16, 2025, 00:28
Default
  #15
New Member
 
Manjiri Relkar
Join Date: Oct 2024
Posts: 15
Rep Power: 2
manjirigr23 is on a distinguished road
Hey JiinY, Can you be more specific where you are visualizing your case? If it is in ParaView then just rescale after completeting your simulation.
manjirigr23 is offline   Reply With Quote

Old   January 16, 2025, 00:45
Default
  #16
New Member
 
Yejin Ha
Join Date: Jan 2025
Posts: 5
Rep Power: 2
JiinY is on a distinguished road
Hello,

Thank you for your response.

I am running the `smallPoolFire2D` tutorial simulation using the `fireFoam` solver in OpenFOAM version 7. However, I am encountering an issue where the temperature does not increase during the simulation.

In the terminal output, the solving for `rho`, `H2O`, `CH4`, and `CO2` shows:
Initial residual = 0, Final residual = 0, No iterations 0

Additionally, the temperature remains constant with:
min/max(T) = 300, 300

When I visualize the results in ParaView, the temperature stays at the initial value of **300 K** with no change throughout the simulation. Based on the terminal output, it seems that the chemical reaction and ignition are not occurring.

Could you please advise on how to resolve this issue?

Thank you in advance for your help!
JiinY is offline   Reply With Quote

Old   January 16, 2025, 02:31
Default
  #17
New Member
 
Manjiri Relkar
Join Date: Oct 2024
Posts: 15
Rep Power: 2
manjirigr23 is on a distinguished road
hey, it seems your simulation itself is not running. Have you edited any files in 0, constant or system folders? also check the commands you are giving to run.
manjirigr23 is offline   Reply With Quote

Old   January 16, 2025, 02:45
Default
  #18
New Member
 
Yejin Ha
Join Date: Jan 2025
Posts: 5
Rep Power: 2
JiinY is on a distinguished road
Thank you for your response.

I haven't modified any other folders. I followed the execution order of blockMesh, topoSet, createPatch, and fireFoam, but there is still no temperature change during the simulation. Could there be an issue with the inlet condition generated by topoSet or createPatch?

Also, in the 0 folder, both the inlet temperature and the internalField are set to uniform 300;. Could this be related to the issue?

in blockmesh file;
vertices
(-0.5, 0, -0.01)
(0.5, 0, -0.01)
(0.5, 1, -0.01)
(-0.5, 1, -0.01)
(-0.5, 0, 0.01)
(0.5, 0, 0.01)
(0.5, 1, 0.01)
(-0.5, 1, 0.01)

blocks
(
hex (0 1 2 3 4 5 6 7) (150 150 1) simpleGrading (1 1 1)
)

in toposet file;
name f0;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (-0.0529 -0.001 -0.1)(0.0529 0.002 0.1);
}

Thank you in advance for your help.
JiinY is offline   Reply With Quote

Old   January 16, 2025, 02:57
Default
  #19
New Member
 
Manjiri Relkar
Join Date: Oct 2024
Posts: 15
Rep Power: 2
manjirigr23 is on a distinguished road
hi, have you checked your mesh is everything ok for mesh? I think your mesh is a problem .First try running tutorial file without editing anything in it.
manjirigr23 is offline   Reply With Quote

Old   January 16, 2025, 06:12
Default
  #20
New Member
 
Yejin Ha
Join Date: Jan 2025
Posts: 5
Rep Power: 2
JiinY is on a distinguished road
Thank you for your response. I checked the mesh.

I confirmed that the temperature increases when running the simulation using the Allrun command.

--------------------terminal----------------------
Running blockMesh on /home/~/smallPoolFire2D
Running topoSet on /home/~/smallPoolFire2D
Running createPatch on /home/~/smallPoolFire2D
Running fireFoam on /home/~/smallPoolFire2D

However, when I manually execute the commands (blockMesh -> topoSet -> createPatch -> fireFoam) in the same order shown in the terminal after running Allrun, the temperature does not increase, even though I did not modify any folders. Why does this happen?

I would appreciate any help if anyone has experienced a similar issue.
JiinY is offline   Reply With Quote

Reply

Tags
firefoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Error with the FireFOAM examples farensheep OpenFOAM Bugs 3 July 25, 2015 15:54
fireFoam installation Roman1 OpenFOAM Installation 2 September 27, 2013 03:05
Install/compile fireFoam 1.6-1.0 in Openfoam 2.1.1 hz283 OpenFOAM Programming & Development 19 April 1, 2013 08:35
How to setup a proper "heatFlux" boundary for fireFoam? Jumping OpenFOAM Pre-Processing 0 March 27, 2013 09:27
pyrolysis in fireFoam windwin OpenFOAM 1 September 26, 2011 08:11


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