MPPICInterFoam中的bug?
-
一楼中提到的bug,fvc::ddt(alpha)的值取决于时间格式,将其换为backward就可以了
更新下:问题在于
alphac.oldTime()
。在
Euler
中,计算的是(alphac - alphac.oldTime())/delta T
Euler
不起作用的原因在于alphac.oldTime()
=0。backward
是可以解决问题。但是在backward
中调用的是三层时间步。即vf
、vf.oldTime()
和vf.oldTime().oldTime()
。起作用的是vf.oldTime().oldTime()
。alphac.oldTime()
还依然是0。但是,问题在于
alphac
,其他的场oldTime()
正确。 -
@linhan-ge 在 MPPICInterFoam中的bug? 中说:
Extended CFD-DEM for free-surface flow with multi-size granules.
谢谢
-
@白礼耕 Check the alpha.Eqn and p.Eqn:
fvScalarMatrix p_rghEqn ( fvm::laplacian(Dp, p_rgh) == fvc::ddt(alphac) + fvc::div(alphacf*phiHbyA) );
even
ddt(alphac)=0
, it considers only the continuous phase (water) becausealphac = 1 - alpha.air
. It makes sense if you do the following to address the effects of particles: 1) include the sink terms in alpha.Eqn, 2)alphac = 1 - alpha.air - alpha.particle
3) manage the momentum interface exchange terms in U.Eqn. In this way a two-way coupling can be implemented, but not quite easy. Currently the implementation is quite simple, but it only works for dilute particle flow (one-way coupling).