|
[Sponsors] |
buoyantBoussinesqPimpleFoam natural convection case courant number blows up |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2019, 20:12 |
buoyantBoussinesqPimpleFoam natural convection case courant number blows up
|
#1 |
New Member
Cham Yang Han
Join Date: Dec 2018
Posts: 14
Rep Power: 7 |
Hi Foamers,
the solution was all fun and games until stop running after 1020s because the courant number blows up. Below is my geometry, right arrow shows heatedWall(315celsius), left arrow shows wall (300celsius). Top and bottom big box are 'atmosphere' i trying to simulate, i may not catch the correct b.c. yet tho:https://drive.google.com/open?id=1G4...53g986ClGk3f2g fvSchemes: Code:
ddtSchemes { default Euler; } gradSchemes { default Gauss linear; } divSchemes { default none; div(phi,U) Gauss linearUpwind grad(U); div(phi,T) Gauss limitedLinear 1; turbulence Gauss limitedLinear 1; div(phi,k) $turbulence; div(phi,epsilon) $turbulence; div((nuEff*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { default linear; } snGradSchemes { default corrected; } Code:
solvers { p_rgh { solver GAMG; smoother DIC; tolerance 1e-8; relTol 0.01; } p_rghFinal { $p_rgh; relTol 0; } "(U|T|k|epsilon)" { solver PBiCGStab; preconditioner DILU; tolerance 1e-8; relTol 0.01; } "(U|T|k|epsilon)Final" { $T; relTol 0; } } PIMPLE { momentumPredictor no; nNonOrthogonalCorrectors 0; nCorrectors 2; pRefCell 0; pRefValue 0; } relaxationFactors { equations { ".*" 1.0; } } time 540s: https://drive.google.com/open?id=1ad...u5DYM4xcj-XPzh time 640s: https://drive.google.com/open?id=1-e...E1f9Dpi9Yyfr3T time 960s: https://drive.google.com/open?id=1Bf...Mzh1iaLDHPQIf6 time 1020s: https://drive.google.com/open?id=1n9...50kGgpv8NjOQVf would be so kind of you to help gives some idea to me Many thanks, Cham |
|
July 17, 2019, 21:48 |
|
#2 |
Member
Obi
Join Date: Jul 2016
Location: Canada
Posts: 45
Rep Power: 10 |
Are you using fixed or adjustable timestep?
|
|
July 18, 2019, 02:43 |
|
#3 |
New Member
Cham Yang Han
Join Date: Dec 2018
Posts: 14
Rep Power: 7 |
should be fixed right? Code:
application buoyantBoussinesqPimpleFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 2000; deltaT 0.005; writeControl runTime; writeInterval 20; purgeWrite 0; writeFormat binary; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; functions { #includeFunc residuals #includeFunc streamlines } |
|
July 18, 2019, 07:59 |
|
#4 |
Member
Obi
Join Date: Jul 2016
Location: Canada
Posts: 45
Rep Power: 10 |
Not necessarily. You can try using an adjustable time step and set the maximum courant number (maxCo) to 1. Check some of the openfoam tutorials on how to do this.
|
|
July 18, 2019, 08:13 |
|
#5 |
New Member
Cham Yang Han
Join Date: Dec 2018
Posts: 14
Rep Power: 7 |
||
July 22, 2019, 05:47 |
|
#6 | |
New Member
Cham Yang Han
Join Date: Dec 2018
Posts: 14
Rep Power: 7 |
Quote:
Hi Obi, i tried with adjustable timestep with max Co number= 1 and even with max Co number= 3...the solver stop somewhere around 60s and 40s. This means theres something wrong with the fvSchemes and fvSolutions, or maybe the /0 files? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 22:00 |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 10:23 |
[DesignModeler] DesignModeler Scripting: How to get Full Command Access | ANT | ANSYS Meshing & Geometry | 53 | February 16, 2020 16:13 |
Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 16:03 |
DecomposePar unequal number of shared faces | maka | OpenFOAM Pre-Processing | 6 | August 12, 2010 10:01 |