Tutorial update
This commit is contained in:
parent
3ba865dadd
commit
20e7bdd794
5 changed files with 73 additions and 33 deletions
|
@ -0,0 +1,34 @@
|
|||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | foam-extend: Open Source CFD |
|
||||
| \\ / O peration | Version: 3.2 |
|
||||
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||
| \\/ M anipulation | For copyright notice see file Copyright |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class polyBoundaryMesh;
|
||||
location "constant/polyMesh";
|
||||
object boundary;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
2
|
||||
(
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
nFaces 2;
|
||||
startFace 999;
|
||||
}
|
||||
empty
|
||||
{
|
||||
type empty;
|
||||
nFaces 4000;
|
||||
startFace 1001;
|
||||
}
|
||||
)
|
||||
|
||||
// ************************************************************************* //
|
|
@ -19,8 +19,8 @@ runApplication simpleFoam
|
|||
# Copy the mesh from the steady state case and map the results to a
|
||||
# mesh motion case, then solve transient.
|
||||
cd ../wingMotion2D_pimpleDyMFoam
|
||||
cp -r ../wingMotion2D_simpleFoam/constant/polyMesh/* constant/polyMesh/
|
||||
cp -r 0.org 0
|
||||
\cp -r ../wingMotion2D_simpleFoam/constant/polyMesh constant/polyMesh
|
||||
\cp -r 0.org 0
|
||||
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
|
||||
mv 0/pointDisplacement.unmapped 0/pointDisplacement
|
||||
runApplication decomposePar
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
| \\ / F ield | foam-extend: Open Source CFD |
|
||||
| \\ / O peration | Version: 3.2 |
|
||||
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||
| \\/ M anipulation | |
|
||||
| \\/ M anipulation | For copyright notice see file Copyright |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
|
@ -21,37 +21,37 @@ FoamFile
|
|||
{
|
||||
type patch;
|
||||
nFaces 150;
|
||||
startFace 76473;
|
||||
startFace 71816;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 76623;
|
||||
startFace 71966;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 76671;
|
||||
startFace 72014;
|
||||
}
|
||||
wing
|
||||
{
|
||||
type wall;
|
||||
nFaces 778;
|
||||
startFace 76719;
|
||||
startFace 72062;
|
||||
}
|
||||
back
|
||||
symBack
|
||||
{
|
||||
type empty;
|
||||
nFaces 38129;
|
||||
startFace 77497;
|
||||
nFaces 35801;
|
||||
startFace 72840;
|
||||
}
|
||||
front
|
||||
symFront
|
||||
{
|
||||
type empty;
|
||||
nFaces 38129;
|
||||
startFace 115626;
|
||||
nFaces 35801;
|
||||
startFace 108641;
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
| \\ / F ield | foam-extend: Open Source CFD |
|
||||
| \\ / O peration | Version: 3.2 |
|
||||
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||
| \\/ M anipulation | |
|
||||
| \\/ M anipulation | For copyright notice see file Copyright |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
|
@ -21,37 +21,37 @@ FoamFile
|
|||
{
|
||||
type patch;
|
||||
nFaces 150;
|
||||
startFace 76473;
|
||||
startFace 71816;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 76623;
|
||||
startFace 71966;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 76671;
|
||||
startFace 72014;
|
||||
}
|
||||
wing
|
||||
{
|
||||
type wall;
|
||||
nFaces 778;
|
||||
startFace 76719;
|
||||
startFace 72062;
|
||||
}
|
||||
back
|
||||
symBack
|
||||
{
|
||||
type empty;
|
||||
nFaces 38129;
|
||||
startFace 77497;
|
||||
nFaces 35801;
|
||||
startFace 72840;
|
||||
}
|
||||
front
|
||||
symFront
|
||||
{
|
||||
type empty;
|
||||
nFaces 38129;
|
||||
startFace 115626;
|
||||
nFaces 35801;
|
||||
startFace 108641;
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
| \\ / F ield | foam-extend: Open Source CFD |
|
||||
| \\ / O peration | Version: 3.2 |
|
||||
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||
| \\/ M anipulation | |
|
||||
| \\/ M anipulation | For copyright notice see file Copyright |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
|
@ -15,37 +15,43 @@ FoamFile
|
|||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
5
|
||||
6
|
||||
(
|
||||
topAndBottom
|
||||
{
|
||||
type patch;
|
||||
nFaces 150;
|
||||
startFace 7077;
|
||||
startFace 2087919;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 7227;
|
||||
startFace 2088069;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 48;
|
||||
startFace 7275;
|
||||
startFace 2088117;
|
||||
}
|
||||
symFront
|
||||
{
|
||||
type symmetryPlane;
|
||||
nFaces 3600;
|
||||
startFace 7323;
|
||||
nFaces 35801;
|
||||
startFace 2088165;
|
||||
}
|
||||
symBack
|
||||
{
|
||||
type symmetryPlane;
|
||||
nFaces 3600;
|
||||
startFace 10923;
|
||||
nFaces 35792;
|
||||
startFace 2123966;
|
||||
}
|
||||
wing_5degrees.obj_WALL10
|
||||
{
|
||||
type wall;
|
||||
nFaces 49792;
|
||||
startFace 2159758;
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Reference in a new issue