openfoam wingmotion

86
南南南南南南南南南南 [南南南南南] 南南 wingMotion2D-pimpleDyMFoam 0/k 1 /*--------------------------------*- C++ -*----------------------------------*\ 2 | ========= | | 3 | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | \\ / O peration | Version: 1.7.1 | 5 | \\ / A nd | Web: www.OpenFOAM.com | 6 | \\/ M anipulation | | 7 \*---------------------------------------------------------------------------*/ 8 FoamFile 9 { 10 version 2.0; 11 format ascii; 12 class volScalarField; 13 object k; 14 } 15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 16 17 #include "include/initialConditions" 18 19 dimensions [0 2 -2 0 0 0 0]; 20 21 internalField uniform $turbulentKE; 22 23 boundaryField 24 { 25 #include "include/fixedInlet" 26 27 outlet 28 { 29 type inletOutlet; 30 inletValue $internalField; 31 value $internalField; 32 } 33 34 wing

Upload: mason925

Post on 11-Nov-2014

336 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

wingMotion2D-pimpleDyMFoam

0/k

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       volScalarField;

13     object      k;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 #include        "include/initialConditions"

18

19 dimensions      [0 2 -2 0 0 0 0];

20

21 internalField   uniform $turbulentKE;

22

23 boundaryField

24 {

25     #include "include/fixedInlet"

26

27     outlet

28     {

29         type            inletOutlet;

30         inletValue      $internalField;

31         value           $internalField;

32     }

33

34     wing

Page 2: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

35     {

36         type            kqRWallFunction;

37         value           $internalField;

38     }

39

40     #include "include/frontBackTopBottomPatches"

41 }

42

43

44 // ************************************************************************* //

0/nut

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       volScalarField;

13     location    "0";

14     object      nut;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 dimensions      [0 2 -1 0 0 0 0];

19

20 internalField   uniform 0;

21

22 boundaryField

23 {

24     wing

25     {

26         type            nutkWallFunction;

Page 3: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

27         value           uniform 0;

28     }

29

30     "(front|back|topAndBottom|inlet|outlet)"

31     {

32         type            calculated;

33         value           uniform 0;

34     }

35 }

36

37

38 // ************************************************************************* //

0/omega

Line  

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       volScalarField;

13     object      epsilon;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 #include        "include/initialConditions"

18

19 dimensions      [0 0 -1 0 0 0 0];

20

21 internalField   uniform $turbulentOmega;

22

23 boundaryField

Page 4: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

Line  

24 {

25     #include "include/fixedInlet"

26

27     outlet

28     {

29         type            inletOutlet;

30         inletValue      $internalField;

31         value           $internalField;

32     }

33

34     wing

35     {

36         type            omegaWallFunction;

37         value           $internalField;

38     }

39

40     #include "include/frontBackTopBottomPatches"

41 }

42

43

44 // ************************************************************************* //

0/p

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       volScalarField;

13     object      p;

14 }

Page 5: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 #include        "include/initialConditions"

18

19 dimensions      [0 2 -2 0 0 0 0];

20

21 internalField   uniform $pressure;

22

23 boundaryField

24 {

25     inlet

26     {

27         type            zeroGradient;

28     }

29

30     outlet

31     {

32         type            fixedValue;

33         value           $internalField;

34     }

35

36     wing

37     {

38         type            zeroGradient;

39     }

40

41     #include "include/frontBackTopBottomPatches"

42 }

43

44 // ************************************************************************* //

0/pointDisplacement

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

Page 6: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       pointVectorField;

13     location    "0.01";

14     object      pointDisplacement;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 dimensions      [0 1 0 0 0 0 0];

19

20 internalField   uniform (0 0 0);

21

22 boundaryField

23 {

24     wing

25     {

26         type            sixDoFRigidBodyDisplacement;

27         mass            22.9;

28         centreOfMass    (0.4974612746 -0.01671895744 0.125);

29         momentOfInertia (1.958864357 3.920839234 2.057121362);

30         orientation

31         (

32             0.9953705935 0.09611129781 0

33            -0.09611129781 0.9953705935 0

34             0 0 1

35         );

36         velocity        (0 0 0);

37         acceleration    (0 0 0);

38         angularMomentum (0 0 -0.5);

39         torque          (0 0 0);

40         rhoName         rhoInf;

41         rhoInf          1;

42         g               (0 -9.81 0);

43         report          on;

44         constraints

Page 7: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

45         {

46             maxIterations   500;

47

48             fixedLine1

49             {

50                 sixDoFRigidBodyMotionConstraint fixedLine;

51                 tolerance        1e-9;

52                 relaxationFactor 0.7;

53                 fixedLineCoeffs

54                 {

55                     refPoint      (0.25 0.007 0.125);

56                     direction     (0 1 0);

57                 }

58             }

59

60             fixedAxis1

61             {

62                 sixDoFRigidBodyMotionConstraint fixedAxis;

63                 tolerance       1e-06;

64                 relaxationFactor 0.7;

65                 fixedAxisCoeffs

66                 {

67                     axis            ( 0 0 1 );

68                 }

69             }

70         }

71         restraints

72         {

73             verticalSpring

74             {

75                 sixDoFRigidBodyMotionRestraint linearSpring;

76

77                 linearSpringCoeffs

78                 {

79                     anchor          (0.25 0.007 0.125);

80                     refAttachmentPt (0.25 0.007 0.125);

81                     stiffness       4000;

82                     damping         2;

Page 8: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

83                     restLength      0;

84                 }

85             }

86             axialSpring

87             {

88                 sixDoFRigidBodyMotionRestraint linearAxialAngularSpring;

89

90                 linearAxialAngularSpringCoeffs

91                 {

92                     axis            (0 0 1);

93                     stiffness       700;

94                     damping         0.5;

95                     referenceOrientation $orientation;

96                 }

97             }

98         }

99         value           uniform (0 0 0);

100     }

101

102     front

103     {

104         type            empty;

105     }

106

107     back

108     {

109         type            empty;

110     }

111

112      ".*"

113      {

114          type            fixedValue;

115          value           uniform (0 0 0);

116      }

117 }

118

119

120 // ************************************************************************* //

Page 9: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

0/u

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       volVectorField;

13     location    "0";

14     object      U;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 #include        "include/initialConditions"

19

20 dimensions      [0 1 -1 0 0 0 0];

21

22 internalField   uniform $flowVelocity;

23

24 boundaryField

25 {

26     #include "include/fixedInlet"

27

28     outlet

29     {

30         type            inletOutlet;

31         inletValue      uniform (0 0 0);

32         value           $internalField;

33     }

34

35     wing

36     {

Page 10: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

37         type            movingWallVelocity;

38         value           uniform (0 0 0);

39     }

40

41     #include "include/frontBackTopBottomPatches"

42 }

43

44

45 // ************************************************************************* //

constant/ployMesh/boundary

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       polyBoundaryMesh;

13     location    "constant/polyMesh";

14     object      boundary;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 6

19 (

20     topAndBottom

21     {

22         type            patch;

23         nFaces          150;

24         startFace       76473;

25     }

26     inlet

27     {

Page 11: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

28         type            patch;

29         nFaces          48;

30         startFace       76623;

31     }

32     outlet

33     {

34         type            patch;

35         nFaces          48;

36         startFace       76671;

37     }

38     wing

39     {

40         type            wall;

41         nFaces          778;

42         startFace       76719;

43     }

44     back

45     {

46         type            empty;

47         nFaces          38129;

48         startFace       77497;

49     }

50     front

51     {

52         type            empty;

53         nFaces          38129;

54         startFace       115626;

55     }

56 )

57

58 // ************************************************************************* //

constant/dynamicMeshDict

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

Page 12: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      motionProperties;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 dynamicFvMesh      dynamicMotionSolverFvMesh;

18

19 motionSolverLibs ("libfvMotionSolvers.so");

20

21 solver            displacementLaplacian;

22

23 diffusivity       inverseDistance (wing);

24

25

26 // ************************************************************************* //

constant/RASProperties

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "constant";

14     object      RASProperties;

15 }

Page 13: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 RASModel        kOmegaSST;

19

20 turbulence      on;

21

22 printCoeffs     on;

23

24

25 // ************************************************************************* //

constant/transportProperties

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      transportProperties;

14 }

15

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 transportModel Newtonian;

19

20 nu              nu [0 2 -1 0 0 0 0] 1e-05;

21

22 // ************************************************************************* //

constant/turbulenceProperties

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

Page 14: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "constant";

14     object      turbulenceProperties;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 simulationType  RASModel;

19

20

21 // ************************************************************************* //

system/controlDict

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "system";

14     object      controlDict;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

Page 15: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

18 application     pimpleDyMFoam;

19

20 startFrom       latestTime;

21

22 startTime       0;

23

24 stopAt          endTime;

25

26 endTime         1;

27

28 deltaT          1e-5;

29

30 writeControl    adjustableRunTime;

31

32 writeInterval   5e-3;

33

34 purgeWrite      0;

35

36 writeFormat     ascii;

37

38 writePrecision  10;

39

40 writeCompression uncompressed;

41

42 timeFormat      general;

43

44 timePrecision   6;

45

46 runTimeModifiable true;

47

48 adjustTimeStep  yes;

49

50 maxCo           0.9;

51

52 libs ("libforces.so");

53

54 functions

55 {

Page 16: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

56     forces

57     {

58         type                forces;

59         functionObjectLibs  ( "libforces.so" );

60         outputControl       timeStep;

61         outputInterval      10;

62         patches             (wing);

63         pName               p;

64         UName               U;

65         rhoName             rhoInf;

66         log                 true;

67         rhoInf              1;

68         CofR                (0.25 0.007 0.125);

69     }

70 }

71

72 // ************************************************************************* //

system/decomposeParDict

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "system";

14     object      decomposeParDict;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 numberOfSubdomains 3;

19

Page 17: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

20 method          simple;

21

22 simpleCoeffs

