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

Appropriate boundary conditions for external incompressible flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2005, 11:14
Default Hi, I'm trying to run simpl
  #1
New Member
 
Matt Amos
Join Date: Mar 2009
Posts: 7
Rep Power: 17
mattamos is on a distinguished road
Hi,

I'm trying to run simpleFoam on a test geometry at about M=0.05, laminar. I set up the case using FoamX with an inletOutlet boundary condition in the far-field, but since my flow is external (and there is only one hemispherical patch) this results in the solution converging to a quiescent state.

If I change the 0/U boundary condition to fixedValue the problem becomes overdetermined and never converges.

Is there a more appropriate boundary condition, or a method for specifying a velocity-driven external flow rather than a pressure-driven one?

Thanks,

Matt
mattamos is offline   Reply With Quote

Old   July 27, 2005, 11:23
Default What did you choose as the inl
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
What did you choose as the inletValue for U?
henry is offline   Reply With Quote

Old   July 27, 2005, 11:39
Default Henry, The internalField an
  #3
New Member
 
Matt Amos
Join Date: Mar 2009
Posts: 7
Rep Power: 17
mattamos is on a distinguished road
Henry,

The internalField and pressureInletOutletVelocity are both set to uniform (15 0 0).

inletValue is only set for the turbulent fields, which I'm not using at present.

Thanks,

Matt
mattamos is offline   Reply With Quote

Old   July 27, 2005, 11:45
Default Try using inletOutlet on U wit
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Try using inletOutlet on U with an inletValue of (15 0 0) and zeroGradient on p.

pressureInletOutletVelocity should only be used in conjunction with fixedValue for p which I guess is not appropriate for your case.
henry is offline   Reply With Quote

Old   July 27, 2005, 12:22
Default This results in very large num
  #5
New Member
 
Matt Amos
Join Date: Mar 2009
Posts: 7
Rep Power: 17
mattamos is on a distinguished road
This results in very large numbers of iterations for p (about 200 to produce a couple of orders of magnitude drop in the residual) and the solution becomes non-physical after about 20 pseudotime steps.

As I understand it, using zeroGradient for all the boundaries of p (well, there is a symmetry plane, but that is the same thing) means that the matrix is underdetermined?
mattamos is offline   Reply With Quote

Old   July 27, 2005, 12:25
Default There is a setReference to han
  #6
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
There is a setReference to handle this and adjustPhi is used to ensure the boundary fluxes obey continuity.
henry is offline   Reply With Quote

Old   July 28, 2005, 11:54
Default Thanks Henry, that seemed to w
  #7
New Member
 
Matt Amos
Join Date: Mar 2009
Posts: 7
Rep Power: 17
mattamos is on a distinguished road
Thanks Henry, that seemed to work. I'm still not getting full convergence, but have tracked down the problem to a poor quality element in the boundary region. Hopefully a better mesh will fix that.
mattamos is offline   Reply With Quote

Old   July 28, 2005, 12:03
Default You may be able to improve con
  #8
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
You may be able to improve convergence by selecting more stable/lower-order schemes, in partricular you might find it useful to use the limited laplacian. However, improving the mesh is always preferable if possible.
henry is offline   Reply With Quote

Reply


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
External,incompressible flow boundary condition? John FLUENT 2 August 19, 2011 00:42
External Incompressible flow Boundary conditions Himanshu Almadi FLUENT 2 November 13, 2009 09:17
Boundary Conditions for External Flow raytracer OpenFOAM Running, Solving & CFD 4 July 14, 2008 12:18
Boundary Conditions for Incompressible Flow Bob FLUENT 0 April 7, 2006 21:28
External,incompressible flow boundary condition? John Main CFD Forum 0 October 1, 2003 00:00


All times are GMT -4. The time now is 07:23.