Updated base openfoam model
This commit is contained in:
parent
f1d61d0a4c
commit
ea49c5424f
5 changed files with 0 additions and 77 deletions
|
@ -59,8 +59,6 @@ boundaryField
|
|||
outlet
|
||||
{
|
||||
type waveAbsorption2DVelocity;
|
||||
absorptionDir 666.0;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
#!/bin/bash
|
||||
shopt -s extglob
|
||||
|
||||
directory=`pwd`
|
||||
|
||||
read -p "Clearing case. Are you sure? (y/N) " -n 1 -r
|
||||
echo ' '
|
||||
if ! [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ -d "./constant/polyMesh" ]; then
|
||||
cd ./constant/polyMesh
|
||||
rm -fr !(blockMeshDict)
|
||||
cd $directory
|
||||
fi
|
||||
|
||||
rm -fr *[0-9].[0-9]* [0-9] [1-9]* gaugesVOF gaugesP postProcessing processor*
|
||||
rm -f *.log
|
||||
#rm -f constant/turbulenceProperties
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
cp constant/turbulenceProperties_keps constant/turbulenceProperties
|
||||
|
||||
echo blockMesh meshing...
|
||||
blockMesh #> blockMesh.log
|
||||
|
||||
echo snappyHexMesh meshing...
|
||||
snappyHexMesh -overwrite #> snappyHexMesh.log
|
||||
|
||||
echo Preparing 0 folder...
|
||||
cp -r 0.org/ 0
|
||||
|
||||
echo Setting the fields...
|
||||
setFields #> setFields.log
|
||||
|
||||
#olaFlow
|
||||
echo Decomposing domain...
|
||||
decomposePar #> decomposePar.log
|
||||
|
||||
echo Running...
|
||||
mpirun -np 4 olaFlow -parallel #> olaFlow.log
|
||||
|
||||
echo Reconstructing domain...
|
||||
reconstructPar
|
||||
echo Simulation complete
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -p 0
|
||||
|
||||
cp constant/turbulenceProperties_sst constant/turbulenceProperties
|
||||
|
||||
echo blockMesh meshing...
|
||||
blockMesh #> blockMesh.log
|
||||
|
||||
echo snappyHexMesh meshing...
|
||||
snappyHexMesh -overwrite #> snappyHexMesh.log
|
||||
|
||||
echo Preparing 0 folder...
|
||||
rm -fr 0
|
||||
cp -r 0.org 0
|
||||
|
||||
echo Setting the fields...
|
||||
setFields #> setFields.log
|
||||
|
||||
echo Decomposing domain...
|
||||
decomposePar #> decomposePar.log
|
||||
|
||||
echo Running...
|
||||
mpirun -np 4 olaFlow -parallel #> olaFlow.log
|
||||
|
||||
echo Simulation complete
|
Reference in a new issue