23 {

24     n               ( 1 3 1 );

25     delta           0.001;

26 }

27

28 hierarchicalCoeffs

29 {

30     n               ( 3 2 1 );

31     delta           0.001;

32     order           xyz;

33 }

34

35 manualCoeffs

36 {

37     dataFile        "cellDecomposition";

38 }

39

40 metisCoeffs

41 {

42 }

43

44

45 // ************************************************************************* //

system/fvSchemes

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

Page 18: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

11     format      ascii;

12     class       dictionary;

13     object      fvSchemes;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 ddtSchemes

18 {

19     default Euler;

20 }

21

22 gradSchemes

23 {

24     default         Gauss linear;

25     grad(p)         Gauss linear;

26     grad(U)         Gauss linear;

27 }

28

29 divSchemes

30 {

31     default         none;

32     div(phi,U)      Gauss linearUpwind Gauss linear;

33     div(phi,k)      Gauss limitedLinear 1;

34     div(phi,omega)  Gauss limitedLinear 1;

35     div((nuEff*dev(grad(U).T()))) Gauss linear;

36 }

37

38 laplacianSchemes

39 {

40     default         Gauss linear limited 0.5;

41 }

42

43 interpolationSchemes

44 {

45     default         linear;

46 }

47

48 snGradSchemes

Page 19: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

49 {

50     default         corrected;

51 }

52

53 fluxRequired

54 {

55     default         no;

56     p;

57 }

58

59 // ************************************************************************* //

system/fvSolution

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      fvSolution;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 solvers

18 {

19     p

20     {

21         solver           GAMG;

22         tolerance        1e-7;

23         relTol           0.01;

24         smoother         GaussSeidel;

25         nPreSweeps       0;

Page 20: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

26         nPostSweeps      2;

27         cacheAgglomeration on;

28         agglomerator     faceAreaPair;

29         nCellsInCoarsestLevel 10;

30         mergeLevels      1;

31     }

32

33     pFinal

34     {

35         solver           GAMG;

36         tolerance        1e-7;

37         relTol           0;

38         smoother         GaussSeidel;

39         nPreSweeps       0;

40         nPostSweeps      2;

41         cacheAgglomeration on;

42         agglomerator     faceAreaPair;

43         nCellsInCoarsestLevel 10;

44         mergeLevels      1;

45     }

46

47     "(U|k|omega)"

48     {

49         solver          PBiCG;

50         preconditioner  DILU;

51         tolerance       1e-06;

52         relTol          0;

53     }

54

55     cellDisplacement

56     {

57         solver          GAMG;

58         tolerance       1e-5;

59         relTol          0;

60         smoother        GaussSeidel;

61         cacheAgglomeration true;

62         nCellsInCoarsestLevel 10;

63         agglomerator    faceAreaPair;

Page 21: OpenFOAM wingMotion

南昌航空大学硕士论文 第一章

64         mergeLevels     1;

65     }

66 }

67

68 PIMPLE

69 {

70     nOuterCorrectors    2;

71     nCorrectors         1;

72     nNonOrthogonalCorrectors 0;

73 }

74

75 relaxationFactors

76 {

77     p               0.3;

78     U               0.7;

79     k               0.7;

80     omega           0.7;

81 }

82

83 cache

84 {

85     grad(U);

86 }

87

88 // ************************************************************************* //

Page 22: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

wingMotion2D_simpleFoam

0/k

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       volScalarField;

13     object      k;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 #include        "include/initialConditions"

18

19 dimensions      [0 2 -2 0 0 0 0];

20

21 internalField   uniform $turbulentKE;

22

23 boundaryField

24 {

25     #include "include/fixedInlet"

26

27     outlet

28     {

29         type            inletOutlet;

30         inletValue      $internalField;

31         value           $internalField;

32     }

33

34     wing

Page 23: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

35     {

36         type            kqRWallFunction;

37         value           $internalField;

38     }

39

40     #include "include/frontBackTopBottomPatches"

41 }

42

43

44 // ************************************************************************* //

0/nut

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       volScalarField;

13     location    "0";

14     object      nut;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 dimensions      [0 2 -1 0 0 0 0];

19

20 internalField   uniform 0;

21

22 boundaryField

23 {

24     wing

25     {

26         type            nutkWallFunction;

Page 24: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

27         value           uniform 0;

28     }

29

30     "(front|back|topAndBottom|inlet|outlet)"

31     {

32         type            calculated;

33         value           uniform 0;

34     }

35 }

36

37

38 // ************************************************************************* //

0/omega

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       volScalarField;

13     object      epsilon;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 #include        "include/initialConditions"

18

19 dimensions      [0 0 -1 0 0 0 0];

20

21 internalField   uniform $turbulentOmega;

22

23 boundaryField

24 {

Page 25: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

25     #include "include/fixedInlet"

26

27     outlet

28     {

29         type            inletOutlet;

30         inletValue      $internalField;

31         value           $internalField;

32     }

33

34     wing

35     {

36         type            omegaWallFunction;

37         value           $internalField;

38     }

39

40     #include "include/frontBackTopBottomPatches"

41 }

42

43

44 // ************************************************************************* //

0/p

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       volScalarField;

13     object      p;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

Page 26: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

17 #include        "include/initialConditions"

18

19 dimensions      [0 2 -2 0 0 0 0];

20

21 internalField   uniform $pressure;

22

23 boundaryField

24 {

25     inlet

26     {

27         type            zeroGradient;

28     }

29

30     outlet

31     {

32         type            fixedValue;

33         value           $internalField;

34     }

35

36     wing

37     {

38         type            zeroGradient;

39     }

40

41     #include "include/frontBackTopBottomPatches"

42 }

43

44 // ************************************************************************* //

0/u

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

Page 27: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

9 {

10     version     2.0;

11     format      ascii;

12     class       volVectorField;

13     location    "0";

14     object      U;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 #include        "include/initialConditions"

19

20 dimensions      [0 1 -1 0 0 0 0];

21

22 internalField   uniform $flowVelocity;

23

24 boundaryField

25 {

26     #include "include/fixedInlet"

27

28     outlet

29     {

30         type            inletOutlet;

31         inletValue      uniform (0 0 0);

32         value           $internalField;

33     }

34

35     wing

36     {

37         type            fixedValue;

38         value           uniform (0 0 0);

39     }

40

41     #include "include/frontBackTopBottomPatches"

42 }

43

44

45 // ************************************************************************* //

Page 28: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

constant/ployMesh/boundary

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       polyBoundaryMesh;

13     location    "constant/polyMesh";

14     object      boundary;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 6

19 (

20     topAndBottom

21     {

22         type            patch;

23         nFaces          150;

24         startFace       76473;

25     }

26     inlet

27     {

28         type            patch;

29         nFaces          48;

30         startFace       76623;

31     }

32     outlet

33     {

34         type            patch;

35         nFaces          48;

36         startFace       76671;

Page 29: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

37     }

38     wing

39     {

40         type            wall;

41         nFaces          778;

42         startFace       76719;

43     }

44     back

45     {

46         type            empty;

47         nFaces          38129;

48         startFace       77497;

49     }

50     front

51     {

52         type            empty;

53         nFaces          38129;

54         startFace       115626;

55     }

56 )

57

58 // ************************************************************************* //

constant/extrudeProperties

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      extrudeProperties;

14 }

Page 30: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 // What to extrude:

18 //      patch   : from patch of another case ('sourceCase')

19

20 constructFrom patch;

21 sourceCase "../wingMotion_snappyHexMesh";

22 sourcePatch front;

23

24 // If construct from patch: patch to use for back (can be same as sourcePatch)

25 exposedPatchName back;

26

27 // Flip surface normals before usage.

28 flipNormals false;

29

30 //- Linear extrusion in point-normal direction

31 extrudeModel        linearNormal;

32

33 nLayers             1;

34

35 expansionRatio      1.0;

36

37 linearNormalCoeffs

38 {

39     thickness       0.05;

40 }

41

42 // Do front and back need to be merged? Usually only makes sense for 360

43 // degree wedges.

44 mergeFaces false;

45

46

47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

constant/RASProperties

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

Page 31: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "constant";

14     object      RASProperties;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 RASModel        kOmegaSST;

19

20 turbulence      on;

21

22 printCoeffs     on;

23

24

25 // ************************************************************************* //

constant/transportProperties

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      transportProperties;

14 }

Page 32: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

15

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 transportModel Newtonian;

19

20 nu              nu [0 2 -1 0 0 0 0] 1e-05;

21

22 // ************************************************************************* //

system/controlDict

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "system";

14     object      controlDict;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 application     simpleFoam;

19

20 startFrom       latestTime;

21

22 startTime       0;

23

24 stopAt          endTime;

25

26 endTime         3000;

27

28 deltaT          1;

Page 33: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

29

30 writeControl    runTime;

31

32 writeInterval   100;

33

34 purgeWrite      0;

35

36 writeFormat     ascii;

37

38 writePrecision  6;

39

40 writeCompression uncompressed;

41

42 timeFormat      general;

43

44 timePrecision   6;

45

46 runTimeModifiable true;

47

48 functions

49 {

50     forces

51     {

52         type                forces;

53         functionObjectLibs  ( "libforces.so" );

54         outputControl       timeStep;

55         outputInterval      10;

56         patches             (wing);

57         pName               p;

58         UName               U;

59         rhoName             rhoInf;

60         log                 true;

61         rhoInf              1;

62         CofR                (0.4974612746 -0.01671895744 0.125);

63     }

64 }

65

66

Page 34: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

67 // ************************************************************************* //

system/createPatchDict

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      createPatchDict;

14 }

15

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 // Tolerance used in matching faces. Absolute tolerance is span of

19 // face times this factor. To load incorrectly matches meshes set this

20 // to a higher value.

21 matchTolerance 1E-3;

22

23 // Do a synchronisation of coupled points after creation of any patches.

24 // Note: this does not work with points that are on multiple coupled patches

25 //       with transformations.

26 pointSync true;

27

28 // Patches to create.

29 patchInfo

30 (

31     {

32         name topAndBottom;

33         dictionary

34         {

35             type patch;

Page 35: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

36         }

37         constructFrom patches;

38         patches ( auto0 auto2 );

39     }

40

41     {

42         name inlet;

43         dictionary

44         {

45             type patch;

46         }

47         constructFrom patches;

48         patches ( auto1 );

49     }

50

51     {

52         name outlet;

53         dictionary

54         {

55             type patch;

56         }

57         constructFrom patches;

58         patches ( auto3 );

59     }

60

61     {

62         name wing;

63         dictionary

64         {

65             type wall;

66         }

67         constructFrom patches;

68         patches ( auto4 );

69     }

70

71     {

72         name back;

73         dictionary

Page 36: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

74         {

75             type empty;

76         }

77         constructFrom patches;

78         patches ( auto5 );

79     }

80

81     {

82         name front;

83         dictionary

84         {

85             type empty;

86         }

87         constructFrom patches;

88         patches ( auto6 );

89     }

90 );

system/fvSchemes

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      fvSchemes;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 ddtSchemes

18 {

19     default steadyState;

Page 37: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

20 }

21

22 gradSchemes

23 {

24     default         Gauss linear;

25     grad(p)         Gauss linear;

26     grad(U)         Gauss linear;

27 }

28

29 divSchemes

30 {

31     default         none;

32     div(phi,U)      Gauss linearUpwind Gauss linear;

33     div(phi,k)      Gauss upwind;

34     div(phi,omega)  Gauss upwind;

35     div((nuEff*dev(grad(U).T()))) Gauss linear;

36 }

37

38 laplacianSchemes

39 {

40     default         Gauss linear corrected;

41 }

42

43 interpolationSchemes

44 {

45     default         linear;

46 }

47

48 snGradSchemes

49 {

50     default         corrected;

51 }

52

53 fluxRequired

54 {

55     default         no;

56     p;

57 }

Page 38: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

58

59 // ************************************************************************* //

system/fvSolution

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      fvSolution;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

17 solvers

18 {

19     p

20     {

21         solver           GAMG;

22         tolerance        1e-7;

23         relTol           0.1;

24         smoother         GaussSeidel;

25         nPreSweeps       0;

26         nPostSweeps      2;

27         cacheAgglomeration on;

28         agglomerator     faceAreaPair;

29         nCellsInCoarsestLevel 10;

30         mergeLevels      1;

31     }

32

33     U

34     {

Page 39: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

35         solver           smoothSolver;

36         smoother         GaussSeidel;

37         tolerance        1e-8;

38         relTol           0.1;

39         nSweeps          1;

40     }

41

42     k

43     {

44         solver           smoothSolver;

45         smoother         GaussSeidel;

46         tolerance        1e-8;

47         relTol           0.1;

48         nSweeps          1;

49     }

50

51     omega

52     {

53         solver           smoothSolver;

54         smoother         GaussSeidel;

55         tolerance        1e-8;

56         relTol           0.1;

57         nSweeps          1;

58     }

59 }

60

61 SIMPLE

62 {

63     nNonOrthogonalCorrectors 0;

64 }

65

66 relaxationFactors

67 {

68     p               0.3;

69     U               0.7;

70     k               0.7;

71     omega           0.7;

72 }

Page 40: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

73

74 cache

75 {

76     grad(U);

77 }

78

79 // ************************************************************************* //

wingMotion_snappyHexMesh

constant/ployMesh/blockMeshDict

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      blockMeshDict;

14 }

15

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 convertToMeters 1;

19

20 vertices

21 (

22     (-2.5 -4.8 -0.1)

23     ( 10  -4.8 -0.1)

24     ( 10   4.8 -0.1)

25     (-2.5  4.8 -0.1)

26     (-2.5 -4.8  0.1)

27     ( 10  -4.8  0.1)

Page 41: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

28     ( 10   4.8  0.1)

29     (-2.5  4.8  0.1)

30 );

31

32 blocks

33 (

34     hex (0 1 2 3 4 5 6 7) (75 48 1) simpleGrading (1 1 1)

35 );

36

37 edges

38 (

39 );

40

41 patches

42 (

43     patch topAndBottom

44     (

45         (3 7 6 2)

46         (1 5 4 0)

47     )

48

49     patch inlet

50     (

51         (0 4 7 3)

52     )

53

54     patch outlet

55     (

56         (2 6 5 1)

57     )

58

59     empty front

60     (

61         (4 5 6 7)

62     )

63

64     empty back

65     (

Page 42: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

66         (0 3 2 1)

67     )

68 );

69

70 mergePatchPairs

71 (

72 );

73

74 // ************************************************************************* //

constant/ployMesh/ boundary

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       polyBoundaryMesh;

13     location    "constant/polyMesh";

14     object      boundary;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 6

19 (

20     topAndBottom

21     {

22         type            patch;

23         nFaces          150;

24         startFace       2098769;

25     }

26     inlet

27     {

Page 43: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

28         type            patch;

29         nFaces          48;

30         startFace       2098919;

31     }

32     outlet

33     {

34         type            patch;

35         nFaces          48;

36         startFace       2098967;

37     }

38     front

39     {

40         type            empty;

41         nFaces          38129;

42         startFace       2099015;

43     }

44     back

45     {

46         type            empty;

47         nFaces          38120;

48         startFace       2137144;

49     }

50     wing_5degrees.obj_WALL10

51     {

52         type            wall;

53         nFaces          49792;

54         startFace       2175264;

55     }

56 )

57

58 // ************************************************************************* //

constant/triSurface/wing_5degrees.obj

1 # Wavefront OBJ file written 2010-05-13T09:12:43

2 o wing_5degrees

3

4 # points : 520

5 # faces  : 520

Page 44: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

6 # zones  : 1

7 #   0  WALL10  (nFaces: 520)

8

9 # <points count="520">

10 v 1.00488 -0.0890722 -0.5

11 v 1.00488 -0.0890722 0.5

12 v 0.999453 -0.0870827 0.5

13 v 0.999453 -0.0870827 -0.5

14 v 0.993747 -0.0849908 0.5

15 v 0.993747 -0.0849908 -0.5

16 v 0.98776 -0.0827959 0.5

17 v 0.98776 -0.0827959 -0.5

18 v 0.981475 -0.0804834 0.5

19 v 0.981475 -0.0804834 -0.5

20 v 0.974878 -0.0780483 0.5

21 v 0.974878 -0.0780483 -0.5

22 v 0.967936 -0.075535 0.5

23 v 0.967936 -0.075535 -0.5

24 v 0.960671 -0.0728297 0.5

25 v 0.960671 -0.0728297 -0.5

26 v 0.952986 -0.070149 0.5

27 v 0.952986 -0.070149 -0.5

28 v 0.944915 -0.067332 0.5

29 v 0.944915 -0.067332 -0.5

30 v 0.936442 -0.064377 0.5

31 v 0.936442 -0.064377 -0.5

32 v 0.927543 -0.0612777 0.5

33 v 0.927543 -0.0612777 -0.5

34 v 0.918171 -0.0581074 0.5

35 v 0.918171 -0.0581074 -0.5

36 v 0.908345 -0.0547308 0.5

37 v 0.908345 -0.0547308 -0.5

38 v 0.897978 -0.0513371 0.5

39 v 0.897978 -0.0513371 -0.5

40 v 0.887113 -0.0477115 0.5

41 v 0.887113 -0.0477115 -0.5

42 v 0.875671 -0.0440076 0.5

43 v 0.875671 -0.0440076 -0.5

Page 45: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

44 v 0.863634 -0.0401898 0.5

45 v 0.863634 -0.0401898 -0.5

46 v 0.850988 -0.0362043 0.5

47 v 0.850988 -0.0362043 -0.5

48 v 0.837677 -0.0321259 0.5

49 v 0.837677 -0.0321259 -0.5

50 v 0.8237 -0.0278406 0.5

51 v 0.8237 -0.0278406 -0.5

52 v 0.808997 -0.0234314 0.5

53 v 0.808997 -0.0234314 -0.5

54 v 0.793536 -0.0188824 0.5

55 v 0.793536 -0.0188824 -0.5

56 v 0.777248 -0.0142896 0.5

57 v 0.777248 -0.0142896 -0.5

58 v 0.760144 -0.00947585 0.5

59 v 0.760144 -0.00947585 -0.5

60 v 0.742148 -0.0045544 0.5

61 v 0.742148 -0.0045544 -0.5

62 v 0.723207 0.000449948 0.5

63 v 0.723207 0.000449948 -0.5

64 v 0.703296 0.00561154 0.5

65 v 0.703296 0.00561154 -0.5

66 v 0.682345 0.010854 0.5

67 v 0.682345 0.010854 -0.5

68 v 0.660295 0.0161554 0.5

69 v 0.660295 0.0161554 -0.5

70 v 0.637103 0.0215548 0.5

71 v 0.637103 0.0215548 -0.5

72 v 0.606829 0.0282606 0.5

73 v 0.606829 0.0282606 -0.5

74 v 0.578018 0.0343978 0.5

75 v 0.578018 0.0343978 -0.5

76 v 0.550557 0.0397874 0.5

77 v 0.550557 0.0397874 -0.5

78 v 0.524436 0.0447356 0.5

79 v 0.524436 0.0447356 -0.5

80 v 0.499549 0.0490421 0.5

81 v 0.499549 0.0490421 -0.5

Page 46: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

82 v 0.475869 0.05291 0.5

83 v 0.475869 0.05291 -0.5

84 v 0.45334 0.0563729 0.5

85 v 0.45334 0.0563729 -0.5

86 v 0.431911 0.059484 0.5

87 v 0.431911 0.059484 -0.5

88 v 0.411518 0.0621876 0.5

89 v 0.411518 0.0621876 -0.5

90 v 0.392118 0.0645445 0.5

91 v 0.392118 0.0645445 -0.5

92 v 0.373644 0.0664046 0.5

93 v 0.373644 0.0664046 -0.5

94 v 0.356081 0.0680196 0.5

95 v 0.356081 0.0680196 -0.5

96 v 0.339375 0.0692961 0.5

97 v 0.339375 0.0692961 -0.5

98 v 0.323487 0.0702815 0.5

99 v 0.323487 0.0702815 -0.5

100 v 0.308383 0.0710035 0.5

101 v 0.308383 0.0710035 -0.5

102 v 0.294024 0.0714698 0.5

103 v 0.294024 0.0714698 -0.5

104 v 0.28038 0.0717809 0.5

105 v 0.28038 0.0717809 -0.5

106 v 0.267416 0.0719191 0.5

107 v 0.267416 0.0719191 -0.5

108 v 0.255099 0.0718222 0.5

109 v 0.255099 0.0718222 -0.5

110 v 0.243399 0.0716511 0.5

111 v 0.243399 0.0716511 -0.5

112 v 0.232288 0.0713208 0.5

113 v 0.232288 0.0713208 -0.5

114 v 0.221735 0.0709249 0.5

115 v 0.221735 0.0709249 -0.5

116 v 0.211715 0.0704338 0.5

117 v 0.211715 0.0704338 -0.5

118 v 0.202202 0.0698513 0.5

119 v 0.202202 0.0698513 -0.5

Page 47: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

120 v 0.19317 0.0692271 0.5

121 v 0.19317 0.0692271 -0.5

122 v 0.184599 0.0685108 0.5

123 v 0.184599 0.0685108 -0.5

124 v 0.176464 0.0677409 0.5

125 v 0.176464 0.0677409 -0.5

126 v 0.168741 0.0669472 0.5

127 v 0.168741 0.0669472 -0.5

128 v 0.161418 0.0660755 0.5

129 v 0.161418 0.0660755 -0.5

130 v 0.154469 0.0651852 0.5

131 v 0.154469 0.0651852 -0.5

132 v 0.145493 0.0640314 0.5

133 v 0.145493 0.0640314 -0.5

134 v 0.136995 0.0627463 0.5

135 v 0.136995 0.0627463 -0.5

136 v 0.128932 0.0614383 0.5

137 v 0.128932 0.0614383 -0.5

138 v 0.121282 0.0601525 0.5

139 v 0.121282 0.0601525 -0.5

140 v 0.114049 0.0587416 0.5

141 v 0.114049 0.0587416 -0.5

142 v 0.107186 0.0573482 0.5

143 v 0.107186 0.0573482 -0.5

144 v 0.100675 0.0559871 0.5

145 v 0.100675 0.0559871 -0.5

146 v 0.0945147 0.0545794 0.5

147 v 0.0945147 0.0545794 -0.5

148 v 0.0886858 0.0531426 0.5

149 v 0.0886858 0.0531426 -0.5

150 v 0.0831659 0.0517083 0.5

151 v 0.0831659 0.0517083 -0.5

152 v 0.0779342 0.0503006 0.5

153 v 0.0779342 0.0503006 -0.5

154 v 0.072975 0.0489224 0.5

155 v 0.072975 0.0489224 -0.5

156 v 0.0682798 0.0475559 0.5

157 v 0.0682798 0.0475559 -0.5

Page 48: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

158 v 0.0638499 0.0461601 0.5

159 v 0.0638499 0.0461601 -0.5

160 v 0.0596656 0.0447577 0.5

161 v 0.0596656 0.0447577 -0.5

162 v 0.055694 0.0434126 0.5

163 v 0.055694 0.0434126 -0.5

164 v 0.0519364 0.0420932 0.5

165 v 0.0519364 0.0420932 -0.5

166 v 0.0484053 0.0407363 0.5

167 v 0.0484053 0.0407363 -0.5

168 v 0.0450779 0.0393756 0.5

169 v 0.0450779 0.0393756 -0.5

170 v 0.0419215 0.0380722 0.5

171 v 0.0419215 0.0380722 -0.5

172 v 0.0389288 0.0368211 0.5

173 v 0.0389288 0.0368211 -0.5

174 v 0.036102 0.0355928 0.5

175 v 0.036102 0.0355928 -0.5

176 v 0.0334425 0.034368 0.5

177 v 0.0334425 0.034368 -0.5

178 v 0.0309496 0.0331356 0.5

179 v 0.0309496 0.0331356 -0.5

180 v 0.0286117 0.0319047 0.5

181 v 0.0286117 0.0319047 -0.5

182 v 0.0264077 0.0307022 0.5

183 v 0.0264077 0.0307022 -0.5

184 v 0.0243248 0.02954 0.5

185 v 0.0243248 0.02954 -0.5

186 v 0.0223665 0.0284014 0.5

187 v 0.0223665 0.0284014 -0.5

188 v 0.0205353 0.0272716 0.5

189 v 0.0205353 0.0272716 -0.5

190 v 0.0188204 0.0261581 0.5

191 v 0.0188204 0.0261581 -0.5

192 v 0.0172057 0.0250781 0.5

193 v 0.0172057 0.0250781 -0.5

194 v 0.015681 0.0240389 0.5

195 v 0.015681 0.0240389 -0.5

Page 49: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

196 v 0.0142472 0.0230307 0.5

197 v 0.0142472 0.0230307 -0.5

198 v 0.0129051 0.0220434 0.5

199 v 0.0129051 0.0220434 -0.5

200 v 0.0116567 0.0210699 0.5

201 v 0.0116567 0.0210699 -0.5

202 v 0.0105044 0.0201047 0.5

203 v 0.0105044 0.0201047 -0.5

204 v 0.00944864 0.0191444 0.5

205 v 0.00944864 0.0191444 -0.5

206 v 0.00847997 0.0181956 0.5

207 v 0.00847997 0.0181956 -0.5

208 v 0.00758214 0.0172702 0.5

209 v 0.00758214 0.0172702 -0.5

210 v 0.00674204 0.0163779 0.5

211 v 0.00674204 0.0163779 -0.5

212 v 0.00595671 0.0155186 0.5

213 v 0.00595671 0.0155186 -0.5

214 v 0.00523198 0.0146848 0.5

215 v 0.00523198 0.0146848 -0.5

216 v 0.00457157 0.0138701 0.5

217 v 0.00457157 0.0138701 -0.5

218 v 0.00397503 0.0130721 0.5

219 v 0.00397503 0.0130721 -0.5

220 v 0.00343506 0.0122936 0.5

221 v 0.00343506 0.0122936 -0.5

222 v 0.0029443 0.0115379 0.5

223 v 0.0029443 0.0115379 -0.5

224 v 0.0024965 0.010807 0.5

225 v 0.0024965 0.010807 -0.5

226 v 0.00209053 0.0101012 0.5

227 v 0.00209053 0.0101012 -0.5

228 v 0.00172938 0.00941821 0.5

229 v 0.00172938 0.00941821 -0.5

230 v 0.00141481 0.00875662 0.5

231 v 0.00141481 0.00875662 -0.5

232 v 0.00114703 0.00811509 0.5

233 v 0.00114703 0.00811509 -0.5

Page 50: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

234 v 0.000922634 0.00749375 0.5

235 v 0.000922634 0.00749375 -0.5

236 v 0.00073432 0.00689421 0.5

237 v 0.00073432 0.00689421 -0.5

238 v 0.000575606 0.00631745 0.5

239 v 0.000575606 0.00631745 -0.5

240 v 0.000441178 0.00576428 0.5

241 v 0.000441178 0.00576428 -0.5

242 v 0.000326628 0.00523494 0.5

243 v 0.000326628 0.00523494 -0.5

244 v 0.000229331 0.00472926 0.5

245 v 0.000229331 0.00472926 -0.5

246 v 0.000147968 0.00424663 0.5

247 v 0.000147968 0.00424663 -0.5

248 v 8.13071e-05 0.00378656 0.5

249 v 8.13071e-05 0.00378656 -0.5

250 v 2.81186e-05 0.00334838 0.5

251 v 2.81186e-05 0.00334838 -0.5

252 v -1.28053e-05 0.00293132 0.5

253 v -1.28053e-05 0.00293132 -0.5

254 v -4.26138e-05 0.00253464 0.5

255 v -4.26138e-05 0.00253464 -0.5

256 v -6.24104e-05 0.00215753 0.5

257 v -6.24104e-05 0.00215753 -0.5

258 v -7.32354e-05 0.00179922 0.5

259 v -7.32354e-05 0.00179922 -0.5

260 v -7.6066e-05 0.00145891 0.5

261 v -7.6066e-05 0.00145891 -0.5

262 v -7.18149e-05 0.00113574 0.5

263 v -7.18149e-05 0.00113574 -0.5

264 v -6.13265e-05 0.000828962 0.5

265 v -6.13265e-05 0.000828962 -0.5

266 v -4.5388e-05 0.000537894 0.5

267 v -4.5388e-05 0.000537894 -0.5

268 v -2.47174e-05 0.000261729 0.5

269 v -2.47174e-05 0.000261729 -0.5

270 v 0.999428 -0.0886333 -0.5

271 v 0.999428 -0.0886333 0.5

Page 51: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

272 v 0 0 0.5

273 v 0 0 -0.5

274 v 3.07731e-05 -0.000269468 0.5

275 v 3.07731e-05 -0.000269468 -0.5

276 v 6.87839e-05 -0.000551758 0.5

277 v 6.87839e-05 -0.000551758 -0.5

278 v 0.00011487 -0.000847395 0.5

279 v 0.00011487 -0.000847395 -0.5

280 v 0.000169958 -0.00115699 0.5

281 v 0.000169958 -0.00115699 -0.5

282 v 0.000235006 -0.00148084 0.5

283 v 0.000235006 -0.00148084 -0.5

284 v 0.000311085 -0.00181947 0.5

285 v 0.000311085 -0.00181947 -0.5

286 v 0.000399343 -0.00217329 0.5

287 v 0.000399343 -0.00217329 -0.5

288 v 0.000501006 -0.00254265 0.5

289 v 0.000501006 -0.00254265 -0.5

290 v 0.000617405 -0.00292793 0.5

291 v 0.000617405 -0.00292793 -0.5

292 v 0.000749918 -0.00332928 0.5

293 v 0.000749918 -0.00332928 -0.5

294 v 0.000900098 -0.00374706 0.5

295 v 0.000900098 -0.00374706 -0.5

296 v 0.00106951 -0.00418123 0.5

297 v 0.00106951 -0.00418123 -0.5

298 v 0.00125981 -0.00463173 0.5

299 v 0.00125981 -0.00463173 -0.5

300 v 0.00147278 -0.00509836 0.5

301 v 0.00147278 -0.00509836 -0.5

302 v 0.00171023 -0.00558073 0.5

303 v 0.00171023 -0.00558073 -0.5

304 v 0.0019741 -0.00607866 0.5

305 v 0.0019741 -0.00607866 -0.5

306 v 0.00226657 -0.00659235 0.5

307 v 0.00226657 -0.00659235 -0.5

308 v 0.00258985 -0.00712192 0.5

309 v 0.00258985 -0.00712192 -0.5

Page 52: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

310 v 0.00294625 -0.00766749 0.5

311 v 0.00294625 -0.00766749 -0.5

312 v 0.0033381 -0.00822888 0.5

313 v 0.0033381 -0.00822888 -0.5

314 v 0.00376858 -0.00880495 0.5

315 v 0.00376858 -0.00880495 -0.5

316 v 0.00424144 -0.00939356 0.5

317 v 0.00424144 -0.00939356 -0.5

318 v 0.0047608 -0.00999197 0.5

319 v 0.0047608 -0.00999197 -0.5

320 v 0.00533108 -0.0105969 0.5

321 v 0.00533108 -0.0105969 -0.5

322 v 0.00595465 -0.0112076 0.5

323 v 0.00595465 -0.0112076 -0.5

324 v 0.00663108 -0.0118268 0.5

325 v 0.00663108 -0.0118268 -0.5

326 v 0.00735864 -0.0124589 0.5

327 v 0.00735864 -0.0124589 -0.5

328 v 0.00813479 -0.0131082 0.5

329 v 0.00813479 -0.0131082 -0.5

330 v 0.00896315 -0.0137726 0.5

331 v 0.00896315 -0.0137726 -0.5

332 v 0.00985143 -0.0144449 0.5

333 v 0.00985143 -0.0144449 -0.5

334 v 0.0108089 -0.0151156 0.5

335 v 0.0108089 -0.0151156 -0.5

336 v 0.0118417 -0.0157801 0.5

337 v 0.0118417 -0.0157801 -0.5

338 v 0.0129485 -0.0164439 0.5

339 v 0.0129485 -0.0164439 -0.5

340 v 0.0141258 -0.0171158 0.5

341 v 0.0141258 -0.0171158 -0.5

342 v 0.0153717 -0.0178024 0.5

343 v 0.0153717 -0.0178024 -0.5

344 v 0.0166914 -0.0185005 0.5

345 v 0.0166914 -0.0185005 -0.5

346 v 0.0180921 -0.0192037 0.5

347 v 0.0180921 -0.0192037 -0.5

Page 53: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

348 v 0.01958 -0.019908 0.5

349 v 0.01958 -0.019908 -0.5

350 v 0.0211576 -0.0206151 0.5

351 v 0.0211576 -0.0206151 -0.5

352 v 0.0228265 -0.0213288 0.5

353 v 0.0228265 -0.0213288 -0.5

354 v 0.0245895 -0.0220523 0.5

355 v 0.0245895 -0.0220523 -0.5

356 v 0.0264506 -0.0227868 0.5

357 v 0.0264506 -0.0227868 -0.5

358 v 0.028415 -0.0235332 0.5

359 v 0.028415 -0.0235332 -0.5

360 v 0.0304905 -0.0242814 0.5

361 v 0.0304905 -0.0242814 -0.5

362 v 0.0326872 -0.0250146 0.5

363 v 0.0326872 -0.0250146 -0.5

364 v 0.0350128 -0.0257258 0.5

365 v 0.0350128 -0.0257258 -0.5

366 v 0.0374672 -0.0264333 0.5

367 v 0.0374672 -0.0264333 -0.5

368 v 0.0400497 -0.0271566 0.5

369 v 0.0400497 -0.0271566 -0.5

370 v 0.0427704 -0.0278802 0.5

371 v 0.0427704 -0.0278802 -0.5

372 v 0.0456434 -0.0285739 0.5

373 v 0.0456434 -0.0285739 -0.5

374 v 0.0486731 -0.0292495 0.5

375 v 0.0486731 -0.0292495 -0.5

376 v 0.0518554 -0.0299566 0.5

377 v 0.0518554 -0.0299566 -0.5

378 v 0.0551966 -0.030697 0.5

379 v 0.0551966 -0.030697 -0.5

380 v 0.0587179 -0.0314085 0.5

381 v 0.0587179 -0.0314085 -0.5

382 v 0.062431 -0.032078 0.5

383 v 0.062431 -0.032078 -0.5

384 v 0.0663314 -0.0327743 0.5

385 v 0.0663314 -0.0327743 -0.5

Page 54: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

386 v 0.0704248 -0.033514 0.5

387 v 0.0704248 -0.033514 -0.5

388 v 0.0747335 -0.0342256 0.5

389 v 0.0747335 -0.0342256 -0.5

390 v 0.0792714 -0.0348902 0.5

391 v 0.0792714 -0.0348902 -0.5

392 v 0.0840416 -0.0355492 0.5

393 v 0.0840416 -0.0355492 -0.5

394 v 0.089054 -0.0362103 0.5

395 v 0.089054 -0.0362103 -0.5

396 v 0.0943226 -0.0368627 0.5

397 v 0.0943226 -0.0368627 -0.5

398 v 0.0998603 -0.0375041 0.5

399 v 0.0998603 -0.0375041 -0.5

400 v 0.105679 -0.0381355 0.5

401 v 0.105679 -0.0381355 -0.5

402 v 0.111793 -0.0387575 0.5

403 v 0.111793 -0.0387575 -0.5

404 v 0.118218 -0.0393567 0.5

405 v 0.118218 -0.0393567 -0.5

406 v 0.124968 -0.0399429 0.5

407 v 0.124968 -0.0399429 -0.5

408 v 0.132055 -0.0405782 0.5

409 v 0.132055 -0.0405782 -0.5

410 v 0.1395 -0.0411771 0.5

411 v 0.1395 -0.0411771 -0.5

412 v 0.147326 -0.041699 0.5

413 v 0.147326 -0.041699 -0.5

414 v 0.15451 -0.0421969 0.5

415 v 0.15451 -0.0421969 -0.5

416 v 0.162054 -0.042698 0.5

417 v 0.162054 -0.042698 -0.5

418 v 0.16998 -0.0431596 0.5

419 v 0.16998 -0.0431596 -0.5

420 v 0.178305 -0.0435984 0.5

421 v 0.178305 -0.0435984 -0.5

422 v 0.187045 -0.0440696 0.5

423 v 0.187045 -0.0440696 -0.5

Page 55: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

424 v 0.196223 -0.0445349 0.5

425 v 0.196223 -0.0445349 -0.5

426 v 0.205864 -0.0449725 0.5

427 v 0.205864 -0.0449725 -0.5

428 v 0.215985 -0.045448 0.5

429 v 0.215985 -0.045448 -0.5

430 v 0.226615 -0.0458797 0.5

431 v 0.226615 -0.0458797 -0.5

432 v 0.237778 -0.0463184 0.5

433 v 0.237778 -0.0463184 -0.5

434 v 0.249497 -0.0468156 0.5

435 v 0.249497 -0.0468156 -0.5

436 v 0.261804 -0.0472732 0.5

437 v 0.261804 -0.0472732 -0.5

438 v 0.274727 -0.0477637 0.5

439 v 0.274727 -0.0477637 -0.5

440 v 0.288294 -0.0483182 0.5

441 v 0.288294 -0.0483182 -0.5

442 v 0.302542 -0.0488257 0.5

443 v 0.302542 -0.0488257 -0.5

444 v 0.317502 -0.0493844 0.5

445 v 0.317502 -0.0493844 -0.5

446 v 0.33321 -0.0499788 0.5

447 v 0.33321 -0.0499788 -0.5

448 v 0.349702 -0.0506056 0.5

449 v 0.349702 -0.0506056 -0.5

450 v 0.367015 -0.0513872 0.5

451 v 0.367015 -0.0513872 -0.5

452 v 0.385192 -0.0522281 0.5

453 v 0.385192 -0.0522281 -0.5

454 v 0.404277 -0.0531254 0.5

455 v 0.404277 -0.0531254 -0.5

456 v 0.424316 -0.0540817 0.5

457 v 0.424316 -0.0540817 -0.5

458 v 0.445357 -0.0550979 0.5

459 v 0.445357 -0.0550979 -0.5

460 v 0.467451 -0.0560874 0.5

461 v 0.467451 -0.0560874 -0.5

Page 56: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

462 v 0.490649 -0.0571824 0.5

463 v 0.490649 -0.0571824 -0.5

464 v 0.51501 -0.0582757 0.5

465 v 0.51501 -0.0582757 -0.5

466 v 0.540585 -0.0594903 0.5

467 v 0.540585 -0.0594903 -0.5

468 v 0.567439 -0.0607815 0.5

469 v 0.567439 -0.0607815 -0.5

470 v 0.595635 -0.0621304 0.5

471 v 0.595635 -0.0621304 -0.5

472 v 0.625242 -0.0635352 0.5

473 v 0.625242 -0.0635352 -0.5

474 v 0.649433 -0.0648334 0.5

475 v 0.649433 -0.0648334 -0.5

476 v 0.672415 -0.0660494 0.5

477 v 0.672415 -0.0660494 -0.5

478 v 0.694245 -0.0672674 0.5

479 v 0.694245 -0.0672674 -0.5

480 v 0.714979 -0.0684936 0.5

481 v 0.714979 -0.0684936 -0.5

482 v 0.734678 -0.0696472 0.5

483 v 0.734678 -0.0696472 -0.5

484 v 0.753392 -0.070724 0.5

485 v 0.753392 -0.070724 -0.5

486 v 0.771162 -0.0718742 0.5

487 v 0.771162 -0.0718742 -0.5

488 v 0.788046 -0.0729552 0.5

489 v 0.788046 -0.0729552 -0.5

490 v 0.804086 -0.0739668 0.5

491 v 0.804086 -0.0739668 -0.5

492 v 0.819316 -0.0750462 0.5

493 v 0.819316 -0.0750462 -0.5

494 v 0.833785 -0.076061 0.5

495 v 0.833785 -0.076061 -0.5

496 v 0.847532 -0.0770175 0.5

497 v 0.847532 -0.0770175 -0.5

498 v 0.86059 -0.0779215 0.5

499 v 0.86059 -0.0779215 -0.5

Page 57: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

500 v 0.872998 -0.0787716 0.5

501 v 0.872998 -0.0787716 -0.5

502 v 0.884776 -0.079698 0.5

503 v 0.884776 -0.079698 -0.5

504 v 0.89597 -0.0805061 0.5

505 v 0.89597 -0.0805061 -0.5

506 v 0.906605 -0.0812554 0.5

507 v 0.906605 -0.0812554 -0.5

508 v 0.916704 -0.0820352 0.5

509 v 0.916704 -0.0820352 -0.5

510 v 0.926301 -0.0827494 0.5

511 v 0.926301 -0.0827494 -0.5

512 v 0.935409 -0.0835384 0.5

513 v 0.935409 -0.0835384 -0.5

514 v 0.944071 -0.0841575 0.5

515 v 0.944071 -0.0841575 -0.5

516 v 0.952294 -0.0848264 0.5

517 v 0.952294 -0.0848264 -0.5

518 v 0.960109 -0.0854166 0.5

519 v 0.960109 -0.0854166 -0.5

520 v 0.967527 -0.0860602 0.5

521 v 0.967527 -0.0860602 -0.5

522 v 0.97458 -0.0865997 0.5

523 v 0.97458 -0.0865997 -0.5

524 v 0.981277 -0.0871547 0.5

525 v 0.981277 -0.0871547 -0.5

526 v 0.987637 -0.0876912 0.5

527 v 0.987637 -0.0876912 -0.5

528 v 0.993684 -0.0881407 0.5

529 v 0.993684 -0.0881407 -0.5

530 # </points>

531

532 # <faces count="520">

533 g WALL10

534 f 1 2 3

535 f 3 4 1

536 f 4 3 5

537 f 5 6 4

Page 58: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

538 f 6 5 7

539 f 7 8 6

540 f 8 7 9

541 f 9 10 8

542 f 10 9 11

543 f 11 12 10

544 f 12 11 13

545 f 13 14 12

546 f 14 13 15

547 f 15 16 14

548 f 16 15 17

549 f 17 18 16

550 f 18 17 19

551 f 19 20 18

552 f 20 19 21

553 f 21 22 20

554 f 22 21 23

555 f 23 24 22

556 f 24 23 25

557 f 25 26 24

558 f 26 25 27

559 f 27 28 26

560 f 28 27 29

561 f 29 30 28

562 f 30 29 31

563 f 31 32 30

564 f 32 31 33

565 f 33 34 32

566 f 34 33 35

567 f 35 36 34

568 f 36 35 37

569 f 37 38 36

570 f 38 37 39

571 f 39 40 38

572 f 40 39 41

573 f 41 42 40

574 f 42 41 43

575 f 43 44 42

Page 59: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

576 f 44 43 45

577 f 45 46 44

578 f 46 45 47

579 f 47 48 46

580 f 48 47 49

581 f 49 50 48

582 f 50 49 51

583 f 51 52 50

584 f 52 51 53

585 f 53 54 52

586 f 54 53 55

587 f 55 56 54

588 f 56 55 57

589 f 57 58 56

590 f 58 57 59

591 f 59 60 58

592 f 60 59 61

593 f 61 62 60

594 f 62 61 63

595 f 63 64 62

596 f 64 63 65

597 f 65 66 64

598 f 66 65 67

599 f 67 68 66

600 f 68 67 69

601 f 69 70 68

602 f 70 69 71

603 f 71 72 70

604 f 72 71 73

605 f 73 74 72

606 f 74 73 75

607 f 75 76 74

608 f 76 75 77

609 f 77 78 76

610 f 78 77 79

611 f 79 80 78

612 f 80 79 81

613 f 81 82 80

Page 60: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

614 f 82 81 83

615 f 83 84 82

616 f 84 83 85

617 f 85 86 84

618 f 86 85 87

619 f 87 88 86

620 f 88 87 89

621 f 89 90 88

622 f 90 89 91

623 f 91 92 90

624 f 92 91 93

625 f 93 94 92

626 f 94 93 95

627 f 95 96 94

628 f 96 95 97

629 f 97 98 96

630 f 98 97 99

631 f 99 100 98

632 f 100 99 101

633 f 101 102 100

634 f 102 101 103

635 f 103 104 102

636 f 104 103 105

637 f 105 106 104

638 f 106 105 107

639 f 107 108 106

640 f 108 107 109

641 f 109 110 108

642 f 110 109 111

643 f 111 112 110

644 f 112 111 113

645 f 113 114 112

646 f 114 113 115

647 f 115 116 114

648 f 116 115 117

649 f 117 118 116

650 f 118 117 119

651 f 119 120 118

Page 61: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

652 f 120 119 121

653 f 121 122 120

654 f 122 121 123

655 f 123 124 122

656 f 124 123 125

657 f 125 126 124

658 f 126 125 127

659 f 127 128 126

660 f 128 127 129

661 f 129 130 128

662 f 130 129 131

663 f 131 132 130

664 f 132 131 133

665 f 133 134 132

666 f 134 133 135

667 f 135 136 134

668 f 136 135 137

669 f 137 138 136

670 f 138 137 139

671 f 139 140 138

672 f 140 139 141

673 f 141 142 140

674 f 142 141 143

675 f 143 144 142

676 f 144 143 145

677 f 145 146 144

678 f 146 145 147

679 f 147 148 146

680 f 148 147 149

681 f 149 150 148

682 f 150 149 151

683 f 151 152 150

684 f 152 151 153

685 f 153 154 152

686 f 154 153 155

687 f 155 156 154

688 f 156 155 157

689 f 157 158 156

Page 62: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

690 f 158 157 159

691 f 159 160 158

692 f 160 159 161

693 f 161 162 160

694 f 162 161 163

695 f 163 164 162

696 f 164 163 165

697 f 165 166 164

698 f 166 165 167

699 f 167 168 166

700 f 168 167 169

701 f 169 170 168

702 f 170 169 171

703 f 171 172 170

704 f 172 171 173

705 f 173 174 172

706 f 174 173 175

707 f 175 176 174

708 f 176 175 177

709 f 177 178 176

710 f 178 177 179

711 f 179 180 178

712 f 180 179 181

713 f 181 182 180

714 f 182 181 183

715 f 183 184 182

716 f 184 183 185

717 f 185 186 184

718 f 186 185 187

719 f 187 188 186

720 f 188 187 189

721 f 189 190 188

722 f 190 189 191

723 f 191 192 190

724 f 192 191 193

725 f 193 194 192

726 f 194 193 195

727 f 195 196 194

Page 63: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

728 f 196 195 197

729 f 197 198 196

730 f 198 197 199

731 f 199 200 198

732 f 200 199 201

733 f 201 202 200

734 f 202 201 203

735 f 203 204 202

736 f 204 203 205

737 f 205 206 204

738 f 206 205 207

739 f 207 208 206

740 f 208 207 209

741 f 209 210 208

742 f 210 209 211

743 f 211 212 210

744 f 212 211 213

745 f 213 214 212

746 f 214 213 215

747 f 215 216 214

748 f 216 215 217

749 f 217 218 216

750 f 218 217 219

751 f 219 220 218

752 f 220 219 221

753 f 221 222 220

754 f 222 221 223

755 f 223 224 222

756 f 224 223 225

757 f 225 226 224

758 f 226 225 227

759 f 227 228 226

760 f 228 227 229

761 f 229 230 228

762 f 230 229 231

763 f 231 232 230

764 f 232 231 233

765 f 233 234 232

Page 64: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

766 f 234 233 235

767 f 235 236 234

768 f 236 235 237

769 f 237 238 236

770 f 238 237 239

771 f 239 240 238

772 f 240 239 241

773 f 241 242 240

774 f 242 241 243

775 f 243 244 242

776 f 244 243 245

777 f 245 246 244

778 f 246 245 247

779 f 247 248 246

780 f 248 247 249

781 f 249 250 248

782 f 250 249 251

783 f 251 252 250

784 f 252 251 253

785 f 253 254 252

786 f 254 253 255

787 f 255 256 254

788 f 256 255 257

789 f 257 258 256

790 f 258 257 259

791 f 259 260 258

792 f 261 262 2

793 f 2 1 261

794 f 260 259 263

795 f 263 264 260

796 f 264 263 265

797 f 265 266 264

798 f 266 265 267

799 f 267 268 266

800 f 268 267 269

801 f 269 270 268

802 f 270 269 271

803 f 271 272 270

Page 65: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

804 f 272 271 273

805 f 273 274 272

806 f 274 273 275

807 f 275 276 274

808 f 276 275 277

809 f 277 278 276

810 f 278 277 279

811 f 279 280 278

812 f 280 279 281

813 f 281 282 280

814 f 282 281 283

815 f 283 284 282

816 f 284 283 285

817 f 285 286 284

818 f 286 285 287

819 f 287 288 286

820 f 288 287 289

821 f 289 290 288

822 f 290 289 291

823 f 291 292 290

824 f 292 291 293

825 f 293 294 292

826 f 294 293 295

827 f 295 296 294

828 f 296 295 297

829 f 297 298 296

830 f 298 297 299

831 f 299 300 298

832 f 300 299 301

833 f 301 302 300

834 f 302 301 303

835 f 303 304 302

836 f 304 303 305

837 f 305 306 304

838 f 306 305 307

839 f 307 308 306

840 f 308 307 309

841 f 309 310 308

Page 66: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

842 f 310 309 311

843 f 311 312 310

844 f 312 311 313

845 f 313 314 312

846 f 314 313 315

847 f 315 316 314

848 f 316 315 317

849 f 317 318 316

850 f 318 317 319

851 f 319 320 318

852 f 320 319 321

853 f 321 322 320

854 f 322 321 323

855 f 323 324 322

856 f 324 323 325

857 f 325 326 324

858 f 326 325 327

859 f 327 328 326

860 f 328 327 329

861 f 329 330 328

862 f 330 329 331

863 f 331 332 330

864 f 332 331 333

865 f 333 334 332

866 f 334 333 335

867 f 335 336 334

868 f 336 335 337

869 f 337 338 336

870 f 338 337 339

871 f 339 340 338

872 f 340 339 341

873 f 341 342 340

874 f 342 341 343

875 f 343 344 342

876 f 344 343 345

877 f 345 346 344

878 f 346 345 347

879 f 347 348 346

Page 67: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

880 f 348 347 349

881 f 349 350 348

882 f 350 349 351

883 f 351 352 350

884 f 352 351 353

885 f 353 354 352

886 f 354 353 355

887 f 355 356 354

888 f 356 355 357

889 f 357 358 356

890 f 358 357 359

891 f 359 360 358

892 f 360 359 361

893 f 361 362 360

894 f 362 361 363

895 f 363 364 362

896 f 364 363 365

897 f 365 366 364

898 f 366 365 367

899 f 367 368 366

900 f 368 367 369

901 f 369 370 368

902 f 370 369 371

903 f 371 372 370

904 f 372 371 373

905 f 373 374 372

906 f 374 373 375

907 f 375 376 374

908 f 376 375 377

909 f 377 378 376

910 f 378 377 379

911 f 379 380 378

912 f 380 379 381

913 f 381 382 380

914 f 382 381 383

915 f 383 384 382

916 f 384 383 385

917 f 385 386 384

Page 68: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

918 f 386 385 387

919 f 387 388 386

920 f 388 387 389

921 f 389 390 388

922 f 390 389 391

923 f 391 392 390

924 f 392 391 393

925 f 393 394 392

926 f 394 393 395

927 f 395 396 394

928 f 396 395 397

929 f 397 398 396

930 f 398 397 399

931 f 399 400 398

932 f 400 399 401

933 f 401 402 400

934 f 402 401 403

935 f 403 404 402

936 f 404 403 405

937 f 405 406 404

938 f 406 405 407

939 f 407 408 406

940 f 408 407 409

941 f 409 410 408

942 f 410 409 411

943 f 411 412 410

944 f 412 411 413

945 f 413 414 412

946 f 414 413 415

947 f 415 416 414

948 f 416 415 417

949 f 417 418 416

950 f 418 417 419

951 f 419 420 418

952 f 420 419 421

953 f 421 422 420

954 f 422 421 423

955 f 423 424 422

Page 69: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

956 f 424 423 425

957 f 425 426 424

958 f 426 425 427

959 f 427 428 426

960 f 428 427 429

961 f 429 430 428

962 f 430 429 431

963 f 431 432 430

964 f 432 431 433

965 f 433 434 432

966 f 434 433 435

967 f 435 436 434

968 f 436 435 437

969 f 437 438 436

970 f 438 437 439

971 f 439 440 438

972 f 440 439 441

973 f 441 442 440

974 f 442 441 443

975 f 443 444 442

976 f 444 443 445

977 f 445 446 444

978 f 446 445 447

979 f 447 448 446

980 f 448 447 449

981 f 449 450 448

982 f 450 449 451

983 f 451 452 450

984 f 452 451 453

985 f 453 454 452

986 f 454 453 455

987 f 455 456 454

988 f 456 455 457

989 f 457 458 456

990 f 458 457 459

991 f 459 460 458

992 f 460 459 461

993 f 461 462 460

Page 70: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

994 f 462 461 463

995 f 463 464 462

996 f 464 463 465

997 f 465 466 464

998 f 466 465 467

999 f 467 468 466

1000 f 468 467 469

1001 f 469 470 468

1002 f 470 469 471

1003 f 471 472 470

1004 f 472 471 473

1005 f 473 474 472

1006 f 474 473 475

1007 f 475 476 474

1008 f 476 475 477

1009 f 477 478 476

1010 f 478 477 479

1011 f 479 480 478

1012 f 480 479 481

1013 f 481 482 480

1014 f 482 481 483

1015 f 483 484 482

1016 f 484 483 485

1017 f 485 486 484

1018 f 486 485 487

1019 f 487 488 486

1020 f 488 487 489

1021 f 489 490 488

1022 f 490 489 491

1023 f 491 492 490

1024 f 492 491 493

1025 f 493 494 492

1026 f 494 493 495

1027 f 495 496 494

1028 f 496 495 497

1029 f 497 498 496

1030 f 498 497 499

1031 f 499 500 498

Page 71: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

1032 f 500 499 501

1033 f 501 502 500

1034 f 502 501 503

1035 f 503 504 502

1036 f 504 503 505

1037 f 505 506 504

1038 f 506 505 507

1039 f 507 508 506

1040 f 508 507 509

1041 f 509 510 508

1042 f 510 509 511

1043 f 511 512 510

1044 f 512 511 513

1045 f 513 514 512

1046 f 514 513 515

1047 f 515 516 514

1048 f 516 515 517

1049 f 517 518 516

1050 f 518 517 519

1051 f 519 520 518

1052 f 520 519 262

1053 f 262 261 520

1054 # </faces>

system/controlDict

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "system";

Page 72: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

14     object      controlDict;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 application     snappyHexMesh;

19

20 startFrom       latestTime;

21

22 startTime       0;

23

24 stopAt          endTime;

25

26 endTime         100;

27

28 deltaT          1;

29

30 writeControl    runTime;

31

32 writeInterval   1;

33

34 purgeWrite      0;

35

36 writeFormat     ascii;

37

38 writePrecision  6;

39

40 writeCompression uncompressed;

41

42 timeFormat      general;

43

44 timePrecision   6;

45

46 runTimeModifiable true;

47

48 }

49

50 // ************************************************************************* //

Page 73: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

system/decomposeParDict

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "system";

14     object      decomposeParDict;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 numberOfSubdomains 3;

19

20 method          simple;

21

22 simpleCoeffs

23 {

24     n               ( 1 3 1 );

25     delta           0.001;

26 }

27

28 hierarchicalCoeffs

29 {

30     n               ( 3 2 1 );

31     delta           0.001;

32     order           xyz;

33 }

34

35 manualCoeffs

36 {

Page 74: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

37     dataFile        "cellDecomposition";

38 }

39

40 metisCoeffs

41 {

42 }

43

44

45 // ************************************************************************* //

system/fvSchemes

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "system";

14     object      fvSchemes;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 ddtSchemes

19 {

20     default         Euler;

21 }

22

23 gradSchemes

24 {

25     default         Gauss linear;

26 }

27

Page 75: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

28 divSchemes

29 {

30     default         none;

31     div(phi,U)      Gauss limitedLinearV 1;

32     div(phi,k)      Gauss upwind;

33     div(phi,epsilon) Gauss upwind;

34     div(phi,R)      Gauss upwind;

35     div(R)          Gauss linear;

36     div(phid,p)     Gauss limitedLinear 1;

37     div(phiU,p)     Gauss limitedLinear 1;

38     div(phi,e)      Gauss limitedLinear 1;

39     div((muEff*dev2(grad(U).T()))) Gauss linear;

40 }

41

42 laplacianSchemes

43 {

44     default         none;

45     laplacian(muEff,U) Gauss linear limited 0.5;

46     laplacian(DkEff,k) Gauss linear limited 0.5;

47     laplacian(DREff,R) Gauss linear limited 0.5;

48     laplacian(DepsilonEff,epsilon) Gauss linear limited 0.5;

49     laplacian((rho*(1|A(U))),p) Gauss linear limited 0.5;

50     laplacian(alphaEff,e) Gauss linear limited 0.5;

51 }

52

53 interpolationSchemes

54 {

55     default         linear;

56 }

57

58 snGradSchemes

59 {

60     default         corrected;

61 }

62

63 fluxRequired

64 {

65     default         no;

Page 76: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

66     p;

67 }

68

69

70 // ************************************************************************* //

system/fvSolution

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     location    "system";

14     object      fvSolution;

15 }

16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

17

18 solvers

19 {

20     p

21     {

22         solver          PBiCG;

23         preconditioner  DILU;

24         tolerance       1e-12;

25         relTol          0;

26     }

27

28     rho

29     {

30         solver          PCG;

31         preconditioner  DIC;

Page 77: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

32         tolerance       1e-08;

33         relTol          0;

34     }

35

36     "(U|e|k|epsilon|R)"

37     {

38         $p;

39         tolerance       1e-08;

40         relTol          0;

41     }

42 }

43

44 PISO

45 {

46     nCorrectors     2;

47     nNonOrthogonalCorrectors 2;

48 }

49

50

51 // ************************************************************************* //

system/snappyHexMeshDict

1 /*--------------------------------*- C++ -*----------------------------------*\

2 | =========                 |                                                 |

3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |

4 |  \\    /   O peration     | Version:  1.7.1                                 |

5 |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |

6 |    \\/     M anipulation  |                                                 |

7 \*---------------------------------------------------------------------------*/

8 FoamFile

9 {

10     version     2.0;

11     format      ascii;

12     class       dictionary;

13     object      snappyHexMeshDict;

14 }

15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

16

Page 78: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

17 // Which of the steps to run

18 castellatedMesh true;

19 snap            true;

20 addLayers       true;

21

22

23 // Geometry. Definition of all surfaces. All surfaces are of class

24 // searchableSurface.

25 // Surfaces are used

26 // - to specify refinement for any mesh cell intersecting it

27 // - to specify refinement for any mesh cell inside/outside/near

28 // - to 'snap' the mesh boundary to the surface

29 geometry

30 {

31     wing_5degrees.obj

32     {

33         type triSurfaceMesh;

34     }

35

36     refinementBox

37     {

38         type searchableBox;

39         min (-1 -1 -1);

40         max ( 5  1  1);

41     }

42 };

43

44

45

46 // Settings for the castellatedMesh generation.

47 castellatedMeshControls

48 {

49

50     // Refinement parameters

51     // ~~~~~~~~~~~~~~~~~~~~~

52

53     // If local number of cells is >= maxLocalCells on any processor

54     // switches from from refinement followed by balancing

Page 79: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

55     // (current method) to (weighted) balancing before refinement.

56     maxLocalCells 1000000;

57

58     // Overall cell limit (approximately). Refinement will stop immediately

59     // upon reaching this number so a refinement level might not complete.

60     // Note that this is the number of cells before removing the part which

61     // is not 'visible' from the keepPoint. The final number of cells might

62     // actually be a lot less.

63     maxGlobalCells 2000000;

64

65     // The surface refinement loop might spend lots of iterations refining just a

66     // few cells. This setting will cause refinement to stop if <= minimumRefine

67     // are selected for refinement. Note: it will at least do one iteration

68     // (unless the number of cells to refine is 0)

69     minRefinementCells 100;

70

71     // Number of buffer layers between different levels.

72     // 1 means normal 2:1 refinement restriction, larger means slower

73     // refinement.

74     nCellsBetweenLevels 6;

75

76

77

78     // Explicit feature edge refinement

79     // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

80

81     // Specifies a level for any cell intersected by its edges.

82     // This is a featureEdgeMesh, read from constant/triSurface for now.

83     features ();

84

85

86

87     // Surface based refinement

88     // ~~~~~~~~~~~~~~~~~~~~~~~~

89

90     // Specifies two levels for every surface. The first is the minimum level,

91     // every cell intersecting a surface gets refined up to the minimum level.

92     // The second level is the maximum level. Cells that 'see' multiple

Page 80: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

93     // intersections where the intersections make an

94     // angle > resolveFeatureAngle get refined up to the maximum level.

95

96     refinementSurfaces

97     {

98         wing_5degrees.obj

99         {

100             // Surface-wise min and max refinement level

101             level (6 6);

102         }

103     }

104

105     // Resolve sharp angles on fridges

106     resolveFeatureAngle 30;

107

108

109     // Region-wise refinement

110     // ~~~~~~~~~~~~~~~~~~~~~~

111

112     // Specifies refinement level for cells in relation to a surface. One of

113     // three modes

114     // - distance. 'levels' specifies per distance to the surface the

115     //   wanted refinement level. The distances need to be specified in

116     //   descending order.

117     // - inside. 'levels' is only one entry and only the level is used. All

118     //   cells inside the surface get refined up to the level. The surface

119     //   needs to be closed for this to be possible.

120     // - outside. Same but cells outside.

121

122     refinementRegions

123     {

124         refinementBox

125         {

126             mode inside;

127             levels ((1e15 3));

128         }

129     }

130

Page 81: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

131

132     // Mesh selection

133     // ~~~~~~~~~~~~~~

134

135     // After refinement patches get added for all refinementSurfaces and

136     // all cells intersecting the surfaces get put into these patches. The

137     // section reachable from the locationInMesh is kept.

138     // NOTE: This point should never be on a face, always inside a cell, even

139     // after refinement.

140     locationInMesh (-0.5 0 0);

141

142

143     // Whether any faceZones (as specified in the refinementSurfaces)

144     // are only on the boundary of corresponding cellZones or also allow

145     // free-standing zone faces. Not used if there are no faceZones.

146     allowFreeStandingZoneFaces true;

147 }

148

149

150

151 // Settings for the snapping.

152 snapControls

153 {

154     //- Number of patch smoothing iterations before finding correspondence

155     //  to surface

156     nSmoothPatch 3;

157

158     //- Relative distance for points to be attracted by surface feature point

159     //  or edge. True distance is this factor times local

160     //  maximum edge length.

161     tolerance 4.0;

162

163     //- Number of mesh displacement relaxation iterations.

164     nSolveIter 30;

165

166     //- Maximum number of snapping relaxation iterations. Should stop

167     //  before upon reaching a correct mesh.

168     nRelaxIter 5;

Page 82: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

169 }

170

171

172

173 // Settings for the layer addition.

174 addLayersControls

175 {

176     // Are the thickness parameters below relative to the undistorted

177     // size of the refined cell outside layer (true) or absolute sizes (false).

178     relativeSizes true;

179

180     // Per final patch (so not geometry!) the layer information

181     layers

182     {

183         "wing.*"

184         {

185             nSurfaceLayers 3;

186         }

187     }

188

189     // Expansion factor for layer mesh

190     expansionRatio 1.3;

191

192     //- Wanted thickness of final added cell layer. If multiple layers

193     //  is the

194     //  thickness of the layer furthest away from the wall.

195     //  Relative to undistorted size of cell outside layer.

196     //  is the thickness of the layer furthest away from the wall.

197     //  See relativeSizes parameter.

198     finalLayerThickness 0.7;

199

200     //- Minimum thickness of cell layer. If for any reason layer

201     //  cannot be above minThickness do not add layer.

202     //  Relative to undistorted size of cell outside layer.

203     //  See relativeSizes parameter.

204     minThickness 0.25;

205

206     //- If points get not extruded do nGrow layers of connected faces that are

Page 83: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

207     //  also not grown. This helps convergence of the layer addition process

208     //  close to features.

209     nGrow 0;

210

211

212     // Advanced settings

213

214     //- When not to extrude surface. 0 is flat surface, 90 is when two faces

215     //  make straight angle.

216     featureAngle 60;

217

218     //- Maximum number of snapping relaxation iterations. Should stop

219     //  before upon reaching a correct mesh.

220     nRelaxIter 5;

221

222     // Number of smoothing iterations of surface normals

223     nSmoothSurfaceNormals 1;

224

225     // Number of smoothing iterations of interior mesh movement direction

226     nSmoothNormals 3;

227

228     // Smooth layer thickness over surface patches

229     nSmoothThickness 10;

230

231     // Stop layer growth on highly warped cells

232     maxFaceThicknessRatio 0.5;

233

234     // Reduce layer growth where ratio thickness to medial

235     // distance is large

236     maxThicknessToMedialRatio 0.3;

237

238     // Angle used to pick up medial axis points

239     // Note: changed(corrected) w.r.t 16x! 90 degrees corresponds to 130 in 16x.

240     minMedianAxisAngle 90;

241

242     // Create buffer region for new layer terminations

243     nBufferCellsNoExtrude 0;

244

Page 84: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

245

246     // Overall max number of layer addition iterations. The mesher will exit

247     // if it reaches this number of iterations; possibly with an illegal

248     // mesh.

249     nLayerIter 50;

250 }

251

252

253

254 // Generic mesh quality settings. At any undoable phase these determine

255 // where to undo.

256 meshQualityControls

257 {

258     //- Maximum non-orthogonality allowed. Set to 180 to disable.

259     maxNonOrtho 65;

260

261     //- Max skewness allowed. Set to <0 to disable.

262     maxBoundarySkewness 20;

263     maxInternalSkewness 4;

264

265     //- Max concaveness allowed. Is angle (in degrees) below which concavity

266     //  is allowed. 0 is straight face, <0 would be convex face.

267     //  Set to 180 to disable.

268     maxConcave 80;

269

270     //- Minimum pyramid volume. Is absolute volume of cell pyramid.

271     //  Set to a sensible fraction of the smallest cell volume expected.

272     //  Set to very negative number (e.g. -1E30) to disable.

273     minVol 1e-13;

274

275     //- Minimum tet volume. Is absolute volume of the tet formed by the

276     //  face-centre decomposition triangle and the cell centre.

277     //  Set to a sensible fraction of the smallest cell volume expected.

278     //  Set to very negative number (e.g. -1E30) to disable.

279     minTetVol 1e-20;

280

281     //- Minimum face area. Set to <0 to disable.

282     minArea -1;

Page 85: OpenFOAM wingMotion

南昌航空大学硕士论文 第二章

283

284     //- Minimum face twist. Set to <-1 to disable. dot product of face normal

285     //- and face centre triangles normal

286     minTwist 0.05;

287

288     //- minimum normalised cell determinant

289     //- 1 = hex, <= 0 = folded or flattened illegal cell

290     minDeterminant 0.001;

291

292     //- minFaceWeight (0 -> 0.5)

293     minFaceWeight 0.05;

294

295     //- minVolRatio (0 -> 1)

296     minVolRatio 0.01;

297

298     //must be >0 for Fluent compatibility

299     minTriangleTwist -1;

300

301

302     // Advanced

303

304     //- Number of error distribution iterations

305     nSmoothScale 4;

306     //- amount to scale back displacement at error points

307     errorReduction 0.75;

308 }

309

310

311 // Advanced

312

313 // Flags for optional output

314 // 0 : only write final meshes

315 // 1 : write intermediate meshes

316 // 2 : write volScalarField with cellLevel for postprocessing

317 // 4 : write current intersections as .obj files

318 debug 0;

319

320