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

Running stably with a large Courant number using pimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2009, 17:14
Default Running stably with a large Courant number using pimpleFoam
  #1
New Member
 
Michael Lawson
Join Date: Apr 2009
Location: NREL - Boulder, CO
Posts: 11
Rep Power: 17
mlawson is on a distinguished road
I am attempting to simulate laminar incompressible pulsatile flow in a complex geometry. To adequately resolve my geometry I need at least 15 million cells. I am driving the flow by setting the pressure and the outlet and oscillation pressure at the inlet.

Currently I am using pimpleFoam with automatic timestep adjustment to maintain a max Courant number of 2. Using a higher Courant number causes the solution to become unstable.

My problem is that at a max Courant number of 2 my timesteps are between 1E-5 and 1E-6 seconds. I need to simulate at least 1 second of time, which would require at least 100,000 timesteps at my current timestep. Given the size of my model, solving this many timesteps is computationally prohibitive.

I'm using fvSolution and fvSchemes dictionaries directly from the pimpleFoam tutorial in OF-1.6 (see attached).

Does anyone have any suggestions on how I could increase my timesteps by a couple orders of magnitude to make this simulation feasible? Should I be using a different solver? Should I be using a different discretization scheme?

Any help would be appreciated,
-Mike
Attached Files
File Type: txt fvSolution.pimpleFoam.txt (2.2 KB, 184 views)
File Type: txt fvSchemes.pimpleFoamTut.txt (1.9 KB, 128 views)
mlawson is offline   Reply With Quote

Old   July 13, 2012, 07:04
Default
  #2
Senior Member
 
Julien
Join Date: Jun 2012
Location: France
Posts: 152
Rep Power: 14
Djub is on a distinguished road
Hi Mike,

Did you solve your problem?
I am trying to run a case with a very large Reynolds number (2.5e8). So I would like also to run with a large Co (Courrent flow) to limit my time calculation.
Does anyone has a solution? Or maybe an explanation that what I am looking for does not exist (and cannot exist)? Maybe the Co cannot be greater thant 1 in an unsteady flow?
In that case, is there in OpenFoam any Explicit algorithm for unsteady, incompressible, turbulent, newtonian flow ?
Djub is offline   Reply With Quote

Old   November 24, 2014, 10:27
Default
  #3
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Dear all, any news on this topic?
I was wondering if there was a way to detach Co from the pimple solver, being able to use fixed (and larger!) time steps, as I think it's done in Fluent or other solvers.
Any ideas or suggestions?
crixman is offline   Reply With Quote

Old   November 24, 2014, 11:25
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Use first-order schemes. With upwind scheme I was able to run a case (quite simple - von Karman vortex street) with Co up to 50.
alexeym is offline   Reply With Quote

Old   November 24, 2014, 13:05
Default
  #5
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Interesting to know, did you use turbulence schemes as well?
I could give it a try to start the simulation then switch to second order schemes, even if I'm not sure that the Co jump will be too big to be handled by the solver then!
crixman is offline   Reply With Quote

Old   November 24, 2014, 15:11
Default
  #6
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
No, simulation was at rather low Re (100).
alexeym is offline   Reply With Quote

Old   November 24, 2014, 17:32
Default
  #7
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
I'm making an extreme test, I'll keep you updated if I could reach an interesting value of Co (turbomachinery with kOmegaSST)!
crixman is offline   Reply With Quote

Old   November 24, 2014, 18:13
Default
  #8
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi, you should Check the pimple stuft at the Wikipedia Site.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   November 24, 2014, 18:28
Default
  #9
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Hi Tobi, sure, wanted to learn more and try out to see how far I can push it!
crixman is offline   Reply With Quote

Old   November 24, 2014, 18:33
Default
  #10
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
It Is also in my blog.
And before I ment the open foam wiki
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   November 24, 2014, 18:38
Default
  #11
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
I will look it through thanks and post some updates as soon as I got time!
crixman is offline   Reply With Quote

Old   November 29, 2014, 11:37
Default
  #12
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Hi Tobi, I read through your post about Pimple and I am now running at Co=12.5 and everythign seems to converge well!
As I am using upwind schemes for U,k and omega, when switching to linear schemes, should I drop my Co below 1?
crixman is offline   Reply With Quote

Reply

Tags
pimplefoam


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
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 13:55
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Courant number msrinath80 OpenFOAM Running, Solving & CFD 1 May 29, 2006 18:20
ENO scheme and Courant number. J. Main CFD Forum 2 November 8, 2002 18:07


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