$FOAM_TUTORIALS/basic/potentialFoam/cylinder
Potential flow around a cylinder (perfect fluid flow without vortices) will be solved
The fluid flows in from the left (blue) region with velocity (1, 0, 0) and out from the right (red) region. symmetry conditions are set for the upper and lower surfaces (green, yellow, and gray) in the Y direction, and the calculation is performed as a two-dimensional problem with a single mesh in the Z direction.
The meshes are as follows.
After the potential flow calculation, the flow function is calculated and output. To visualize the stream function, check the "streamFunction" checkbox in the "Properties" tab on ParaView.
The calculation result is as follows.
Since it is a potential flow, no vortex is generated.
The boundary conditions are in the 0.orig directory, and the calculation results are overwritten in the 0 directory.
The solver arguments specify the use of functionObjects (-withFunctionObjects), output of the flow potential field (-writePhi), and output of the pressure field (-writep).
After the calculation, the utility streamFunction is used to calculate and output the stream function.
--- *Single, Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz