|
[Sponsors] |
Negative temperatures after using layerAdditionRemoval |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 11, 2021, 11:21 |
Negative temperatures after using layerAdditionRemoval
|
#1 |
New Member
Fabian
Join Date: Oct 2021
Location: Europe
Posts: 4
Rep Power: 5 |
Hey everyone,
I've got a problem with negative temeratures using the rhoCentralFoam solver. In my 2d case a moving piston is placed in a cylinder. While the piston is moving, the fluid shoud flow along that piston. I used the movingConeTopoFvMesh file together with layerAdditionRemoval. After a few iterations, a new layer of cells is added. One iteration later you can already see the temperature diverging and another iteration later I get the error "negative initial temperature". My boundary conditions are: -p has always zerogradient to all walls and my symmetryaxis has symmetric -T exactly like p -U walls noSlip and the moving piston got movingWallVelocity. -My front and back bc's are always empty. My fvSolution looks like this: Code:
solvers { p { solver PBiCGStab; preconditioner DILU; tolerance 1e-06; relTol 0.01; } pFinal { $p; relTol 0; } "pcorr.*" { solver PCG; preconditioner DIC; tolerance 1e-2; relTol 0; } "rho.*" { solver diagonal; tolerance 1e-05; relTol 0; } "(U|h|e|R|k|epsilon|omega)" { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-05; relTol 0.1; } "(U|h|e|R|k|epsilon|omega)Final" { $U; relTol 0; } cellMotionUx { solver PCG; preconditioner DIC; tolerance 1e-08; relTol 0; } } PIMPLE { momentumPredictor yes; correctPhi yes; nOuterCorrectors 2; nCorrectors 2; transonic yes; nNonOrthogonalCorrectors 0; rhoMin 0.1; rhoMax 100.0; temperatureMin 250; } relaxationFactors { equations { ".*" 1; } } Code:
fluxScheme Kurganov; ddtSchemes { default Euler; } gradSchemes { default Gauss linear; } divSchemes { default none; div(tauMC) Gauss linear; } laplacianSchemes { default Gauss linear corrected; laplacian(diffusivity,cellMotionU) Gauss linear uncorrected; } interpolationSchemes { default linear; reconstruct(rho) vanLeer; reconstruct(U) vanLeerV; reconstruct(T) vanLeer; } snGradSchemes { default corrected; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 17:22 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 05:42 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 09:56 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |