CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

Ignition fails in parallel run combustion solvers

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 18, 2008, 08:24
Default During parallel run the term "
  #1
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
During parallel run the term "ignSites.cells()" in file "ignite.H" returns no cell and ignition does not occur.
it does not depend on the number of cpus or the method of decomposition.
but with a single cpu there is no problem.

Any suggestions!!!
msha is offline   Reply With Quote

Old   December 19, 2008, 06:13
Default Does it work in 1.5.x?
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Does it work in 1.5.x?
mattijs is offline   Reply With Quote

Old   December 19, 2008, 09:04
Default IS OF 1.5.x modified for paral
  #3
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
IS OF 1.5.x modified for parallel?

I've not examined it,but I'll check it and inform you soon.
msha is offline   Reply With Quote

Old   December 25, 2008, 05:00
Default YES! Problem persists even ru
  #4
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
YES!
Problem persists even running on OF 1.5.
msha is offline   Reply With Quote

Old   December 26, 2008, 14:57
Default My understanding is this probl
  #5
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
My understanding is this problem is fixed in version 1.5.x, have you tried that version?

H
henry is offline   Reply With Quote

Old   December 27, 2008, 01:46
Default NO! Would you tell me ,pleas
  #6
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
NO!
Would you tell me ,please;
1-what is the origin of such a problem?
2-what changes has been made in 1.5.x?

Thanks Henry!
msha is offline   Reply With Quote

Old   January 8, 2009, 07:26
Default IS the problem solved in 1.5.x
  #7
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
IS the problem solved in 1.5.x ?



would anyone tell me how to get tihs fix,I've "time out error in connection" when trying to use git.

thanks one who replies!
msha is offline   Reply With Quote

