Solid mechanics tutorial updates
This commit is contained in:
parent
8df1bdfb44
commit
d6dc105cb8
4 changed files with 7 additions and 31 deletions
|
@ -32,7 +32,6 @@ boundaryField
|
|||
nonLinear off;
|
||||
fileName "$FOAM_CASE/constant/timeVsRightTraction";
|
||||
}
|
||||
|
||||
down
|
||||
{
|
||||
type symmetryPlane;
|
||||
|
|
|
@ -5,19 +5,20 @@
|
|||
# Get application name from directory
|
||||
application="icoFsiElasticNonLinULSolidFoam"
|
||||
|
||||
cd fluid;
|
||||
cd fluid
|
||||
runApplication fluent3DMeshToFoam fluid.msh
|
||||
runApplication changeDictionary
|
||||
runApplication setSet -batch batch.setSet
|
||||
runApplication setsToZones -noFlipMap
|
||||
cd ..
|
||||
|
||||
cd ../solid;
|
||||
cd solid
|
||||
runApplication fluent3DMeshToFoam solid.msh
|
||||
runApplication changeDictionary
|
||||
runApplication setSet -batch batch.setSet
|
||||
runApplication setsToZones -noFlipMap
|
||||
|
||||
cd ..
|
||||
|
||||
./makeSerialLinks fluid solid
|
||||
|
||||
(cd fluid; runApplication $application)
|
||||
(cd fluid ; runApplication $application)
|
||||
|
|
|
@ -1,26 +1,12 @@
|
|||
#!/bin/tcsh
|
||||
|
||||
# Check for proper number of command line args.
|
||||
if ($#argv != 2) then
|
||||
echo "Usage: makeLinks fluidCase solidCase"
|
||||
goto done
|
||||
endif
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
|
||||
cd constant
|
||||
|
||||
ln -s ../../$2/constant solid
|
||||
|
||||
cd ../system
|
||||
|
||||
ln -s ../../$2/system solid
|
||||
|
||||
cd ../0
|
||||
|
||||
ln -s ../../$2/0 solid
|
||||
|
||||
cd ../../
|
||||
|
||||
|
||||
|
|
|
@ -1,17 +1,7 @@
|
|||
#!/bin/tcsh
|
||||
|
||||
# Check for proper number of command line args.
|
||||
if ($#argv != 2) then
|
||||
echo "Usage: makeLinks fluidCase solidCase"
|
||||
goto done
|
||||
endif
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
rm -rf 0/solid
|
||||
|
||||
rm -rf constant/solid
|
||||
|
||||
rm -rf system/solid
|
||||
|
||||
cd ..
|
||||
|
|
Reference in a new issue