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

2d axisymmetric with swirl

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 9, 2005, 06:51
Default Hi, I'm attempting to creat
  #1
New Member
 
Andrew Heather
Join Date: Mar 2009
Posts: 16
Rep Power: 8
heather is on a distinguished road
Hi,

I'm attempting to create a 2d axisymmetric (grid) with swirl case, for use with interFoam. I've created a simple geometry of a 5deg sector of a cylinder, one cell thick. The initial volume fraction is zero everywhere.

Boundary conditions:
- imagine a rectangle: left = inlet, right = pressure, top = wall, bottom = empty (axis)
- front and back boundaries declared as cyclic

Looking at the engineSwirl apps. I can see how to introduce the initial swirl (have added the swirl axis, point through which the axis passes, and a swirl component - defined as a frequency in Hz, to determine a volVectorField due to the swirl contribution). However - how do I include the swirl component in the equation set (for run-time calcs, not just initial U field setting)? - the swirl component is static wrt time.

Also - now that all cells have an associated constraint due to the boundary condition set, I'm getting the error message:

--> FOAM FATAL ERROR : Cannot find a cell not on a constraint boundary starting from cell 0

- Any ideas of how i can get around this - only route I can see is to include additional layers of cells?

Many thanks,

Andy
heather is offline   Reply With Quote

Old   June 9, 2005, 06:58
Default The code will naturally calcul
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
The code will naturally calculate the swirl component alond with the other two components of velocity.

The error message is a consequence of bugs in the current implementation of cell-constraints which do not work correctly on constraint boundaries. Do you have a pressure boundary condition at the outlet? If so the cell pressure constraint won't be used anyway and you can remove the check which causes the fatal error.
henry is offline   Reply With Quote

Old   June 9, 2005, 06:58
Default They boundary type on front an
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
They boundary type on front and back should be "wedge", not "cyclic".

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 9, 2005, 07:37
Default Thanks for the help - all work
  #4
New Member
 
Andrew Heather
Join Date: Mar 2009
Posts: 16
Rep Power: 8
heather is on a distinguished road
Thanks for the help - all working nicely
heather is offline   Reply With Quote

Old   July 28, 2005, 17:17
Default hi when front and back are w
  #5
Member
 
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 8
olivier is on a distinguished road
hi
when front and back are wedge I have this message:
------------------------------------------------
--> FOAM FATAL ERROR : wedge does not align with a coordinate plane

Function: wedgePolyPatch::wedgePolyPatch(const polyPatch&, const fvBoundaryMesh&)
in file: meshes/polyMesh/polyPatches/basicPolyPatches/wedgePolyPatch/wedgePolyPatch.C at line: 75.
-------------------------------------------------
what does mean this ERROR?
Thanks for the help!
olivier is offline   Reply With Quote

Old   July 28, 2005, 17:20
Default The way in which wedge patches
  #6
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
The way in which wedge patches should be constructed is described in the documentation, please check that your mesh conforms to these rules and by reading them you will understand what the error message means.
henry is offline   Reply With Quote

Reply

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
Axisymmetric Swirl Arpit Tiwari Main CFD Forum 1 September 15, 2010 05:45
Axisymmetric swirl CHT with MRF Jonathan FLUENT 0 September 30, 2008 04:53
AXISYMMETRIC SWIRL VALIDATION!!! Maria Main CFD Forum 1 April 11, 2008 07:57
2d-axisymmetric- swirl flow jaysree FLUENT 1 December 3, 2007 02:38
help:axisymmetric swirl usma FLUENT 1 November 4, 2004 00:55


All times are GMT -4. The time now is 18:00.