Dropping liquid from a funnel

Update: February 28, 2018
OpenFOAM 4.x
This tutorial cannot be run by itself. You must first run the tutorial "Dropping liquid from a funnel (Calculating the initial state)".

Case directory



We calculate the dropping liquid from the funnel.

The model geometry is shown in the figure below. The velocity is set to gradient zero at the region "inlet" and "outlet", and all other boundaries of the calculation domain are walls (no-slip walls). The gravity direction is negative Y, and the calculation is performed for 5 seconds.

Model geometry Model geometry

The initial state of the Lagrangian particles is copied from another tutorial "Dropping liquid from a funnel (Calculating the initial state)". The properties of the Lagrangian particles are defined in the file "kinematicCloudProperties" in the directory "constant", 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's motion
Initial state of Lagrangian particles
Lagrangian particles at 2.5 sec
Lagrangian particles at 5.0 sec


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

Select display items Select display items


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

rm -rf 0
cp -r 0.orig 0
mapFields ../hopperInitialState -sourceTime latestTime
mpirun -np 4 icoUncoupledKinematicParcelFoam -parallel


The utility "mapFields" is used to set the initial conditions by copying the results from another tutorial in the same directory.

Calculation time

3 hours 31 minutes 46.7 seconds *4 parallel, Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz