rhoCentralFoam发散,出现Maximum number of iterations exceeded
-
在使用rhoCentralFoam求解器时,出现如下错误,想请教一下是什么原因呀
以下是我的一些设置:
p:dimensions [1 -1 -2 0 0 0 0]; internalField uniform 1; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 1; } bottom { type zeroGradient; } top { type zeroGradient; } defaultFaces { type empty; } } // ************************************************************************* //
T:
dimensions [0 0 0 1 0 0 0]; internalField uniform 1; boundaryField { inlet { type fixedValue; value uniform 1; } outlet { type zeroGradient; } bottom { type zeroGradient; } top { type zeroGradient; } defaultFaces { type empty; } } // ************************************************************************* //
U:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (3 0 0); boundaryField { inlet { type fixedValue; value uniform (3 0 0); } outlet { type zeroGradient; } bottom { type zeroGradient; } top { type zeroGradient; } defaultFaces { type empty; } }
thermophysicalProperties:
thermoType { type hePsiThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } // Note: these are the properties for a "normalised" inviscid gas // for which the speed of sound is 1 m/s at a temperature of 1K // and gamma = 7/5 mixture { specie { nMoles 1; molWeight 11640.3; } thermodynamics { Cp 2.5; Hf 0; } transport { mu 0.00933; Pr 1; } }
-
看了云图以后发现,应该是温度值出现极高值后导致计算发散,不知道应该如何修改呢?
-
就是发散了,这个也不太好debug ..
-
@Rachel0096 rhoCentralFoam步长不能太大,先调小试试看
-
@尚善若水 已经试过将时间步长调小,但作用不是特别大,最后还是会出现上述问题
-
应该是我的边界条件设置的不合理,我修改了物性和边界条件以后,目前是能继续算下去的。
贴一下我参考的网址:
https://www.researchgate.net/post/Can-anyone-see-this-problem-in-openfoamcan-anyone-solve-it/1