Advertisement
Guest User

Untitled

a guest
Nov 26th, 2022
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.32 KB | None | 0 0
  1. /*--------------------------------*- C++ -*----------------------------------*\
  2. | =========                 |                                                 |
  3. | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  4. |  \\    /   O peration     | Version:  v2206                                 |
  5. |   \\  /    A nd           | Website:  www.openfoam.com                      |
  6. |    \\/     M anipulation  |                                                 |
  7. \*---------------------------------------------------------------------------*/
  8. FoamFile
  9. {
  10.     version     2.0;
  11.     format      ascii;
  12.     class       volScalarField;
  13.     object      alpha.water;
  14. }
  15. // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
  16.  
  17. dimensions      [0 0 0 0 0 0 0];
  18.  
  19. internalField   uniform 1;
  20.  
  21. boundaryField
  22. {
  23.     walls
  24.     {
  25.     type            zeroGradient;
  26.     }
  27.  
  28.     outlet
  29.     {
  30.     type     zeroGradient;
  31.     }
  32.  
  33.     inlet
  34.     {
  35.     type            fixedValue;
  36.     value     uniform 1;
  37.     }
  38.  
  39.     inlet2
  40.     {
  41.     type            fixedValue;
  42.     value     uniform 0.0;
  43.     }
  44.  
  45.     back
  46.     {
  47.         type            empty;
  48.     }
  49.  
  50.     front
  51.     {
  52.         type            empty;
  53.     }
  54.     symmetry
  55.     {
  56.         type            symmetry;
  57.     }
  58. }
  59.  
  60.  
  61. // ************************************************************************* //
  62.  
  63. /*--------------------------------*- C++ -*----------------------------------*\
  64. | =========                 |                                                 |
  65. | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  66. |  \\    /   O peration     | Version:  v2206                                 |
  67. |   \\  /    A nd           | Website:  www.openfoam.com                      |
  68. |    \\/     M anipulation  |                                                 |
  69. \*---------------------------------------------------------------------------*/
  70. FoamFile
  71. {
  72.     version     2.0;
  73.     format      ascii;
  74.     class       volScalarField;
  75.     object      p_rgh;
  76. }
  77. // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
  78.  
  79. dimensions      [1 -1 -2 0 0 0 0];
  80.  
  81. internalField   uniform 0;
  82.  
  83. boundaryField
  84. {
  85.     inlet
  86.     {
  87.         type            zeroGradient;
  88.     }
  89.  
  90.     inlet2
  91.     {
  92.         type            zeroGradient;
  93.     }
  94.  
  95.     outlet
  96.     {
  97.         type            totalPressure;
  98.         p0           uniform 0;
  99.     }
  100.  
  101.     walls
  102.     {
  103.     type            fixedFluxPressure;
  104.     }
  105.  
  106.     back
  107.     {
  108.         type            empty;
  109.     }
  110.     front
  111.     {
  112.         type            empty;
  113.     }
  114.     symmetry
  115.     {
  116.         type            symmetry;
  117.     }
  118. }
  119.  
  120.  
  121. // ************************************************************************* //
  122.  
  123. /*--------------------------------*- C++ -*----------------------------------*\
  124. | =========                 |                                                 |
  125. | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  126. |  \\    /   O peration     | Version:  v2206                                 |
  127. |   \\  /    A nd           | Website:  www.openfoam.com                      |
  128. |    \\/     M anipulation  |                                                 |
  129. \*---------------------------------------------------------------------------*/
  130. FoamFile
  131. {
  132.     version     2.0;
  133.     format      ascii;
  134.     class       volVectorField;
  135.     object      U;
  136. }
  137. // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
  138.  
  139. dimensions      [0 1 -1 0 0 0 0];
  140.  
  141. internalField   uniform (0.183 0 0);
  142.  
  143. boundaryField
  144. {
  145.     walls
  146.     {
  147.         type            noSlip;
  148.     }
  149.     inlet
  150.     {
  151.         type            fixedValue;
  152.         value           uniform (0.183 0 0);
  153.     }
  154.     outlet
  155.     {
  156.         type            inletOutlet;
  157. inletValue uniform (0 0 0);
  158. value uniform ( 0 0 0);
  159.     }
  160.     inlet2
  161.     {
  162. type             fixedValue;
  163.         value           uniform (0 0.001 0);
  164.     }
  165.     back
  166.     {
  167.         type            empty;
  168.     }
  169.     front
  170.     {
  171.         type            empty;
  172.     }
  173.     symmetry
  174.     {
  175. type symmetry;
  176.     }
  177. }
  178.  
  179.  
  180. // ************************************************************************* //
  181.  
  182. /*--------------------------------*- C++ -*----------------------------------*\
  183. | =========                 |                                                 |
  184. | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  185. |  \\    /   O peration     | Version:  v2206                                 |
  186. |   \\  /    A nd           | Website:  www.openfoam.com                      |
  187. |    \\/     M anipulation  |                                                 |
  188. \*---------------------------------------------------------------------------*/
  189. FoamFile
  190. {
  191.     version     2.0;
  192.     format      ascii;
  193.     class       dictionary;
  194.     object      fvSchemes;
  195. }
  196. // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
  197.  
  198. ddtSchemes
  199. {
  200.     default         Euler;
  201. }
  202.  
  203. gradSchemes
  204. {
  205.     default         Gauss linear;
  206. }
  207.  
  208. divSchemes
  209. {
  210.     div(rhoPhi,U)   Gauss linearUpwind grad(U);
  211.     div(phi,alpha)  Gauss vanLeer;
  212.     div(phirb,alpha) Gauss linear;
  213.     div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
  214. }
  215.  
  216. laplacianSchemes
  217. {
  218.     default         Gauss linear corrected;
  219. }
  220.  
  221. interpolationSchemes
  222. {
  223.     default         linear;
  224. }
  225.  
  226. snGradSchemes
  227. {
  228.     default         corrected;
  229. }
  230.  
  231.  
  232. // ************************************************************************* //
  233.  
  234. /*--------------------------------*- C++ -*----------------------------------*\
  235. | =========                 |                                                 |
  236. | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  237. |  \\    /   O peration     | Version:  v2206                                 |
  238. |   \\  /    A nd           | Website:  www.openfoam.com                      |
  239. |    \\/     M anipulation  |                                                 |
  240. \*---------------------------------------------------------------------------*/
  241. FoamFile
  242. {
  243.     version     2.0;
  244.     format      ascii;
  245.     class       dictionary;
  246.     object      fvSolution;
  247. }
  248. // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
  249.  
  250. solvers
  251. {
  252.     "alpha.water.*"
  253.     {
  254.         nAlphaCorr      2;
  255.         nAlphaSubCycles 1;
  256.         cAlpha          1;
  257.  
  258.         MULESCorr       yes;
  259.         nLimiterIter    5;
  260.  
  261.         solver          smoothSolver;
  262.         smoother        symGaussSeidel;
  263.         tolerance       1e-06;
  264.         relTol          0;
  265.     }
  266.  
  267.     "pcorr.*"
  268.     {
  269.         solver          GAMG;
  270.         smoother symGaussSeidel;
  271.         tolerance       1e-5;
  272.         relTol          0;
  273.     }
  274.  
  275.     p_rgh
  276.     {
  277.         solver          GAMG;
  278.         smoother symGaussSeidel;
  279.         tolerance       1e-5;
  280.         relTol          0.05;
  281.     }
  282.  
  283.     p_rghFinal
  284.     {
  285.         $p_rgh;
  286.         relTol          0;
  287.     }
  288.  
  289.     U
  290.     {
  291.         solver          smoothSolver;
  292.         smoother        symGaussSeidel;
  293.         tolerance       1e-06;
  294.         relTol          0;
  295.     }
  296. }
  297.  
  298. PIMPLE
  299. {
  300.     momentumPredictor   no;
  301.     nOuterCorrectors    1;
  302.     nCorrectors         3;
  303.     nNonOrthogonalCorrectors 0;
  304. }
  305.  
  306. relaxationFactors
  307. {
  308.     equations
  309.     {
  310.         ".*" 0.8;
  311.     }
  312. }
  313.  
  314.  
  315. // ************************************************************************* //
  316.  
  317. Check Mesh
  318.  
  319. Create time
  320.  
  321. Create mesh for time = 0
  322.  
  323. Time = 0
  324.  
  325. Mesh stats
  326.     points:           50588
  327.     internal points:  0
  328.     faces:            171633
  329.     internal faces:   72267
  330.     cells:            48780
  331.     faces per cell:   5
  332.     boundary patches: 7
  333.     point zones:      0
  334.     face zones:       0
  335.     cell zones:       0
  336.  
  337. Overall number of cells of each type:
  338.     hexahedra:     0
  339.     prisms:        48780
  340.     wedges:        0
  341.     pyramids:      0
  342.     tet wedges:    0
  343.     tetrahedra:    0
  344.     polyhedra:     0
  345.  
  346. Checking topology...
  347.     Boundary definition OK.
  348.     Cell to face addressing OK.
  349.     Point usage OK.
  350.     Upper triangular ordering OK.
  351.     Face vertices OK.
  352.     Number of regions: 1 (OK).
  353.  
  354. Checking patch topology for multiply connected surfaces...
  355.     Patch               Faces    Points   Surface topology
  356.     front               48780    25294    ok (non-closed singly connected)
  357.     back                48780    25294    ok (non-closed singly connected)
  358.     symmetry            652      1306     ok (non-closed singly connected)
  359.     walls               800      1606     ok (non-closed singly connected)
  360.     inlet2              337      676      ok (non-closed singly connected)
  361.     outlet              12       26       ok (non-closed singly connected)
  362.     inlet               5        12       ok (non-closed singly connected)
  363.  
  364. Checking faceZone topology for multiply connected surfaces...
  365.     No faceZones found.
  366.  
  367. Checking basic cellZone addressing...
  368.     No cellZones found.
  369.  
  370. Checking geometry...
  371.     Overall domain bounding box (0 -0.00345 -0.001) (0.13 0.00655 0)
  372.     Mesh has 2 geometric (non-empty/wedge) directions (1 1 0)
  373.     Mesh has 2 solution (non-empty) directions (1 1 0)
  374.     All edges aligned with or perpendicular to non-empty directions.
  375.     Boundary openness (4.31142e-18 1.15663e-16 -9.28512e-16) OK.
  376.     Max cell openness = 2.1593e-16 OK.
  377.     Max aspect ratio = 2.09288 OK.
  378.     Minimum face area = 9.08191e-10. Maximum face area = 1.11361e-06.  Face area magnitudes OK.
  379.     Min volume = 9.08191e-13. Max volume = 3.85489e-10.  Total volume = 4.4075e-07.  Cell volumes OK.
  380.     Mesh non-orthogonality Max: 28.3491 average: 3.61077
  381.     Non-orthogonality check OK.
  382.     Face pyramids OK.
  383.     Max skewness = 0.364019 OK.
  384.     Coupled point location match (average 0) OK.
  385.  
  386. Mesh OK.
  387.  
  388. End
  389.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement