mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
potentialFreeSurfaceDyMFoam: New DyM version of potentialFreeSurfaceFoam
with tutorial
This commit is contained in:
21
tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/Allrun
Executable file
21
tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/Allrun
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Set application name
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication topoSet
|
||||
mv log.topoSet log.topoSet.1
|
||||
runApplication subsetMesh -overwrite c0 -patch floatingObject
|
||||
runApplication topoSet -dict system/topoSetDict-selectBottom
|
||||
runApplication createPatch -overwrite
|
||||
|
||||
cp -r 0.org 0 > /dev/null 2>&1
|
||||
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
Reference in New Issue
Block a user