Updates to NACA4412-airfoil overset validationSuite case
This commit is contained in:
parent
ea0466aa43
commit
eb1e30ecdb
16 changed files with 20 additions and 16 deletions
|
@ -62,7 +62,7 @@ boundaryField
|
||||||
|
|
||||||
airfoil
|
airfoil
|
||||||
{
|
{
|
||||||
type nutWallFunction;
|
type nutkWallFunction;
|
||||||
Cmu 0.09;
|
Cmu 0.09;
|
||||||
kappa 0.41;
|
kappa 0.41;
|
||||||
E 9.8;
|
E 9.8;
|
||||||
|
|
|
@ -12,6 +12,7 @@ cleanCase
|
||||||
\rm -rf surfaces
|
\rm -rf surfaces
|
||||||
\rm -f *raw
|
\rm -f *raw
|
||||||
\rm -rf logs nohup.out
|
\rm -rf logs nohup.out
|
||||||
|
\rm -rf postProcessing
|
||||||
|
|
||||||
mkdir constant/polyMesh
|
mkdir constant/polyMesh
|
||||||
cp -r save 0
|
cp -r save 0
|
||||||
|
|
|
@ -46,4 +46,4 @@ runApplication $application2
|
||||||
# Perform sampling
|
# Perform sampling
|
||||||
runApplication sample -latestTime
|
runApplication sample -latestTime
|
||||||
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
|
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
|
||||||
cp -v surfaces/$timeStep/p_solidWall.raw .
|
cp -v postProcessing/surfaces/$timeStep/p_solidWall.raw .
|
||||||
|
|
|
@ -62,7 +62,7 @@ boundaryField
|
||||||
|
|
||||||
airfoil
|
airfoil
|
||||||
{
|
{
|
||||||
type nutWallFunction;
|
type nutkWallFunction;
|
||||||
Cmu 0.09;
|
Cmu 0.09;
|
||||||
kappa 0.41;
|
kappa 0.41;
|
||||||
E 9.8;
|
E 9.8;
|
||||||
|
|
|
@ -62,7 +62,7 @@ boundaryField
|
||||||
|
|
||||||
airfoil
|
airfoil
|
||||||
{
|
{
|
||||||
type nutWallFunction;
|
type nutkWallFunction;
|
||||||
Cmu 0.09;
|
Cmu 0.09;
|
||||||
kappa 0.41;
|
kappa 0.41;
|
||||||
E 9.8;
|
E 9.8;
|
||||||
|
|
|
@ -12,6 +12,7 @@ cleanCase
|
||||||
\rm -rf surfaces
|
\rm -rf surfaces
|
||||||
\rm -f *raw
|
\rm -f *raw
|
||||||
\rm -rf logs nohup.out
|
\rm -rf logs nohup.out
|
||||||
|
\rm -rf postProcessing
|
||||||
|
|
||||||
mkdir constant/polyMesh
|
mkdir constant/polyMesh
|
||||||
cp -r save 0
|
cp -r save 0
|
||||||
|
|
|
@ -10,14 +10,14 @@ application2="simpleOversetFoam"
|
||||||
\cp -r ../oversetMeshes/backgroundMesh/constant/polyMesh constant/.
|
\cp -r ../oversetMeshes/backgroundMesh/constant/polyMesh constant/.
|
||||||
|
|
||||||
# Merge meshes and clean up
|
# Merge meshes and clean up
|
||||||
runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/middleMesh
|
runApplication mergeMeshes .. implicitConservativeOverset . ../oversetMeshes/middleMesh
|
||||||
\rm -rf constant/polyMesh
|
\rm -rf constant/polyMesh
|
||||||
\mv 1/polyMesh constant
|
\mv 1/polyMesh constant
|
||||||
rm -rf 1
|
rm -rf 1
|
||||||
\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz
|
\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz
|
||||||
\mv log.mergeMeshes log.mergeMeshes-backgroundMiddle
|
\mv log.mergeMeshes log.mergeMeshes-backgroundMiddle
|
||||||
|
|
||||||
runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/frontMesh
|
runApplication mergeMeshes .. implicitConservativeOverset . ../oversetMeshes/frontMesh
|
||||||
\rm -rf constant/polyMesh
|
\rm -rf constant/polyMesh
|
||||||
\mv 1/polyMesh constant
|
\mv 1/polyMesh constant
|
||||||
rm -rf 1
|
rm -rf 1
|
||||||
|
@ -46,4 +46,4 @@ runApplication $application2
|
||||||
# Perform sampling
|
# Perform sampling
|
||||||
runApplication sample -latestTime
|
runApplication sample -latestTime
|
||||||
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
|
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
|
||||||
cp -v surfaces/$timeStep/p_solidWall.raw .
|
cp -v postProcessing/surfaces/$timeStep/p_solidWall.raw .
|
||||||
|
|
|
@ -62,7 +62,7 @@ boundaryField
|
||||||
|
|
||||||
airfoil
|
airfoil
|
||||||
{
|
{
|
||||||
type nutWallFunction;
|
type nutkWallFunction;
|
||||||
Cmu 0.09;
|
Cmu 0.09;
|
||||||
kappa 0.41;
|
kappa 0.41;
|
||||||
E 9.8;
|
E 9.8;
|
||||||
|
|
|
@ -62,7 +62,7 @@ boundaryField
|
||||||
|
|
||||||
airfoil
|
airfoil
|
||||||
{
|
{
|
||||||
type nutWallFunction;
|
type nutkWallFunction;
|
||||||
Cmu 0.09;
|
Cmu 0.09;
|
||||||
kappa 0.41;
|
kappa 0.41;
|
||||||
E 9.8;
|
E 9.8;
|
||||||
|
|
|
@ -12,6 +12,7 @@ cleanCase
|
||||||
\rm -rf surfaces
|
\rm -rf surfaces
|
||||||
\rm -f *raw
|
\rm -f *raw
|
||||||
\rm -rf logs nohup.out
|
\rm -rf logs nohup.out
|
||||||
|
\rm -rf postProcessing
|
||||||
|
|
||||||
mkdir constant/polyMesh
|
mkdir constant/polyMesh
|
||||||
cp -r save 0
|
cp -r save 0
|
||||||
|
|
|
@ -10,14 +10,14 @@ application2="simpleOversetFoam"
|
||||||
\cp -r ../oversetMeshes/backgroundMesh/constant/polyMesh constant/.
|
\cp -r ../oversetMeshes/backgroundMesh/constant/polyMesh constant/.
|
||||||
|
|
||||||
# Merge meshes and clean up
|
# Merge meshes and clean up
|
||||||
runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/middleMesh
|
runApplication mergeMeshes .. implicitNonConservativeOverset . ../oversetMeshes/middleMesh
|
||||||
\rm -rf constant/polyMesh
|
\rm -rf constant/polyMesh
|
||||||
\mv 1/polyMesh constant
|
\mv 1/polyMesh constant
|
||||||
rm -rf 1
|
rm -rf 1
|
||||||
\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz
|
\rm -f constant/polyMesh/pointZones constant/polyMesh/pointZones.gz constant/polyMesh/faceZones constant/polyMesh/faceZones.gz constant/polyMesh/cellZones constant/polyMesh/cellZones.gz
|
||||||
\mv log.mergeMeshes log.mergeMeshes-backgroundMiddle
|
\mv log.mergeMeshes log.mergeMeshes-backgroundMiddle
|
||||||
|
|
||||||
runApplication mergeMeshes .. explicitOverset . ../oversetMeshes/frontMesh
|
runApplication mergeMeshes .. implicitNonConservativeOverset . ../oversetMeshes/frontMesh
|
||||||
\rm -rf constant/polyMesh
|
\rm -rf constant/polyMesh
|
||||||
\mv 1/polyMesh constant
|
\mv 1/polyMesh constant
|
||||||
rm -rf 1
|
rm -rf 1
|
||||||
|
@ -46,4 +46,4 @@ runApplication $application2
|
||||||
# Perform sampling
|
# Perform sampling
|
||||||
runApplication sample -latestTime
|
runApplication sample -latestTime
|
||||||
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
|
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
|
||||||
cp -v surfaces/$timeStep/p_solidWall.raw .
|
cp -v postProcessing/surfaces/$timeStep/p_solidWall.raw .
|
||||||
|
|
|
@ -62,7 +62,7 @@ boundaryField
|
||||||
|
|
||||||
airfoil
|
airfoil
|
||||||
{
|
{
|
||||||
type nutWallFunction;
|
type nutkWallFunction;
|
||||||
Cmu 0.09;
|
Cmu 0.09;
|
||||||
kappa 0.41;
|
kappa 0.41;
|
||||||
E 9.8;
|
E 9.8;
|
||||||
|
|
|
@ -37,7 +37,7 @@ boundaryField
|
||||||
}
|
}
|
||||||
solidWall
|
solidWall
|
||||||
{
|
{
|
||||||
type nutWallFunction;
|
type nutkWallFunction;
|
||||||
Cmu 0.09;
|
Cmu 0.09;
|
||||||
kappa 0.41;
|
kappa 0.41;
|
||||||
E 9.8;
|
E 9.8;
|
||||||
|
|
|
@ -9,5 +9,6 @@ cleanTimeDirectories
|
||||||
\rm -rf forces
|
\rm -rf forces
|
||||||
\rm -f *raw
|
\rm -f *raw
|
||||||
\rm -rf logs nohup.out
|
\rm -rf logs nohup.out
|
||||||
|
\rm -rf postProcessing
|
||||||
|
|
||||||
cp -r save 0
|
cp -r save 0
|
||||||
|
|
|
@ -9,4 +9,4 @@ runApplication $application
|
||||||
# Perform sampling
|
# Perform sampling
|
||||||
runApplication sample -latestTime
|
runApplication sample -latestTime
|
||||||
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
|
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
|
||||||
cp -v surfaces/$timeStep/p_solidWall.raw .
|
cp -v postProcessing/surfaces/$timeStep/p_solidWall.raw .
|
||||||
|
|
|
@ -37,7 +37,7 @@ boundaryField
|
||||||
}
|
}
|
||||||
solidWall
|
solidWall
|
||||||
{
|
{
|
||||||
type nutWallFunction;
|
type nutkWallFunction;
|
||||||
Cmu 0.09;
|
Cmu 0.09;
|
||||||
kappa 0.41;
|
kappa 0.41;
|
||||||
E 9.8;
|
E 9.8;
|
||||||
|
|
Reference in a new issue