
[Sponsors] 
June 26, 2013, 14:07 
No Flow Problem

#1 
New Member
Join Date: Jun 2013
Posts: 6
Rep Power: 5 
Hi all,
I'm new to open foam and CFD in general and am trying to start very basic in terms of OpenFoam simulation. My first project is to start with an empty block of air (no geometry) with no flow. My (probably misguided) way of doing this was to copy the initial cavity tutorial and modify it to have no flow by only using fixed walls (i.e. removing fixedWalls and frontAndBack in all boundaryField sections in the 0/ folder, as well as in the boundary section in blockMeshDict (I moved all the faces to fixedWalls). I made the velocity in transportProperties 0.0 for no flow. I tried to run with icoFoam, but just got this spit out over and over: Code:
... Time = 0.495 Courant Number mean: 0 max: 0 DILUPBiCG: Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0 DILUPBiCG: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0 DILUPBiCG: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0 DICPCG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 DICPCG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 ExecutionTime = 0.14 s ClockTime = 0 s Time = 0.5 Courant Number mean: 0 max: 0 DILUPBiCG: Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0 DILUPBiCG: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0 DILUPBiCG: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0 DICPCG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 DICPCG: Solving for p, Initial residual = 0, Final residual = 0, No Iterations 0 time step continuity errors : sum local = 0, global = 0, cumulative = 0 ExecutionTime = 0.15 s ClockTime = 0 s End Any help is much appreciated! 

June 26, 2013, 14:26 

#2 
Senior Member
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 118
Rep Power: 8 
Dear swartzism
Before starting any numerical simulation you should understand the physics of your problem. the icoFoam solver calculates the velocity & pressure for a laminar flow. so I have a question: If you do not have any flow then WHAT do you exactly want to solve??
__________________
“If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas.” 

June 27, 2013, 09:43 

#3  
New Member
Join Date: Jun 2013
Posts: 6
Rep Power: 5 
Quote:
The intention of this first overly simple simulation is to build my openFoam knowledge from the literal "ground" up. The intended progression is as follows:
Thanks again 

June 27, 2013, 14:36 

#4 
New Member
Join Date: Jun 2013
Posts: 6
Rep Power: 5 
I believe what's happening is that since there is no flow, the tolerance parameter in fvSolution is automatically satisfied and it never iterates. Is it possible to neglect tolerance and relTol and iterate up to maxIter. This idea coming from 4.5.1.1 in http://www.openfoam.org/docs/user/fvSolution.php
Thanks 

June 27, 2013, 16:41 

#5 
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 728
Rep Power: 20 
It looks fine, solving for zero flow to specified accuracy happens very fast, especially if you start from zero initial conditions.


June 27, 2013, 17:02 

#6 
New Member
Join Date: Jun 2013
Posts: 6
Rep Power: 5 
Cool beans. I found a comprehensive list of which openFoam tools are used for specific problems. However, under compressible cases (i.e. what I was going for), I couldn't find a clear choice for air. Is there a standard?
Thanks for the replies 

June 27, 2013, 20:15 

#7 
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,209
Rep Power: 19 
interesting job!
Do you want to understand how a solver works by this test only?i admire your creativity but there's better ways to do that.its not so hard that you may imagine. I think you have exaggerated your problem.go and start with naca tutorial without any doubt.you don't need to invent the wheel from first.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. 

Tags 
icofoam, no flow 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Having Problem solving 2D supersonic flow around a plug nozzle  chrislloyd  FLUENT  7  July 22, 2015 13:09 
Low Mixing time Problem  Mavier  CFX  5  April 29, 2013 00:00 
flow past abdominal aorta. Complex BC problem.  ziemowitzima  OpenFOAM Running, Solving & CFD  0  April 5, 2010 13:30 
transient compressible flow problem (urgent plz)  jehanzeb  FLUENT  5  August 3, 2004 08:04 
fluid flow fundas  ram  Main CFD Forum  5  June 17, 2000 21:31 