Commit cd083dc8 authored by graham's avatar graham
Browse files

ENH: Smaller, shorter, faster wingMotion tut.

parent 5bb2ac5e
......@@ -23,7 +23,7 @@ cp -r 0.org 0
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
mv 0/pointDisplacement.unmapped 0/pointDisplacement
runApplication decomposePar
runParallel `getApplication` 3
runParallel `getApplication` 4
runApplication reconstructPar
# ----------------------------------------------------------------- end-of-file
......@@ -35,7 +35,7 @@ boundaryField
);
velocity (0 0 0);
acceleration (0 0 0);
angularMomentum (0 0 -0.5);
angularMomentum (0 0 -2.0);
torque (0 0 0);
rhoName rhoInf;
rhoInf 1;
......
......@@ -20,38 +20,38 @@ FoamFile
topAndBottom
{
type patch;
nFaces 150;
startFace 76473;
nFaces 72;
startFace 25168;
}
inlet
{
type patch;
nFaces 48;
startFace 76623;
nFaces 40;
startFace 25240;
}
outlet
{
type patch;
nFaces 48;
startFace 76671;
nFaces 62;
startFace 25280;
}
front
{
type empty;
nFaces 38129;
startFace 76719;
nFaces 12559;
startFace 25342;
}
back
{
type empty;
nFaces 38129;
startFace 114848;
nFaces 12559;
startFace 37901;
}
wing
{
type wall;
nFaces 778;
startFace 152977;
nFaces 378;
startFace 50460;
}
)
......
......@@ -23,7 +23,7 @@ startTime 0;
stopAt endTime;
endTime 1;
endTime 0.6;
deltaT 1e-5;
......
......@@ -15,27 +15,22 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 3;
numberOfSubdomains 4;
method simple;
simpleCoeffs
{
n ( 1 3 1 );
n ( 2 2 1 );
delta 0.001;
}
hierarchicalCoeffs
{
n ( 3 2 1 );
n ( 2 2 1 );
delta 0.001;
order xyz;
}
manualCoeffs
{
dataFile "cellDecomposition";
}
// ************************************************************************* //
......@@ -20,38 +20,38 @@ FoamFile
topAndBottom
{
type patch;
nFaces 150;
startFace 76473;
nFaces 72;
startFace 25168;
}
inlet
{
type patch;
nFaces 48;
startFace 76623;
nFaces 40;
startFace 25240;
}
outlet
{
type patch;
nFaces 48;
startFace 76671;
nFaces 62;
startFace 25280;
}
front
{
type empty;
nFaces 38129;
startFace 76719;
nFaces 12559;
startFace 25342;
}
back
{
type empty;
nFaces 38129;
startFace 114848;
nFaces 12559;
startFace 37901;
}
wing
{
type wall;
nFaces 778;
startFace 152977;
nFaces 378;
startFace 50460;
}
)
......
......@@ -19,19 +19,19 @@ convertToMeters 1;
vertices
(
(-2.5 -4.8 -0.1)
( 10 -4.8 -0.1)
( 10 4.8 -0.1)
(-2.5 4.8 -0.1)
(-2.5 -4.8 0.1)
( 10 -4.8 0.1)
( 10 4.8 0.1)
(-2.5 4.8 0.1)
(-1.2 -2.2 -0.1)
( 5 -2.2 -0.1)
( 5 2.2 -0.1)
(-1.2 2.2 -0.1)
(-1.2 -2.2 0.1)
( 5 -2.2 0.1)
( 5 2.2 0.1)
(-1.2 2.2 0.1)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (75 48 1) simpleGrading (1 1 1)
hex (0 1 2 3 4 5 6 7) (36 24 1) simpleGrading (1 1 1)
);
edges
......
......@@ -20,38 +20,38 @@ FoamFile
topAndBottom
{
type patch;
nFaces 150;
startFace 2098769;
nFaces 72;
startFace 495985;
}
inlet
{
type patch;
nFaces 48;
startFace 2098919;
nFaces 72;
startFace 496057;
}
outlet
{
type patch;
nFaces 48;
startFace 2098967;
nFaces 204;
startFace 496129;
}
front
{
type empty;
nFaces 38129;
startFace 2099015;
nFaces 12559;
startFace 496333;
}
back
{
type empty;
nFaces 38120;
startFace 2137144;
nFaces 12559;
startFace 508892;
}
wing_5degrees.obj_WALL10
{
type wall;
nFaces 49792;
startFace 2175264;
nFaces 12096;
startFace 521451;
}
)
......
......@@ -62,10 +62,10 @@ castellatedMeshControls
// actually be a lot less.
maxGlobalCells 2000000;
// The surface refinement loop might spend lots of iterations refining just a
// few cells. This setting will cause refinement to stop if <= minimumRefine
// are selected for refinement. Note: it will at least do one iteration
// (unless the number of cells to refine is 0)
// The surface refinement loop might spend lots of iterations refining just
// a few cells. This setting will cause refinement to stop if <=
// minimumRefine are selected for refinement. Note: it will at least do one
// iteration (unless the number of cells to refine is 0)
minRefinementCells 100;
// Number of buffer layers between different levels.
......@@ -98,7 +98,7 @@ castellatedMeshControls
wing_5degrees.obj
{
// Surface-wise min and max refinement level
level (6 6);
level (5 5);
}
}
......@@ -124,7 +124,7 @@ castellatedMeshControls
refinementBox
{
mode inside;
levels ((1e15 3));
levels ((1e15 2));
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment