Advertisement
Guest User

fvSolution

a guest
Aug 3rd, 2021
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. /*--------------------------------*- C++ -*----------------------------------*\
  2. ========= |
  3. \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
  4. \\ / O peration | Website: https://openfoam.org
  5. \\ / A nd | Version: 8
  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. "alpha.*"
  21. {
  22. nAlphaCorr 1;
  23. nAlphaSubCycles 3;
  24. }
  25.  
  26. p_rgh
  27. {
  28. solver GAMG;
  29. smoother DIC;
  30. tolerance 1e-11;
  31. relTol 0.001;
  32. }
  33.  
  34. p_rghFinal
  35. {
  36. $p_rgh;
  37. relTol 0;
  38. }
  39.  
  40. "U.*"
  41. {
  42. solver smoothSolver;
  43. smoother symGaussSeidel;
  44. tolerance 1e-12;
  45. relTol 0;
  46. minIter 1;
  47. }
  48.  
  49. "(e|h).*"
  50. {
  51. solver smoothSolver;
  52. smoother symGaussSeidel;
  53. tolerance 1e-12;
  54. relTol 0;
  55. minIter 1;
  56. maxIter 1000;
  57. }
  58.  
  59. "(k|epsilon|Theta).*"
  60. {
  61. solver smoothSolver;
  62. smoother symGaussSeidel;
  63. tolerance 1e-12;
  64. relTol 0;
  65. minIter 1;
  66. }
  67.  
  68. "Yi.*"
  69. {
  70. solver smoothSolver;
  71. smoother symGaussSeidel;
  72. tolerance 1e-12;
  73. relTol 0;
  74. minIter 1;
  75. maxIter 1000;
  76. residualAlpha 1e-8;
  77. }
  78. }
  79.  
  80. PIMPLE
  81. {
  82. nOuterCorrectors 5;
  83. nCorrectors 2;
  84. nNonOrthogonalCorrectors 2;
  85. }
  86.  
  87. relaxationFactors
  88. {
  89. equations
  90. {
  91. ".*" 0.7;
  92. }
  93. }
  94.  
  95.  
  96. // ************************************************************************* //
  97.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement