Minor corrections to tutorials.

This commit is contained in:
henry
2008-06-30 12:02:43 +01:00
parent 24610e1c00
commit b9a78b5407
3 changed files with 12 additions and 28 deletions

View File

@ -16,28 +16,24 @@ FoamFile
convertToMeters 1; convertToMeters 1;
vertices vertices
( (
(0 0 0) (0 0 -0.1)
(1 0 0) (1 0 -0.1)
(1 2 0) (1 2 -0.1)
(0 2 0) (0 2 -0.1)
(0 0 0.1) (0 0 0.1)
(1 0 0.1) (1 0 0.1)
(1 2 0.1) (1 2 0.1)
(0 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) hex (0 1 2 3 4 5 6 7) (80 160 1) simpleGrading (1 1 1)
); );
edges patches
(
);
patches
( (
wall walls wall walls
( (
@ -46,15 +42,11 @@ patches
(2 6 5 1) (2 6 5 1)
(1 5 4 0) (1 5 4 0)
) )
empty frontAndBack empty frontAndBack
( (
(0 3 2 1) (0 3 2 1)
(4 5 6 7) (4 5 6 7)
) )
); );
mergePatchPairs
(
);
// ************************************************************************* // // ************************************************************************* //

View File

@ -3,7 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory # Get application name from directory
application="interFoam" application="rasInterFoam"
runApplication blockMesh runApplication blockMesh
runApplication setFields runApplication setFields

View File

@ -17,7 +17,7 @@ FoamFile
numberOfSubdomains 4; numberOfSubdomains 4;
method hierarchical; method hierarchical;
method metis; //method metis;
//method parMetis; //method parMetis;
simpleCoeffs simpleCoeffs
@ -34,15 +34,7 @@ hierarchicalCoeffs
} }
metisCoeffs metisCoeffs
{ {}
//processorWeights
//(
// 1
// 1
// 1
// 1
//);
}
manualCoeffs manualCoeffs
{ {
@ -51,7 +43,7 @@ manualCoeffs
distributed no; distributed no;
roots roots
( (
); );