|
[Sponsors] |
Openfoam is not succesful for tetrahedral meshes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 10, 2021, 10:11 |
|
#21 |
Member
Join Date: Dec 2018
Posts: 75
Rep Power: 7 |
Dont be modest. Thanks anyway.
Have good days! Last edited by hbulus; June 18, 2021 at 07:22. |
|
September 21, 2022, 11:05 |
|
#22 |
Member
cal
Join Date: Feb 2020
Location: nowhere
Posts: 65
Rep Power: 6 |
Hi all,
I'm having same trouble with a quite bad mesh. I've done the simulation with various schemes but non of them gave the good resuts. Velocity profiles are 10 times wrong from the experimental results while temperature profiles and Nusselt Numbers are close enough. It is high density sphere packing geometry and meshing whole pack is really hard to manage. I attached the properties of tetrahedral mesh.
Code:
application buoyantSimpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 10000; deltaT 1; writeControl timeStep; writeInterval 20; purgeWrite 3; writeFormat ascii; writePrecision 10; writeCompression off; timeFormat general; timePrecision 10; runTimeModifiable true; Code:
gradSchemes { default cellMDLimited Gauss linear 0.5; grad(U) cellMDLimited Gauss linear 0.5; } divSchemes { default none; div(phi,U) Gauss linearUpwind grad(U); div(phi,h) Gauss upwind; div(phi,K) Gauss upwind; div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss linear limited 0.5; } interpolationSchemes { default linear; } snGradSchemes { default limited 0.5; } Code:
solvers { p_rgh { solver GAMG; tolerance 1e-06; relTol 0.0; smoother GaussSeidel; nPreSweeps 0; nPostSweeps 2; cacheAgglomeration on; agglomerator faceAreaPair; nCellsInCoarsestLevel 1000; mergeLevels 1; } "(U|h)" { solver PBiCGStab; preconditioner DILU; tolerance 1e-08; relTol 0.0; } } SIMPLE { momentumPredictor no; nNonOrthogonalCorrectors 1; pRefCell 0; pRefValue 1e5; residualControl { p_rgh 1e-3; h 1e-3; } } relaxationFactors { fields { rho 1.0; p_rgh 0.3; } equations { U 0.7; h 0.7; } } Said |
|
Tags |
openfoam, tetrahedral mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 21, 2016 12:50 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
[Commercial meshers] Highly skew faces in STAR-CCM+ meshes in OpenFOAM for boats | maxof | OpenFOAM Meshing & Mesh Conversion | 11 | June 10, 2015 16:40 |