Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
为什么在controlDict中把writeInterval调大,计算就发散???为什么会有这么诡异的bug writeInterval不就是控制写入频率的么,跟计算有关系吗? 有没有大佬遇见过 7f83b6e1550cdbc87dc895138ddbea5.png 1748766340208.png
一说到这个库朗数,我看了一下,这面是用最大波速来计算的CFL。我用compressibleCourant对比了下。二者一个0.17,一个0.14。还有点差距。波速是求解之前预估的,phi是求解之后。我估计是差距的来源。不过没有细看代码,自己想的。
我今天在准备这个算例的时候发现,http://dyfluid.com/class.html#hyperbolic 特征速度和传输速度有2倍的差异。针对这种偏hyperbolic的方程可以用俩种方法计算库朗数:
所以,rhoCentralFoam应该就是用的特征速度计算的库朗数,而不是传输速度。如果想看传输度的库朗数,需要用compressibleCourant.H来计算。
感谢分享!