|
[Sponsors] |
April 21, 2024, 14:08 |
chtmultiregionfoam case does not converge
|
#1 |
Senior Member
Alan w
Join Date: Feb 2021
Posts: 288
Rep Power: 6 |
Although there are many posts of this kind of problem, they are all unique, and I hope that by posting my run log, someone can have an idea of what steps I might take to debug the problem.
My case consists of a flying body with a duct, in which is a radiator modeled as a porous zone. CheckMesh says that the body mesh is good, and the radiator itself is created by blockMeshDict. Most of the boundary conditions are shown at the bottom of this thread: chtmultiRegion case is not generating sets folder in postprocessing It fails at time step 9 with this message "Energy temperature conversion failed to converge." I will gladly supply any other information that might help interested individuals from aiding me with this. Could use some help! |
|
April 23, 2024, 14:19 |
My chtmultiregionfoam case runs! - incorrectly, but hey, it runs
|
#2 |
Senior Member
Alan w
Join Date: Feb 2021
Posts: 288
Rep Power: 6 |
But I need it to run properly. The attached powerpoint file shows images of slices through the domain which includes the aircraft fuselage and its ventral radiator, the latter being too small to see.
(btw, the fix for the previous failure to converge was to set the p_rgh value as 1e05. I previously had it as 0) In the image, the U field looks okay, but the T field is obviously completely wrong, and the p field doesn't look right, in that I would expect the domain pressure to be constant, whereas it is higher at the inlet. The worst one is for temperature, and here are the boundary conditions for fluid: Code:
dimensions [0 0 0 1 0 0 0]; internalField uniform 282.214; boundaryField { #includeEtc "caseDicts/setConstraintTypes" frontier { //type zeroGradient; type slip; } inlet { type fixedValue; value uniform 282.214; } outlet { type inletOutlet; inletValue uniform 282.214; value uniform 282.214; } fuselage { type zeroGradient; } spinner { type zeroGradient; } lips { type zeroGradient; } fairing { type zeroGradient; } flap { type zeroGradient; } radiator-interface { type zeroGradient; } edges { type zeroGradient; } trailingedge { type zeroGradient; } } Code:
dimensions [0 0 0 1 0 0 0]; internalField uniform 377.59; boundaryField { #includeEtc "caseDicts/setConstraintTypes" frontier { type slip; } inlet { type fixedValue; value uniform 377.59; } outlet { type inletOutlet; inletValue uniform 377.59; value uniform 377.59; } rad_radinlet { type fixedValue; value $internalField; } rad_radoutlet { type inletOutlet; inletValue $internalField; value $internalField; } rad_radfrontier { type zeroGradient; } "proc.*" { type processor; } } The p field is also suspect. Here are the BCs for fluid and then solid: Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 90812; boundaryField { #includeEtc "caseDicts/setConstraintTypes" frontier { type slip; } inlet { type zeroGradient; } outlet { type fixedValue; value uniform 90812; } fuselage { type zeroGradient; } spinner { type zeroGradient; } lips { type zeroGradient; } fairing { type zeroGradient; } flap { type zeroGradient; } radiator-interface { type zeroGradient; } edges { type zeroGradient; } trailingedge { type zeroGradient; } } Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 90812; boundaryField { #includeEtc "caseDicts/setConstraintTypes" frontier { type slip; } inlet { type zeroGradient; } outlet { type fixedValue; value uniform 90812; } rad_radinlet { type calculated; value uniform 90812; } rad_radoutlet { type calculated; value uniform 90812; } rad_radfrontier { type calculated; value uniform 90812; } "proc.*" { type processor; } } |
|
April 23, 2024, 15:13 |
|
#3 | |
New Member
Felipe Noh
Join Date: Aug 2014
Posts: 8
Rep Power: 12 |
Quote:
Have you tried with a Co less than 1? |
||
April 24, 2024, 12:34 |
Hi fnohpat
|
#4 |
Senior Member
Alan w
Join Date: Feb 2021
Posts: 288
Rep Power: 6 |
It turns out that I was using the wrong internalField value for p_rgh.
Previously I had it at 0, but when I changed it to 1e05, the simulation ran to completion. Found it in another post in this great forum. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure instabilities with interDyMFoam for the floatingObject case | nbadano | OpenFOAM Running, Solving & CFD | 15 | October 15, 2021 07:35 |
Error in running case in chtMultiRegionFoam | baran_foam | OpenFOAM Programming & Development | 3 | July 7, 2015 05:38 |
NACA 0012 Case Will Not Converge | dancfd | OpenFOAM Running, Solving & CFD | 6 | November 14, 2011 20:09 |
Error reading new case | montag dp | FLUENT | 5 | September 15, 2011 07:00 |
Same case does not converge after initialisation | yashmash | FLUENT | 3 | June 15, 2011 10:09 |