Setup


cd $FOAM_RUN/tutorials/basic/potentialFoam
./Allclean
cd cylinder
less constant/polyMesh/blockMeshDict

As usual by now, set up the mesh, and view it:

blockMesh
checkMesh
paraFoam

Inspect the resulting mesh carefully. Notice the symmetryPlane entries in blockMeshDict. Next, find them in:

less 0/p
less 0/U

Figure: Blocks in cylinder geometry, from Ref. 1.
\includegraphics[width=0.5\textwidth]{cylinder1}

Run the simulation by typing potentialFoam. Or, use ./Allrun, which compiles a new program, which may be run thus: $FOAM_RUN/../applications/bin/linux64GccDPOpt/analyticalCylinder.



Daniel Duque
2010-12-14