CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Urgent: interFoam crashing for flow through a tunnel duct

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2016, 11:28
Exclamation Urgent: interFoam crashing for flow through a tunnel duct
New Member
Join Date: Jun 2013
Posts: 5
Rep Power: 12
agarwa58 is on a distinguished road
Hi all,

I am trying to model a simple problem of flow through a tunnel duct. The domain consists of a velocity inlet and 2 pressure outlets as shown in the image attached. The tunnel receives liquid flow at the inlet and fills up only the bottom half of the tunnel volume. The solution starts smoothly but crashes after few iterations (at t=5 sec).

Even after repeated attempts and different combination of numerical schemes & BCs, I couldn't prevent the solution from crashing. The mesh quality looks good with no errors reported on running checkMesh.

Can someone inspect the case files and check if the BCs are defined correctly? Also, are the fvSchemes and fvSolution files ok for a robust multiphase simulation run? All the relevant files are attached here. It will be great if someone can help out ASAP.

Thanks and Regards,
Attached Images
File Type: jpg geom.jpg (27.5 KB, 25 views)
Attached Files
File Type: zip (12.2 KB, 9 views)
File Type: txt fvSchemes.txt (1.5 KB, 5 views)
File Type: txt fvSolution.txt (1.6 KB, 5 views)
agarwa58 is offline   Reply With Quote

Old   August 25, 2016, 08:15
New Member
Join Date: Jan 2016
Posts: 10
Rep Power: 10
katete is on a distinguished road

I am also using interFoam to simulate flow in closed ducts.
Here you can find a thread I started with a working set of boundary conditions for OF 2.4.0:

I had a look at your case and found the following:
- alpha.water: you might try inletOutlet at the inlet for water and air (see my case).
- p_rgh: are you using OF 2.3.0? As far as I know the buoyantPressure-bc is not supported anymore. Try fixedFluxPressure instead (
- U: sometimes you can get stability problems when you are using fixedValue U for a three-dimensional geometry surrounded by walls. Try flowRateInletVelocity instead.

I hope this helps.

Kind regards
katete is offline   Reply With Quote


duct, interfoam, schemes

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
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 05:58
air flow in a tunnel Tariq Feroze FLUENT 9 January 4, 2014 03:16
Duct structure in Wind Tunnel: Continuity problem? JR22 OpenFOAM Running, Solving & CFD 4 April 1, 2013 10:39
Interfoam... free surface simulation urgent lostin4ever Main CFD Forum 4 October 12, 2010 08:29
flow simulation across a small fan jane luo Main CFD Forum 15 April 12, 2004 17:49

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