Lagrangian is now compatible with the meshToMesh topology changer. If a cloud is being simulated and this topology changer is active, then the cloud data will be automatically mapped between the specified sequence of meshes in the same way as the finite volume data. This works both for serial and parallel simulations. In addition, mapFieldsPar now also supports mapping of Lagrangian data when run in parallel.
25 lines
625 B
Bash
Executable File
25 lines
625 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
(
|
|
cd hopperInitialState || exit 1
|
|
runApplication blockMesh
|
|
runApplication decomposePar
|
|
runParallel $(getApplication)
|
|
runApplication reconstructPar
|
|
)
|
|
|
|
(
|
|
cd hopperEmptying || exit 1
|
|
runApplication blockMesh
|
|
runApplication decomposePar
|
|
runParallel mapFieldsPar ../hopperInitialState -sourceTime latestTime
|
|
runParallel $(getApplication)
|
|
runApplication reconstructPar
|
|
)
|
|
|
|
#------------------------------------------------------------------------------
|