Compare commits

...

2 commits

Author SHA1 Message Date
46d6eaf171
Removed ipynb-checkpoints 2022-01-23 15:09:49 +01:00
ea49c5424f
Updated base openfoam model 2022-01-23 15:05:44 +01:00
6 changed files with 0 additions and 83 deletions

View file

@ -1,6 +0,0 @@
translate([150, 0, 0])
mirror([1, 0, 0])
rotate([90, 0, 0])
translate([0, 0, -10])
linear_extrude(20)
polygon({});

View file

@ -59,8 +59,6 @@ boundaryField
outlet
{
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