mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial commit after latest foundation merge
This commit is contained in:
@ -22,8 +22,7 @@ boundaryField
|
||||
{
|
||||
rotor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
freestream
|
||||
|
||||
@ -9,4 +9,4 @@ application=`getApplication`
|
||||
./makeMesh
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -6,4 +6,4 @@ set -x
|
||||
m4 < system/blockMeshDict.m4 > system/blockMeshDict
|
||||
blockMesh > log.blockMesh 2>&1
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -35,8 +35,7 @@ boundaryField
|
||||
}
|
||||
innerWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
outerWall
|
||||
{
|
||||
|
||||
@ -35,14 +35,12 @@ boundaryField
|
||||
|
||||
upperWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
lowerWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -37,14 +37,12 @@ boundaryField
|
||||
|
||||
upperWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
lowerWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -23,13 +23,11 @@ boundaryField
|
||||
{
|
||||
lowerWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
front
|
||||
{
|
||||
|
||||
@ -23,13 +23,11 @@ boundaryField
|
||||
{
|
||||
lowerWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
front
|
||||
{
|
||||
|
||||
@ -23,13 +23,11 @@ boundaryField
|
||||
{
|
||||
lowerWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
front
|
||||
{
|
||||
|
||||
@ -9,4 +9,4 @@ cleanCase
|
||||
rm -rf logs
|
||||
rm -f *.eps yPlus_vs_uPlus
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -17,15 +17,11 @@ do
|
||||
sed "s/XXX/$e/g" constant/transportProperties.template \
|
||||
> constant/transportProperties
|
||||
|
||||
runApplication `getApplication`
|
||||
|
||||
mv log.boundaryFoam log.boundaryFoam_$e
|
||||
runApplication -s $e `getApplication`
|
||||
|
||||
# extract y+, U+
|
||||
# note: both must be added to foamLog.db
|
||||
runApplication foamLog log.boundaryFoam_$e
|
||||
|
||||
mv log.foamLog log.foamLog_$e
|
||||
runApplication -s $e foamLog log.boundaryFoam.$e
|
||||
|
||||
if [ -e logs/yPlus_0 ]
|
||||
then
|
||||
@ -73,4 +69,4 @@ EOF
|
||||
|
||||
echo Done
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -4,20 +4,14 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
keepCases="cavity cavityGrade cavityClipped elbow"
|
||||
keepCases="cavity cavityGrade cavityClipped"
|
||||
loseCases="cavityFine cavityHighRe"
|
||||
|
||||
for caseName in $keepCases
|
||||
do
|
||||
(
|
||||
cd $caseName || exit
|
||||
|
||||
foamCleanTutorials
|
||||
|
||||
if [ "$caseName" = elbow ]
|
||||
then
|
||||
rm -rf fluentInterface
|
||||
fi
|
||||
)
|
||||
done
|
||||
|
||||
@ -26,7 +20,4 @@ do
|
||||
removeCase $caseName
|
||||
done
|
||||
|
||||
|
||||
(cd elbow && ./Allclean)
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
@ -79,11 +79,6 @@ do
|
||||
cavityClipped)
|
||||
cp -r $caseName/0 $caseName/0.5
|
||||
runMapFields cavity $caseName
|
||||
if [ ".`grep nonuniform $caseName/0.5/U`" != "." ]
|
||||
then
|
||||
sed -f resetFixedWallsScr $caseName/0.5/U > $caseName/0.5/U.temp
|
||||
mv $caseName/0.5/U.temp $caseName/0.5/U
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -91,8 +86,4 @@ do
|
||||
( cd $caseName && runApplication `getApplication` )
|
||||
done
|
||||
|
||||
|
||||
# elbow case for testing Fluent-FOAM conversion tools
|
||||
(cd elbow && ./Allrun)
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
@ -28,8 +28,7 @@ boundaryField
|
||||
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
@ -22,6 +22,12 @@ solvers
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.05;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
@ -28,8 +28,7 @@ boundaryField
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
@ -22,6 +22,12 @@ solvers
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.05;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
@ -28,8 +28,7 @@ boundaryField
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
@ -22,6 +22,12 @@ solvers
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.05;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
@ -22,8 +22,7 @@ boundaryField
|
||||
{
|
||||
wall-4
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
velocity-inlet-5
|
||||
@ -45,8 +44,7 @@ boundaryField
|
||||
|
||||
wall-8
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
frontAndBackPlanes
|
||||
|
||||
@ -8,4 +8,4 @@ rm -f constant/polyMesh/boundary > /dev/null 2>&1
|
||||
rm -rf fluentInterface
|
||||
cleanCase
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -12,4 +12,4 @@ runApplication "$application"
|
||||
runApplication foamMeshToFluent
|
||||
runApplication foamDataToFluent
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -22,6 +22,12 @@ solvers
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.05;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
/fixedWalls/,/}/{
|
||||
/fixedWalls/p
|
||||
/{/p
|
||||
/type fixedValue;/p
|
||||
s/value[ \t]*nonuniform[ \t]*List<vector>[ \t]*/value uniform (0 0 0);/p
|
||||
/}/p
|
||||
d
|
||||
}
|
||||
@ -33,20 +33,17 @@ boundaryField
|
||||
|
||||
down
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
up
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
cylinder
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
|
||||
@ -20,7 +20,7 @@ solvers
|
||||
p
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 0;
|
||||
tolerance 1e-6;
|
||||
relTol 0.1;
|
||||
smoother GaussSeidel;
|
||||
nPreSweeps 0;
|
||||
@ -31,6 +31,12 @@ solvers
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
U
|
||||
{
|
||||
solver smoothSolver;
|
||||
@ -42,8 +48,8 @@ solvers
|
||||
|
||||
PISO
|
||||
{
|
||||
nCorrectors 4;
|
||||
nNonOrthogonalCorrectors 2;
|
||||
nCorrectors 5;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -22,13 +22,13 @@ boundaryField
|
||||
{
|
||||
rotor
|
||||
{
|
||||
type movingWallVelocity; // fixedValue;
|
||||
type movingWallVelocity;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
stator
|
||||
{
|
||||
type movingWallVelocity; // fixedValue;
|
||||
type movingWallVelocity;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ application=`getApplication`
|
||||
|
||||
#runApplication $application
|
||||
runApplication decomposePar
|
||||
runParallel $application 4
|
||||
runParallel $application
|
||||
runApplication reconstructPar
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -10,4 +10,4 @@ runApplication blockMesh
|
||||
|
||||
runApplication topoSet
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -28,14 +28,12 @@ boundaryField
|
||||
|
||||
farFieldMoving
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
fixedWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
left
|
||||
@ -46,8 +44,7 @@ boundaryField
|
||||
|
||||
farField
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
back
|
||||
|
||||
@ -43,8 +43,7 @@ boundaryField
|
||||
}
|
||||
ACMI1_blockage
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
ACMI1_couple
|
||||
{
|
||||
@ -53,8 +52,7 @@ boundaryField
|
||||
}
|
||||
ACMI2_blockage
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
ACMI2_couple
|
||||
{
|
||||
|
||||
@ -8,6 +8,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
runApplication decomposePar
|
||||
|
||||
runParallel $(getApplication) 4
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructPar
|
||||
|
||||
@ -39,8 +39,7 @@ boundaryField
|
||||
|
||||
outerCylinder
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
"propeller.*"
|
||||
|
||||
@ -8,6 +8,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
runApplication decomposePar
|
||||
|
||||
runParallel `getApplication` 4
|
||||
runParallel `getApplication`
|
||||
|
||||
runApplication reconstructPar
|
||||
|
||||
@ -19,12 +19,12 @@ runApplication simpleFoam
|
||||
# Copy the mesh from the steady state case and map the results to a
|
||||
# mesh motion case, then solve transient.
|
||||
cd ../wingMotion2D_pimpleDyMFoam
|
||||
cp -r ../wingMotion2D_simpleFoam/constant/polyMesh/ constant/
|
||||
cp -r ../wingMotion2D_simpleFoam/constant/polyMesh constant
|
||||
cp -r 0.org 0
|
||||
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
|
||||
mv 0/pointDisplacement.unmapped 0/pointDisplacement
|
||||
runApplication decomposePar
|
||||
runParallel `getApplication` 4
|
||||
runParallel `getApplication`
|
||||
runApplication reconstructPar
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -34,8 +34,7 @@ boundaryField
|
||||
|
||||
wing
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
#include "include/frontBackTopBottomPatches"
|
||||
|
||||
@ -42,8 +42,7 @@ boundaryField
|
||||
|
||||
defaultFaces
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -40,8 +40,7 @@ boundaryField
|
||||
}
|
||||
defaultFaces
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -7,4 +7,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
cleanCase
|
||||
rm -rf 0
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -23,13 +23,11 @@ boundaryField
|
||||
{
|
||||
bottomWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
topWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
sides1_half0
|
||||
{
|
||||
|
||||
@ -14,9 +14,9 @@ runApplication blockMesh
|
||||
|
||||
#- Run parallel
|
||||
runApplication decomposePar -cellDist
|
||||
runParallel $application 4
|
||||
runParallel $application
|
||||
runApplication reconstructPar
|
||||
|
||||
runApplication postChannel
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -37,8 +37,7 @@ boundaryField
|
||||
}
|
||||
hole
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
|
||||
@ -6,4 +6,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
cleanCase
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -23,4 +23,4 @@ runApplication topoSet
|
||||
runApplication createPatch -overwrite
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -33,14 +33,12 @@ boundaryField
|
||||
|
||||
upperWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
lowerWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -23,8 +23,6 @@ ddtSchemes
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
grad(p) Gauss linear;
|
||||
grad(U) Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
@ -41,19 +39,12 @@ divSchemes
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default none;
|
||||
laplacian(nuEff,U) Gauss linear corrected;
|
||||
laplacian(rAUf,p) Gauss linear corrected;
|
||||
laplacian(DkEff,k) Gauss linear corrected;
|
||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||
laplacian(DREff,R) Gauss linear corrected;
|
||||
laplacian(DnuTildaEff,nuTilda) Gauss linear corrected;
|
||||
default Gauss linear corrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
interpolate(U) linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
|
||||
39
tutorials/incompressible/pisoFoam/laminar/porousBlockage/0/U
Normal file
39
tutorials/incompressible/pisoFoam/laminar/porousBlockage/0/U
Normal file
@ -0,0 +1,39 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
object U;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
internalField uniform (1 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
//- Set patchGroups for constraint patches
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
38
tutorials/incompressible/pisoFoam/laminar/porousBlockage/0/p
Normal file
38
tutorials/incompressible/pisoFoam/laminar/porousBlockage/0/p
Normal file
@ -0,0 +1,38 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object p;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
//- Set patchGroups for constraint patches
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
inlet
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type fixedValue;
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
15
tutorials/incompressible/pisoFoam/laminar/porousBlockage/Allrun
Executable file
15
tutorials/incompressible/pisoFoam/laminar/porousBlockage/Allrun
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication topoSet
|
||||
|
||||
runApplication $application
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1,56 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object fvOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
porosity1
|
||||
{
|
||||
type explicitPorositySource;
|
||||
active yes;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
{
|
||||
selectionMode cellZone;
|
||||
cellZone porousBlockage;
|
||||
|
||||
type DarcyForchheimer;
|
||||
|
||||
// D 100; // Very little blockage
|
||||
// D 200; // Some blockage but steady flow
|
||||
// D 500; // Slight waviness in the far wake
|
||||
D 1000; // Fully shedding behavior
|
||||
|
||||
DarcyForchheimerCoeffs
|
||||
{
|
||||
d ($D $D $D);
|
||||
f (0 0 0);
|
||||
|
||||
coordinateSystem
|
||||
{
|
||||
type cartesian;
|
||||
origin (0 0 0);
|
||||
coordinateRotation
|
||||
{
|
||||
type axesRotation;
|
||||
e1 (1 0 0);
|
||||
e2 (0 1 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,22 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object transportProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
transportModel Newtonian;
|
||||
|
||||
nu [0 2 -1 0 0 0 0] 5e-3; // Re_blockage = 200
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,20 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object turbulenceProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType laminar;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,86 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object blockMeshDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
convertToMeters 1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(-2 -2 -0.1)
|
||||
(6 -2 -0.1)
|
||||
(6 2 -0.1)
|
||||
(-2 2 -0.1)
|
||||
(-2 -2 0.1)
|
||||
(6 -2 0.1)
|
||||
(6 2 0.1)
|
||||
(-2 2 0.1)
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (64 32 1) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
boundary
|
||||
(
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(0 4 7 3)
|
||||
);
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
faces
|
||||
(
|
||||
(2 6 5 1)
|
||||
);
|
||||
}
|
||||
|
||||
top
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
}
|
||||
|
||||
bottom
|
||||
{
|
||||
type symmetryPlane;
|
||||
faces
|
||||
(
|
||||
|
||||
(1 5 4 0)
|
||||
);
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
faces
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,49 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
application pisoFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 100;
|
||||
|
||||
deltaT 0.05;
|
||||
|
||||
writeControl runTime;
|
||||
|
||||
writeInterval 1;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat ascii;
|
||||
|
||||
writePrecision 6;
|
||||
|
||||
writeCompression off;
|
||||
|
||||
timeFormat general;
|
||||
|
||||
timePrecision 6;
|
||||
|
||||
runTimeModifiable true;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,51 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
ddtSchemes
|
||||
{
|
||||
default Euler;
|
||||
}
|
||||
|
||||
gradSchemes
|
||||
{
|
||||
default Gauss linear;
|
||||
}
|
||||
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
div(phi,U) Gauss LUST grad(U);
|
||||
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
default linear;
|
||||
}
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,59 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solvers
|
||||
{
|
||||
p
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
smoother GaussSeidel;
|
||||
nPreSweeps 0;
|
||||
nPostSweeps 2;
|
||||
cacheAgglomeration on;
|
||||
agglomerator faceAreaPair;
|
||||
nCellsInCoarsestLevel 10;
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(U|k|epsilon|omega|R|nuTilda)"
|
||||
{
|
||||
solver smoothSolver;
|
||||
smoother GaussSeidel;
|
||||
tolerance 1e-05;
|
||||
relTol 0;
|
||||
}
|
||||
}
|
||||
|
||||
PISO
|
||||
{
|
||||
nCorrectors 2;
|
||||
nNonOrthogonalCorrectors 0;
|
||||
pRefCell 0;
|
||||
pRefValue 0;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,43 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object topoSetDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
actions
|
||||
(
|
||||
// porousBlockage
|
||||
{
|
||||
name porousBlockageCellSet;
|
||||
type cellSet;
|
||||
action new;
|
||||
source boxToCell;
|
||||
sourceInfo
|
||||
{
|
||||
box (-0.5 -0.5 -1) (0.5 0.5 1);
|
||||
}
|
||||
}
|
||||
{
|
||||
name porousBlockage;
|
||||
type cellZoneSet;
|
||||
action new;
|
||||
source setToCellZone;
|
||||
sourceInfo
|
||||
{
|
||||
set porousBlockageCellSet;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -8,4 +8,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
rm -rf motorBikeLES
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -25,11 +25,14 @@ cloneParallelCase()
|
||||
# Do the Spalart-Allmaras steady-state case
|
||||
(cd motorBike && foamRunTutorials)
|
||||
|
||||
# Clone the steady-state case to the LES case
|
||||
cloneParallelCase motorBike motorBikeLES
|
||||
if ! isTest $@
|
||||
then
|
||||
# Clone the steady-state case to the LES case
|
||||
cloneParallelCase motorBike motorBikeLES
|
||||
|
||||
# Do the LES case
|
||||
cp lesFiles/Allrun motorBikeLES/
|
||||
(cd motorBikeLES && foamRunTutorials)
|
||||
# Do the LES case
|
||||
cp lesFiles/Allrun motorBikeLES/
|
||||
(cd motorBikeLES && foamRunTutorials)
|
||||
fi
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Do the Spalart-Allmaras steady-state case
|
||||
(cd motorBike && foamRunTutorials)
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
@ -11,7 +11,7 @@ ls -d processor* | xargs -I {} rm -rf ./{}/0 $1
|
||||
ls -d processor* | xargs -I {} mv ./{}/500 ./{}/0 $1
|
||||
ls -d processor* | xargs -I {} rm -rf ./{}/0/uniform $1
|
||||
|
||||
runParallel pisoFoam 8
|
||||
runParallel pisoFoam
|
||||
|
||||
runApplication reconstructParMesh -constant -mergeTol 1e-6
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -10,6 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -31,13 +32,13 @@ solvers
|
||||
nCellsInCoarsestLevel 50;
|
||||
agglomerator faceAreaPair;
|
||||
mergeLevels 1;
|
||||
};
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
relTol 0;
|
||||
};
|
||||
}
|
||||
|
||||
"(U|k|B|nuTilda)"
|
||||
{
|
||||
@ -45,7 +46,7 @@ solvers
|
||||
smoother symGaussSeidel;
|
||||
tolerance 1e-7;
|
||||
relTol 0;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
PISO
|
||||
|
||||
@ -47,8 +47,7 @@ boundaryField
|
||||
}
|
||||
"motorBike_.*"
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
upperWall
|
||||
{
|
||||
|
||||
@ -14,4 +14,4 @@ cleanCase
|
||||
# Reset decomposeParDict
|
||||
cp system/decomposeParDict.hierarchical system/decomposeParDict
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -15,16 +15,16 @@ cp system/decomposeParDict.hierarchical system/decomposeParDict
|
||||
runApplication decomposePar
|
||||
|
||||
cp system/decomposeParDict.ptscotch system/decomposeParDict
|
||||
runParallel snappyHexMesh 8 -overwrite -parallel
|
||||
runParallel snappyHexMesh -overwrite -parallel
|
||||
|
||||
find . -type f -iname "*level*" -exec rm {} \;
|
||||
|
||||
ls -d processor* | xargs -I {} cp -r 0.org ./{}/0 $1
|
||||
|
||||
runParallel renumberMesh 8 -overwrite
|
||||
runParallel renumberMesh -overwrite
|
||||
|
||||
runParallel potentialFoam 8 -initialiseUBCs
|
||||
runParallel potentialFoam -initialiseUBCs
|
||||
|
||||
runParallel `getApplication` 8
|
||||
runParallel `getApplication`
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -36,7 +36,7 @@ solvers
|
||||
$p;
|
||||
tolerance 1e-6;
|
||||
relTol 0;
|
||||
};
|
||||
}
|
||||
|
||||
Phi
|
||||
{
|
||||
|
||||
@ -37,14 +37,12 @@ boundaryField
|
||||
|
||||
upperWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
lowerWall
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -28,8 +28,7 @@ boundaryField
|
||||
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -28,8 +28,7 @@ boundaryField
|
||||
|
||||
fixedWalls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -22,18 +22,15 @@ boundaryField
|
||||
{
|
||||
front
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
back
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
walls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
porosityWall
|
||||
{
|
||||
|
||||
@ -22,18 +22,15 @@ boundaryField
|
||||
{
|
||||
front
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
back
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
walls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
porosityWall
|
||||
{
|
||||
|
||||
@ -11,4 +11,4 @@ rm constant/polyMesh/boundary > /dev/null 2>&1
|
||||
|
||||
cleanCase
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -8,4 +8,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
runApplication `getApplication`
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -9,13 +9,12 @@ runApplication surfaceFeatureExtract
|
||||
runApplication foamyHexMesh
|
||||
|
||||
# Collapse only patch faces from incomplete conformation
|
||||
cp system/collapseDict.indirectPatchFaces system/collapseDict
|
||||
runApplication collapseEdges -collapseFaceSet indirectPatchFaces -latestTime -overwrite
|
||||
mv log.collapseEdges log.collapseEdges-indirectPatchFaces
|
||||
runApplication -s indirectPatchFaces \
|
||||
collapseEdges -collapseFaceSet indirectPatchFaces -latestTime -overwrite
|
||||
|
||||
# Collapse small edges and sliver faces
|
||||
cp system/collapseDict.collapseFaces system/collapseDict
|
||||
runApplication collapseEdges -collapseFaces -latestTime -overwrite
|
||||
runApplication -s collapseFaces \
|
||||
collapseEdges -collapseFaces -latestTime -overwrite
|
||||
|
||||
runApplication checkMesh -allTopology -allGeometry -latestTime
|
||||
|
||||
@ -28,4 +27,4 @@ latestTime=`foamInfoExec -latestTime`
|
||||
# Clean up intermediate meshes
|
||||
\rm -r [1-9]*
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -34,8 +34,7 @@ boundaryField
|
||||
|
||||
walls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
|
||||
@ -6,4 +6,4 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
rm -rf *[1-9]*
|
||||
rm -f log.* 2>/dev/null
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -8,4 +8,4 @@ application=`getApplication`
|
||||
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -22,14 +22,12 @@ boundaryField
|
||||
{
|
||||
rotor
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
stator
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
front
|
||||
|
||||
@ -9,4 +9,4 @@ application=`getApplication`
|
||||
./makeMesh
|
||||
runApplication $application
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -8,4 +8,4 @@ m4 < system/blockMeshDict.m4 > system/blockMeshDict
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -43,8 +43,7 @@ boundaryField
|
||||
|
||||
motorBikeGroup
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
#include "include/frontBackUpperPatches"
|
||||
|
||||
@ -11,7 +11,7 @@ runApplication surfaceFeatureExtract
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication decomposePar
|
||||
runParallel snappyHexMesh 6 -overwrite
|
||||
runParallel snappyHexMesh -overwrite
|
||||
|
||||
#- For non-parallel running
|
||||
#cp -r 0.org 0 > /dev/null 2>&1
|
||||
@ -20,11 +20,11 @@ runParallel snappyHexMesh 6 -overwrite
|
||||
ls -d processor* | xargs -I {} rm -rf ./{}/0
|
||||
ls -d processor* | xargs -I {} cp -r 0.org ./{}/0
|
||||
|
||||
runParallel patchSummary 6
|
||||
runParallel potentialFoam 6
|
||||
runParallel $(getApplication) 6
|
||||
runParallel patchSummary
|
||||
runParallel potentialFoam
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructParMesh -constant
|
||||
runApplication reconstructPar -latestTime
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user