24 lines
584 B
Bash
Executable file
24 lines
584 B
Bash
Executable file
#!/bin/sh
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Get application name from directory
|
|
application="icoFsiElasticNonLinULSolidFoam"
|
|
|
|
cd fluid
|
|
runApplication fluent3DMeshToFoam fluid.msh
|
|
runApplication changeDictionary
|
|
runApplication setSet -batch batch.setSet
|
|
runApplication setsToZones -noFlipMap
|
|
cd ..
|
|
|
|
cd solid
|
|
runApplication fluent3DMeshToFoam solid.msh
|
|
runApplication changeDictionary
|
|
runApplication setSet -batch batch.setSet
|
|
runApplication setsToZones -noFlipMap
|
|
cd ..
|
|
|
|
./makeSerialLinks fluid solid
|
|
|
|
(cd fluid ; runApplication $application)
|