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

interFoam simulation blowing up

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

Like Tree3Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   October 21, 2012, 09:24
Default
  #41
Senior Member
 
Matthew Denno
Join Date: Feb 2010
Posts: 131
Rep Power: 6
mgdenno is on a distinguished road
Hi ardjouna,

You haven't really provided enough information for me to help you. Perhaps you should have a look at this thread.

From what you said I would guess that maybe either your OF environment variables are not set properly or possibly you are using a recent version of OF but following a tutorial from an older version; recent versions use interFoam and not rasInterFoam. I think rasInterFoam may be from older versions or maybe from the extend version. I am not sure but have seen it referenced in some older posts.

If you type the following at the command:

Code:
echo $FOAM_INST_DIR
what do you see?
mgdenno is offline   Reply With Quote

Old   October 21, 2012, 12:51
Default
  #42
New Member
 
yakouna
Join Date: Oct 2012
Posts: 2
Rep Power: 0
ardjouna is on a distinguished road
HI Mathiew,

Thank you for your rapid reply excuse me for not being clear
error message is:this application is not available i am working with OpenFOAM-1.5.00b-wininst it works correctly with cavity tutorial because icofoam.exe exist in Bin folder but interfoam and also rasinterfoam doesn't exist is there any way to get it for windows ?

best regards
ardjouna is offline   Reply With Quote

Old   October 26, 2012, 05:40
Default
  #43
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 166
Rep Power: 6
vonboett is on a distinguished road
Quote:
Originally Posted by MOHAMMAD67 View Post
Dear Oliver
I did all things except extending the domain. Unfortunately it didn't work and after 1.3 seconds it blows out. I don't know how deal with. I reduced the delta T to 0.00001 and turn the adjustable time step off. It is running now. I will inform you from the result.
Maybe I should make the mesh finer. Whats your opinion. Does it help me to get result.
Kind Regard
Hi Mohammad,

the issue with phase reflection at the outlet appears to several users, and type buoyantPressure; value uniform 0; usually helps. There is a funny effect: could you move your mesh to the negative coordinate quadrant (all vertices have x coordinate < 0) and check what happens at the outlet if you use type outletInlet; outletValue uniform 0; for pressure at the open boundary?
vonboett is offline   Reply With Quote

Old   October 26, 2012, 08:48
Default
  #44
Senior Member
 
Matthew Denno
Join Date: Feb 2010
Posts: 131
Rep Power: 6
mgdenno is on a distinguished road
Quote:
Originally Posted by ardjouna View Post
HI Mathiew,

Thank you for your rapid reply excuse me for not being clear
error message is:this application is not available i am working with OpenFOAM-1.5.00b-wininst it works correctly with cavity tutorial because icofoam.exe exist in Bin folder but interfoam and also rasinterfoam doesn't exist is there any way to get it for windows ?

best regards
I believe there are a few more recent versions available for Windows. I would suggest Googling it. The other option is to run a virtual machine with Linux on it. This approach ios covered on the OpenFOAM website I believe.
mgdenno is offline   Reply With Quote

Old   November 19, 2012, 23:29
Default
  #45
New Member
 
Tsun-Hua Yang
Join Date: Nov 2012
Posts: 4
Rep Power: 3
Josh Yang is on a distinguished road
Hey,

I wonder did you solve your problem yet?
I am kind of running into a same issue as yours.

Thanks.

Josh
Josh Yang is offline   Reply With Quote

Old   November 21, 2012, 05:27
Default
  #46
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 166
Rep Power: 6
vonboett is on a distinguished road
Quote:
Originally Posted by vonboett View Post
Hi Mohammad,

the issue with phase reflection at the outlet appears to several users, and type buoyantPressure; value uniform 0; usually helps. There is a funny effect: could you move your mesh to the negative coordinate quadrant (all vertices have x coordinate < 0) and check what happens at the outlet if you use type outletInlet; outletValue uniform 0; for pressure at the open boundary?
Actually, zeroGradient for pressure at the outlet works best for me.
vonboett is offline   Reply With Quote

Old   March 29, 2013, 13:41
Default
  #47
cjz
New Member
 
Join Date: Feb 2010
Posts: 14
Rep Power: 6
cjz is on a distinguished road
Hello mgdenno,
I'm wondering if you ever got your simulation to run to completion? I've been working on a similar open channel flow for the past couple of weeks and find my simulation fails part way through. There is a sudden velocity magnitude that is orders of magnitude higher than the previous. I've set cAlpha = 0 but the problem remains. If you've been successful I'd be interested in knowing what combination of fvSolution, fvSchemes, and boundary conditions worked for you.

Thanks for any help you can provide.
cjz is offline   Reply With Quote

Old   March 29, 2013, 20:38
Default
  #48
Senior Member
 
Matthew Denno
Join Date: Feb 2010
Posts: 131
Rep Power: 6
mgdenno is on a distinguished road
I think what worked in my case was to initially use:

Code:
gradSchemes
{
    default         Gauss linear;
    grad(U)        cellLimited Gauss linear 1; 
}

divSchemes
{
    div(rho*phi,U) Gauss linearUpwindV grad(U);
    div(phi,alpha)  Gauss vanLeer;
    div(phirb,alpha) Gauss interfaceCompression;
    div(phi,k)      Gauss upwind;
    div(phi,epsilon) Gauss upwind;
    div(phi,R)      Gauss upwind;
    div(R)          Gauss linear;
    div(phi,nuTilda) Gauss upwind;
    div((nuEff*dev(T(grad(U))))) Gauss linear;
}
Hope that helps.

Matt
mgdenno is offline   Reply With Quote

Old   August 9, 2013, 07:59
Default Instability in Open channel flow with interFoam
  #49
New Member
 
Maxim Sorockin
Join Date: Oct 2012
Posts: 9
Rep Power: 3
sorockin is on a distinguished road
Dear Matthew,

I try to simulate flow in open channel with interFoam.
Open channel flow with interFoam
My case is 2D and I used BCs from your working case. But I can't overcome instability that arise at inlet. May be you can help me with advice? Unlike your case I turned off turbulence.

Thank you.
Maxim
sorockin is offline   Reply With Quote

Old   August 9, 2013, 09:10
Default
  #50
cjz
New Member
 
Join Date: Feb 2010
Posts: 14
Rep Power: 6
cjz is on a distinguished road
Have you tried adjusting cAlpha?

from:

http://www.openfoam.org/docs/user/damBreak.php

The cAlpha keyword is a factor that controls the compression of the interface where: 0 corresponds to no compression; 1 corresponds to conservative compression; and, anything larger than 1, relates to enhanced compression of the interface. We generally recommend a value of 1.0 which is employed in this example.
cjz is offline   Reply With Quote

Old   August 9, 2013, 10:15
Default fvSolushion
  #51
New Member
 
Maxim Sorockin
Join Date: Oct 2012
Posts: 9
Rep Power: 3
sorockin is on a distinguished road
My cAlpha=1 was and now. But now I took fvSolushion setting from Matthew and looks like issue is solved.
Open channel flow with interFoam

Thank you Matthew!

Maxim
sorockin is offline   Reply With Quote

Reply

Tags
interfoam, spillways

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
Solar Radiation in OpenFOAM plainstyle OpenFOAM Running, Solving & CFD 15 July 8, 2014 04:43
GUI crash and simulation engine still running RPJones FLOW-3D 2 November 9, 2010 08:18
velocity profile export from a simulation onto another sudhirlv STAR-CCM+ 1 September 12, 2010 18:57
Continuous vs interrupted simulation sega OpenFOAM Running, Solving & CFD 4 November 3, 2008 14:29
strange simulation error Ralf Schmidt FLUENT 2 May 4, 2007 13:02


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