Setup


cd $FOAM_RUN/tutorials/canal/cylinder
./clean.sh
less constant/polyMesh/blockMeshDict
blockMesh
checkMesh
paraFoam

View the resulting mesh carefully. This has been borrowed from the previous (potential) example, Figure [*]. Notice that a symmetry plane is imposed, which may be unrealistic for certain flow patterns (such as vortex shedding). Notice again the symmetryPlane entries in blockMeshDict. Next, find them in:

blockMesh
checkMesh
paraFoam

Notice the pressure is fixed on the right, with zero gradient on the left. Velocity, on the other hand, is $(1,0,0)$ on the left, zero gradient on the right. Other boundary conditions may be explored.

Run the simulation by typing icoFoam. Inspect the resulting pressure and velocity fields. Seed tracer particles on the right to inspect the flow pattern and its features (vortices, stagnation points).

Change $\nu$ in constant/transportProperties to explore the onset of vortex shedding.



Daniel Duque
2010-12-14