Previous: Parallel reconstruction of solution Up: User Training Next: Boundary types This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com. Boundary conditions in OpenFOAM SubsectionsBoundary typesBoundary conditionsInlet Boundary ConditionsFixed Value Velocity Family of Inlet Boundary ConditionsFixed Velocity Boundary ConditionTotal Pressure Family of Inlet Boundary ConditionsTotal Pressure Boundary ConditionFlow Rate Family of Inlet Boundary ConditionsFlow Rate Boundary ConditionInlet Boundary Conditions for Turbulent Kinetic Energy – Turbulent Intensity Boundary ConditionBoundary Conditions for Specific Dissipation Rate of TKE – Uniform Fixed Value – turbulentMixingLengthDissipationRateInlet – Inlet Boundary Conditions for Dissipation Rate of TKE – Outlet Boundary ConditionsFixed Static Pressure Family of Outlet Boundary ConditionsfixedValue Static Pressure Boundary ConditionZero Gradient Family of Outlet Boundary ConditionszeroGradient Boundary ConditioninletOutlet Boundary ConditionPeriodic (Cyclic) Family of Boundary ConditionsArbitrary Mesh Interface (cyclicAMI) Boundary Conditioncyclic Boundary ConditionSlip vs noSlip BC OpenFOAM Training by CFD Support, CFD SUPPORT, info@cfdsupport.com +420 212 243 883 © CFD support, s.r.o., Sokolovská 270/201, 190 00 Praha 9, Czech Republic
Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation Contents Index Solver Settings - fvSolution File Sub-dictionary SIMPLE in file fvSolution is important.nNonOrthogonalCorrectors is number of pressure equation steps (zero means one step)Parameters pMin, pMax, etc., are limits allowed for variablesIn sub-dictionary relaxationFactors there are under-relaxation factors for all variables.fvSolution file for subsonic computations: solvers { p { solver GAMG; tolerance 1e-8; relTol 0.001; smoother GaussSeidel; cacheAgglomeration true; nCellsInCoarsestLevel 20; agglomerator faceAreaPair; mergeLevels 1; } U { solver smoothSolver; smoother GaussSeidel; nSweeps 2; tolerance 1e-20; relTol 0.1; } k { solver smoothSolver; smoother GaussSeidel; nSweeps 2; tolerance 1e-20; relTol 0.1; } "(omega|epsilon)" { solver smoothSolver; smoother GaussSeidel; nSweeps 2; tolerance 1e-20; relTol 0.1; } } SIMPLE { nNonOrthogonalCorrectors 0; numberIterationsStator 1; numberIterationsRotor 1; UMax 500; pMin pMin [0 2 -2 0 0 0 0] -1000; pMax pMax [0 2 -2 0 0 0 0] 1000; } relaxationFactors { fields { p 0.2; } equations { U 0.4; k 0.3; epsilon 0.3; omega 0.3; } } SubsectionsForcespatchMassFlowfieldAverageEfficiency OpenFOAM Training by CFD Support, CFD SUPPORT, info@cfdsupport.com +420 212 243 883 © CFD support, s.r.o., Sokolovská 270/201, 190 00 Praha 9, Czech Republic
Previous: Under-Relaxation Up: TCFD Solvers Next: SIMPLE Algorithm This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com. System of Linear Equations Finite Volume Method converts the system of differential equations to the system of linear equations:Such a linear algebra problem can be solved with following methods implemented in OpenFOAM:Linear system solver method:GAMG (Geometric-Algebraic Multi-Grid) for both symmetric and asymmetric matricesPBiCG (Preconditioned Biconjugate Gradient ) for asymmetric matricesPCG (Preconditioned Conjugate Gradient) for symmetric matricessmoothSolver (solver using a smoother for both symmetric and asymmetric matrices )ICCG (Incomplete Cholesky preconditioned PCG solver, i.e. PBiCG with DIC )8.2BICCG (Diagonal Incomplete LU preconditioned PBiCG solver, i.e. PCG with DILU)8.3 Method preconditioner:DILU (Diagonal Incomplete LU decomposition)DIC (Diagonal incomplete-Cholesky) for symmetric matricesFDIC (Faster diagonal incomplete-Cholesky) for symmetric matricesdiagonal (Diagonal)GAMG (Geometric-Algebraic Multi-Grid)none (No preconditioning)DICGaussSeidel, GaussSeidel, nonBlockingGaussSeidel, symGaussSeidel (for symmetric matrices)For more details see e.g. [9]. Previous: Under-Relaxation Up: TCFD Solvers Next: SIMPLE Algorithm OpenFOAM Training by CFD Support, CFD SUPPORT, info@cfdsupport.com +420 212 243 883 © CFD support, s.r.o., Sokolovská 270/201, 190 00 Praha 9, Czech Republic