Dropping liquid from a funnel (Calculating the initial state)

OpenFOAM 4.x
This tutorial is not a stand-alone one. The results of the calculations here will be used in the tutorial "Dropping liquid from a funnel".

Case directory

$FOAM_TUTORIALS/lagrangian/icoUncoupledKinematicParcelFoam/hopper/hopperInitialState

Summary

We calculate the initial state for calculating the liquid dropping from the funnel.

The model geometry is shown in the figure below. The boundaries of the calculation domain are all walls (no-slip walls), and the calculation is performed for 0.25 seconds. The gravity direction is negative Y.

Model geometry Model geometry

The initial positions and properties of the Lagrangian particles are defined in the file "kinematicCloudPositions" and the file "kinematicCloudProperties" in the directory "constant", respectively, and the gravity acceleration is defined in the file "g" in the same directory.

The meshes are as follows.

Mesh Meshes

The calculation result is as follows.

Lagrangian particles at 0.25 sec

Visualization

To visualize the Lagrangian particles, after loading the data, move to last time. Then check the "kinematicCloud" checkbox in the Mesh Parts list of the pipeline browser and click the Apply button.

Select display items Select display items

Commands

cp -r $FOAM_TUTORIALS/lagrangian/icoUncoupledKinematicParcelFoam/hopper/hopperInitialState hopperInitialState
cd hopperInitialState

blockMesh
decomposePar
mpirun -np 4 icoUncoupledKinematicParcelFoam -parallel
reconstructPar -latestTime

paraFoam

Calculation time

12 minutes 55.47 seconds *4 parallel, Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz