Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.52 KB | None | 0 0
  1. /*--------------------------------*- C++ -*----------------------------------*\
  2. | =========                 |                                                 |
  3. | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  4. |  \\    /   O peration     | Version:  1.5                                   |
  5. |   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
  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-10;
  23.         relTol          0.1;
  24.         smoother        DICGaussSeidel;
  25.         nPreSweeps      0;
  26.         nPostSweeps     2;
  27.         nFinestSweeps   2;
  28.         cacheAgglomeration true;
  29.         nCellsInCoarsestLevel 10;
  30.         agglomerator    faceAreaPair;
  31.         mergeLevels     1;
  32.         minIter         1;
  33.     }
  34.  
  35.     Phi
  36.     {
  37.         solver          GAMG;
  38.         tolerance       1e-10;
  39.         relTol          1e-04;
  40.         smoother        DICGaussSeidel;
  41.         nPreSweeps      0;
  42.         nPostSweeps     2;
  43.         nFinestSweeps   2;
  44.         cacheAgglomeration true;
  45.         nCellsInCoarsestLevel 10;
  46.         agglomerator    faceAreaPair;
  47.         mergeLevels     1;
  48.         minIter         1;
  49.     }
  50.    
  51.     U
  52.     {
  53.         solver          PBiCGStab;
  54.         preconditioner  DILU;
  55.         tolerance       1e-10;
  56.         relTol          0.1;
  57.         minIter         1;
  58.     }
  59.    
  60.     "(nuTilda|k|omega|epsilon)"
  61.     {
  62.         solver          PBiCGStab;
  63.         preconditioner  DILU;
  64.         tolerance       1e-10;
  65.         relTol          0.1;
  66.         minIter         1;
  67.     }
  68. }
  69.  
  70. SIMPLE
  71. {
  72.     nNonOrthogonalCorrectors 0;
  73.     consistent            true;
  74.     pRefCell                 0;
  75.     pRefValue                0;
  76. }
  77.  
  78. potentialFlow
  79. {
  80.     nNonOrthogonalCorrectors 10;
  81.     PhiRefCell               0;
  82.     PhiRefValue              0;
  83. }
  84.  
  85. relaxationFactors
  86. {
  87.     fields
  88.     {
  89.         p               0.7;
  90.     }
  91.  
  92.     equations
  93.     {
  94.         "U.*"           0.7;
  95.         "nuTilda.*"     0.8;
  96.         "k.*"           0.8;
  97.         "omega.*"       0.8;
  98.         "epsilon.*"     0.8;
  99.  
  100.     }
  101. }
  102.  
  103. cache
  104. {
  105.     grad(U);
  106. }
  107. // ************************************************************************* //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement