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

InterFoam performance

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2013, 11:25
Default InterFoam performance
  #1
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
Hi to all,
I have a problem whit the performance of inteFoam. My problem concern a circular pipe filled with liquid and closed to both extremity. At initial time the right wall of the pipe is opened and gas allowing gas to go inside and liquid outside. My aim is to validate OpenFOAM for this kind of problem so I compared its performance with Fluent.
The comparison seems very good but there is a strange difference.
In my simulations I use a fixed Courant number and adaptive time step. The difference between is that Fluent give me a deltaT around 10e-04 while OpenFOAM give me a deltaT around 10e-6.So the simulation run very slow with OpenFOAM...Why this different behavior?There i a way to speed simulation?
I obtain a little accelerate through decreasing tolerance but I would obtain i larger time step if possibile and kwon why there is this difference between two code.

thanks to all
giack is offline   Reply With Quote

Old   June 13, 2013, 19:04
Default
  #2
Senior Member
 
kilroy's Avatar
 
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13
kilroy is on a distinguished road
Giack,

You can try to give interFoam a fixed time step. That may help you to speed-up your simulation.

Hope this helps,

Kilroy
kilroy is offline   Reply With Quote

Old   June 14, 2013, 04:24
Default
  #3
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
thanks for your reply
the problem of using a fixed time step is that I could overcome the maximum Courant number that ensure stability. I find in the forum that a way to run faster is set a maxCoalpha=1 with nAlphaSubCycle=5 (so the maxAlphaCo is 0.2 for each time step of alpha equation) and a maxCo=2. the simulation is a 10% faster but i dont understand the set maxCo=2.interFoam is an explicit solver,so the maxCo have to set to1.I go wrong?
giack is offline   Reply With Quote

Old   June 14, 2013, 10:59
Default
  #4
Senior Member
 
kilroy's Avatar
 
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13
kilroy is on a distinguished road
I am not an expert on this subject but if your Courant number exceeds the value "1" during an explicit time integration, your simulation will blow up. Maybe your courant number doesn't exceed the value one although you set maxCo=2.

Have you tried to run the same simulation by only changing maxCo=1? Maybe it will still be 10% faster.

Since your simulation doesn't blow up, I believe that your Courant number is still smaller than 1.
kilroy is offline   Reply With Quote

Old   June 14, 2013, 11:14
Default
  #5
Member
 
Join Date: Mar 2013
Posts: 98
Rep Power: 13
giack is on a distinguished road
Thanks for the advice,I will test it
giack is offline   Reply With Quote

Reply

Tags
adaptive-time stepping, interfoam, performance, time step


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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
Problem of InterFoam with LES SpalartAllmarasIDDES keepfit OpenFOAM 3 August 29, 2013 12:21
parallel performance on BX900 uzawa OpenFOAM Installation 3 September 5, 2011 16:52
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 22:58
Performance of interFoam running in parallel hsieh OpenFOAM Running, Solving & CFD 8 September 14, 2006 10:15


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