ENH: windTurbineTerrain : updated Allrun to use ptscotch

This commit is contained in:
mattijs
2010-12-15 15:36:44 +00:00
parent 957f8d9d70
commit ba1daed66f
5 changed files with 64 additions and 1 deletions

View File

@ -19,4 +19,7 @@ rm -rf constant/polyMesh/sets
#rm -rf constant/refinementHistory #rm -rf constant/refinementHistory
#rm -rf constant/surfaceIndex #rm -rf constant/surfaceIndex
# Reset decomposeParDict
cp system/decomposeParDict-nonPar system/decomposeParDict
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -7,6 +7,7 @@ cd ${0%/*} || exit 1 # run from this directory
compileApplication windSimpleFoam compileApplication windSimpleFoam
runApplication blockMesh runApplication blockMesh
cp system/decomposeParDict-nonPar system/decomposeParDict
runApplication decomposePar runApplication decomposePar
#runApplication snappyHexMesh -overwrite #runApplication snappyHexMesh -overwrite
@ -14,6 +15,7 @@ runApplication decomposePar
#runApplication setsToZones -noFlipMap #runApplication setsToZones -noFlipMap
#runApplication windSimpleFoam #runApplication windSimpleFoam
cp system/decomposeParDict-par system/decomposeParDict
runParallel snappyHexMesh 2 -overwrite runParallel snappyHexMesh 2 -overwrite
# Add wildcard entries for meshes patches since not preserved # Add wildcard entries for meshes patches since not preserved

View File

@ -0,0 +1,29 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 2;
method hierarchical;
hierarchicalCoeffs
{
n (2 1 1);
delta 0.001;
order xyz;
}
// ************************************************************************* //

View File

@ -0,0 +1,29 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 2;
method ptscotch;//hierarchical;
hierarchicalCoeffs
{
n (2 1 1);
delta 0.001;
order xyz;
}
// ************************************************************************* //

View File

@ -30,7 +30,7 @@ divSchemes
{ {
default none; default none;
div(phi,U) Gauss upwind grad(U); div(phi,U) Gauss upwind grad(U);
div((nuEff*dev(grad(U).T()))) Gauss linear; div((nuEff*dev(T(grad(U))))) Gauss linear;
div(phi,epsilon) Gauss upwind; div(phi,epsilon) Gauss upwind;
div(phi,k) Gauss upwind; div(phi,k) Gauss upwind;
} }