Updated base openfoam model

This commit is contained in:
Edgar P. Burkhart 2022-01-23 15:05:44 +01:00
parent f1d61d0a4c
commit ea49c5424f
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
5 changed files with 0 additions and 77 deletions

View File

@ -59,8 +59,6 @@ boundaryField
outlet outlet
{ {
type waveAbsorption2DVelocity; type waveAbsorption2DVelocity;
absorptionDir 666.0;
value uniform (0 0 0);
} }
} }

View File

@ -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

View File

@ -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

View File

@ -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