Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
ba1daed6
Commit
ba1daed6
authored
Dec 15, 2010
by
mattijs
Browse files
ENH: windTurbineTerrain : updated Allrun to use ptscotch
parent
957f8d9d
Changes
5
Hide whitespace changes
Inline
Side-by-side
tutorials/incompressible/simpleFoam/windTurbineTerrain/Allclean
View file @
ba1daed6
...
...
@@ -19,4 +19,7 @@ rm -rf constant/polyMesh/sets
#rm -rf constant/refinementHistory
#rm -rf constant/surfaceIndex
# Reset decomposeParDict
cp
system/decomposeParDict-nonPar system/decomposeParDict
# ----------------------------------------------------------------- end-of-file
tutorials/incompressible/simpleFoam/windTurbineTerrain/Allrun
View file @
ba1daed6
...
...
@@ -7,6 +7,7 @@ cd ${0%/*} || exit 1 # run from this directory
compileApplication windSimpleFoam
runApplication blockMesh
cp
system/decomposeParDict-nonPar system/decomposeParDict
runApplication decomposePar
#runApplication snappyHexMesh -overwrite
...
...
@@ -14,6 +15,7 @@ runApplication decomposePar
#runApplication setsToZones -noFlipMap
#runApplication windSimpleFoam
cp
system/decomposeParDict-par system/decomposeParDict
runParallel snappyHexMesh 2
-overwrite
# Add wildcard entries for meshes patches since not preserved
...
...
tutorials/incompressible/simpleFoam/windTurbineTerrain/system/decomposeParDict-nonPar
0 → 100644
View file @
ba1daed6
/*--------------------------------*- 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;
}
// ************************************************************************* //
tutorials/incompressible/simpleFoam/windTurbineTerrain/system/decomposeParDict-par
0 → 100644
View file @
ba1daed6
/*--------------------------------*- 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;
}
// ************************************************************************* //
tutorials/incompressible/simpleFoam/windTurbineTerrain/system/fvSchemes
View file @
ba1daed6
...
...
@@ -30,7 +30,7 @@ divSchemes
{
default none;
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,k) Gauss upwind;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment