|
[Sponsors] |
June 9, 2005, 07:51 |
Hi,
I'm attempting to creat
|
#1 |
New Member
Andrew Heather
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
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 |
|
June 9, 2005, 07:58 |
The code will naturally calcul
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
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. |
|
June 9, 2005, 07:58 |
They boundary type on front an
|
#3 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
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 |
|
June 9, 2005, 08:37 |
Thanks for the help - all work
|
#4 |
New Member
Andrew Heather
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Thanks for the help - all working nicely
|
|
July 28, 2005, 18:17 |
hi
when front and back are w
|
#5 |
Member
olivier Petit
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 67
Rep Power: 17 |
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! |
|
July 28, 2005, 18:20 |
The way in which wedge patches
|
#6 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
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.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Axisymmetric Swirl | Arpit Tiwari | Main CFD Forum | 1 | September 15, 2010 06:45 |
Axisymmetric swirl CHT with MRF | Jonathan | FLUENT | 0 | September 30, 2008 05:53 |
AXISYMMETRIC SWIRL VALIDATION!!! | Maria | Main CFD Forum | 1 | April 11, 2008 08:57 |
2d-axisymmetric- swirl flow | jaysree | FLUENT | 1 | December 3, 2007 02:38 |
help:axisymmetric swirl | usma | FLUENT | 1 | November 4, 2004 00:55 |