Old   January 8, 2009, 11:53
Default I ran my cases on OF 1.5.x (th
  #8
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
I ran my cases on OF 1.5.x (the update up to the time of writing this)

The problem of ignition still persists.

I think that the function "findCell" in /src/meshTools/meshSearch/meshSearch.C doesn't work correctly in parallel (more than 2 CPUs)

the fix offered by mattjis (from git) in file "ignitionSites.C" was not helpful.

I hope this bug will be fixed soon by some one.

thanks!
msha is offline   Reply With Quote

Old   January 11, 2009, 06:34
Default has any one fixed this up to t
  #9
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
has any one fixed this up to this date?
msha is offline   Reply With Quote

Old   January 11, 2009, 07:40
Default I have just run several XiFoam
  #10
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
I have just run several XiFoam cases in serial and parallel and I do not see any problem: I get the correct number of ignition cells in serial and parallel.

H
henry is offline   Reply With Quote

Old   January 11, 2009, 07:42
Default Does this problem occur with a
  #11
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Does this problem occur with any of the tutorials or do you have a testcase we can try?
mattijs is offline   Reply With Quote

Old   January 12, 2009, 00:59
Default Dear Henry & Mattijs: My ca
  #12
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
Dear Henry & Mattijs:

My cases are :
1-Tutorial of XiFoam
2-Tutorial of dieselFoam
3-Two reactingFoam cases with complex burner geometry to simulate non-premixed combustion.

If you want,I can send my two reactingFoam cases as well as my customized solver(i.e. reactingFoam with ignition implementation), but the files are too big(one 500 Mb and another 50Mb )


Ignition is applied to reactingFoam solver as proposed by Niklas Nordin at http://openfoamwiki.net/index.php/Contrib_reactingFoam

*Notice that ignition fails in parallel run with more than 2 CPUs! I've tried all cases with 4,8,12,16,20 CPUs.


My cluster OS is CentOS with ROCKs as cluster tool.Codes like Fluent runs fine on the cluster.


There is some information on this in the threat:
http://www.cfd-online.com/OpenFOAM_D...tml?1229581879

Special Thanks for your time and consideration!
Sincerely
M.Sha
msha is offline   Reply With Quote

Old   January 12, 2009, 01:02
Default Dear Henry & Mattijs: My ca
  #13
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
Dear Henry & Mattijs:

My cases are :
1-Tutorial of XiFoam
2-Tutorial of dieselFoam
3-Two reactingFoam cases with complex burner geometry to simulate non-premixed combustion.

If you want,I can send my two reactingFoam cases as well as my customized solver(i.e. reactingFoam with ignition implementation), but the files are too big(one 500 Mb and another 50Mb )


Ignition is applied to reactingFoam solver as proposed by Niklas Nordin at http://openfoamwiki.net/index.php/Contrib_reactingFoam

*Notice that ignition fails in parallel run with more than 2 CPUs! I've tried all cases with 4,8,12,16,20 CPUs.


My cluster OS is CentOS with ROCKs as cluster tool.Codes like Fluent runs fine on the cluster.


There is some information on this in the threat:
http://www.cfd-online.com/OpenFOAM_D...tml?1229581879

Special Thanks for your time and consideration!
Sincerely
M.Sha
msha is offline   Reply With Quote

Old   January 12, 2009, 04:15
Default I just ran the XiFoam tutorial
  #14
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
I just ran the XiFoam tutorial on 4 CPUs without any issue with the ignition cells; I cannot reproduce your problem. If you would like us to investigate your problem further we will need more details.

H
henry is offline   Reply With Quote

Old   January 12, 2009, 08:42
Default Dear Henry What kind of det
  #15
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
Dear Henry

What kind of details do you need to know?
msha is offline   Reply With Quote

Old   January 15, 2009, 02:41
Default Dear Henry My cluster is a
  #16
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
Dear Henry

My cluster is a AMD based cluster.each node has 4 CPUs(2 x Dual Core) 64 bit. The OS is CentOS and The cluster tool is ROCKS.

I've set WM_64=yes in $HOME/.bashrc to tell OF the system is 64.
As OF uses mpi I type for example:

mpirun -machinefile hosts -np 16 reactingFoam . boiler -parallel

Is above syntax true?

Then when code runs at first and before any time step it reports that Found Ignition Cells and writes cell number included in ignitionSites defined in combustionPropertiesDict.

But in time step it does not print the report "igniting cell (cell number)"
as when in single cpu run.

any comments?

P.S: My MS thesis depends on parallel processing with OF,So it would be very nice of you if you take my dilemma in your consideration.

Thanks for your Time!
msha is offline   Reply With Quote

Old   January 15, 2009, 04:33
Default > mpirun -machinefile hosts -n
  #17
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
> mpirun -machinefile hosts -np 16 reactingFoam . boiler -parallel

> Is above syntax true?

For version 1.5 and 1.5.x this is not correct, see manual.

> But in time step it does not print the report "igniting cell (cell number)"

That's because the code is setup to print this information only from the master processor and if you do not have ignition cells on the master nothing will be printed but the code will run correctly nevertheless.

If you would like all the processors to print this message change "Info" to "Pout" in OpenFOAM-1.5.x/src/engine/ignition/ignite.H and recompile your application.

H
henry is offline   Reply With Quote

Old   January 17, 2009, 04:49
Default Thanks Henry I should tell
  #18
Member
 
Mojtaba Shahmohammadian
Join Date: Mar 2009
Posts: 73
Rep Power: 8
msha is on a distinguished road
Thanks Henry

I should tell you these earlier.

thanks again.
msha is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
InterDyMFoam dynamic messing in parallel fails under nonquiescent conditions adona058 OpenFOAM Running, Solving & CFD 5 August 19, 2010 11:47
Qs on combustion/ignition in CFX 5.5.1 beginner1 CFX 6 August 6, 2010 11:16
InterDyMFoam dynamic meshing in parallel fails under nonquiescent conditions adona058 OpenFOAM Bugs 7 November 18, 2008 15:58
Ignition and combustion Mai CD-adapco 7 May 10, 2006 09:59
Serial run OK parallel one fails r2d2 OpenFOAM Running, Solving & CFD 2 November 16, 2005 13:44


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