关于compressibleInterFoam中contErr的疑问
-
发现compressibleInterFoam中每个方程都有这样一项
- fvm::Sp(contErr, *)
根据程序描述,contErr应该是
volScalarField::Internal contErr ( ( fvc::ddt(rho) + fvc::div(rhoPhi) - (fvOptions(alpha1, mixture.thermo1().rho())&rho1) - (fvOptions(alpha2, mixture.thermo2().rho())&rho2) )() );
我个人理解该项的目的是将方程从守恒形式转换为非守恒形式,那么为什么要进行这样的一步操作呢,看了其他的Foam好像都没有这样的