|
[Sponsors] |
August 5, 2024, 13:21 |
Error Running buoyant Pimple Foam case
|
#1 |
New Member
Matthew Donaldson
Join Date: Aug 2024
Posts: 3
Rep Power: 2 |
Hi, Im in intern at an engineering firm and I really need to get this to run and figured out how to fix it within a very short amount of time. The test im trying to run is simulating airflow through an open truck dock bay door in a cold storage facility where the inside is 36F and the outside is 75F. Ive used the motorBike simpleFoam tutorial to help build my mesh and that seems to be working and then I was trying to use the hotRoom BuoyantPimpleFoam tutorial to run the model but I cant get passed where it shows that no radiationModel and no Finite volume options. Ive tried looking it up and suspect that its an issue with FvSolutions or FvSchemes but I have never used openFoam before, except for running a few tutorials so i am completely out of my depth. I put a google drive link that shows all of the files and Ill upload a few photos. Any help or places to get help would be awesome. Im desparate at this point. https://drive.google.com/drive/folde...t_?usp=sharing
|
|
August 5, 2024, 13:50 |
FvSolutions
|
#2 |
New Member
Matthew Donaldson
Join Date: Aug 2024
Posts: 3
Rep Power: 2 |
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2312 | | \\ / A nd | Website: | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { "rho.*" { solver PCG; preconditioner DIC; tolerance 0; relTol 0; } p_rgh { solver PCG; preconditioner DIC; tolerance 1e-8; relTol 0.01; } p_rghFinal { $p_rgh; relTol 0; } "(U|h|e|k|epsilon|R)" { solver PBiCGStab; preconditioner DILU; tolerance 1e-6; relTol 0.1; } "(U|h|e|k|epsilon|R)Final" { $U; relTol 0; } } SIMPLE { nNonOrthogonalCorrectors 0; consistent yes; } potentialFlow { nNonOrthogonalCorrectors 10; } relaxationFactors { equations { U 0.9; k 0.7; omega 0.7; } } cache { grad(U); } PIMPLE { //momentumPredictor yes; //nOuterCorrectors 1; nCorrectors 2; nNonOrthogonalCorrectors 0; pRefCell 0; pRefValue 0; // p_rgh is typically referenced to 0 } residualControl { p_rgh 1e-2; } |
|
August 5, 2024, 13:51 |
FvSchemes
|
#3 |
New Member
Matthew Donaldson
Join Date: Aug 2024
Posts: 3
Rep Power: 2 |
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2312 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes //for transient sims, you need a time discretization scheme { default Euler; // First-order implicit time-stepping } gradSchemes //Gradient Scheme { default Gauss linear; grad(U) cellLimited Gauss linear 1; } divSchemes // divergence scheme { default none; div(phi,U) Gauss upwind;//linearUpwindV grad(U); // Upwind for velocity, could use a higher-order scheme like linearUpwind div(phi,h) Gauss linear; div(phi,e) Gauss linear; div(phi,K) Gauss linear; div(phi,Ekp) Gauss linear; turbulence Gauss upwind; div(phi,k) $turbulence; div(phi,epsilon) $turbulence; div(phi,omega) $turbulence; div(phi,T) $turbulence; // Upwind for Temperature //div((nuEff*dev2(T(grad(U))))) Gauss linear; // for viscous terms div(((rho*nuEff)*dev2(T(grad(U))))) Gauss Linear; } laplacianSchemes //control the diffusion terms { default Gauss linear corrected; /*laplacian((1|a(U)),p_rgh) Gauss linear corrected; //For pressure, considering velocity laplacian(kappaEff,T) Gauss linear corrected; // For temperature Diffusion laplacian(DT,alphat) Gauss linear corrected;*/ } interpolationSchemes { default linear; } snGradSchemes //controls the gradient scheme normal to the surface { default corrected; } wallDist { method meshWave; } // ************************************************** *********************** // |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 12:04 |
[mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 12:32 |
Buoyant Bouss Pimple Foam Documentation | lfrigeri3 | OpenFOAM | 3 | February 3, 2014 19:49 |
gmsh2ToFoam | sarajags_89 | OpenFOAM | 0 | November 24, 2009 23:50 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |