all done
This commit is contained in:
1 parent
6fc22b0da5
commit
766efce688
475 files changed
+72727
-1
No files matched your search
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
rm -r log.*
|
||||
rm -r *.obj
|
||||
|
||||
# Get application directory
|
||||
application=`getApplication`
|
||||
echo $application
|
||||
|
||||
## Get the number of processors to run on from system/decomposeParDict
|
||||
nProc=$(getNumberOfProcessors)
|
||||
echo "the number of processors to run on from system/decomposeParDict: $nProc"
|
||||
|
||||
# Create mesh
|
||||
runApplication fluent3DMeshToFoam MOSAiC_seaice.msh
|
||||
|
||||
# Re-assign the patches
|
||||
runApplication createPatch -overwrite
|
||||
|
||||
# Distribute domain among processors
|
||||
runApplication decomposePar
|
||||
|
||||
# Run snow transport model
|
||||
runApplication mpirun -np $nProc $application -parallel
|
||||
|
||||
Reference in new issue
Block a user