mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Minor corrections to tutorials.
This commit is contained in:
@ -16,28 +16,24 @@ FoamFile
|
||||
|
||||
convertToMeters 1;
|
||||
|
||||
vertices
|
||||
vertices
|
||||
(
|
||||
(0 0 0)
|
||||
(1 0 0)
|
||||
(1 2 0)
|
||||
(0 2 0)
|
||||
(0 0 -0.1)
|
||||
(1 0 -0.1)
|
||||
(1 2 -0.1)
|
||||
(0 2 -0.1)
|
||||
(0 0 0.1)
|
||||
(1 0 0.1)
|
||||
(1 2 0.1)
|
||||
(0 2 0.1)
|
||||
);
|
||||
|
||||
blocks
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (80 160 1) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
patches
|
||||
(
|
||||
wall walls
|
||||
(
|
||||
@ -46,15 +42,11 @@ patches
|
||||
(2 6 5 1)
|
||||
(1 5 4 0)
|
||||
)
|
||||
empty frontAndBack
|
||||
empty frontAndBack
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application name from directory
|
||||
application="interFoam"
|
||||
application="rasInterFoam"
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication setFields
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
numberOfSubdomains 4;
|
||||
|
||||
method hierarchical;
|
||||
method metis;
|
||||
//method metis;
|
||||
//method parMetis;
|
||||
|
||||
simpleCoeffs
|
||||
@ -34,15 +34,7 @@ hierarchicalCoeffs
|
||||
}
|
||||
|
||||
metisCoeffs
|
||||
{
|
||||
//processorWeights
|
||||
//(
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
// 1
|
||||
//);
|
||||
}
|
||||
{}
|
||||
|
||||
manualCoeffs
|
||||
{
|
||||
@ -51,7 +43,7 @@ manualCoeffs
|
||||
|
||||
distributed no;
|
||||
|
||||
roots
|
||||
roots
|
||||
(
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user