deepflame-dev icon indicating copy to clipboard operation
deepflame-dev copied to clipboard

在Reading thermophysical properties时检查边界条件/反应机理

Open DongWangChina opened this issue 6 months ago • 0 comments

在applications/solvers/dfLowMachFoam/createFields.H中, Info<< "Reading thermophysical properties\n" << endl;

CanteraMixture::setEnergyName("hs"); // fluidThermo* pThermo = new hePsiThermo<psiThermo, CanteraMixture>(mesh, word::null); fluidThermo* pThermo = new heRhoThermo<rhoThermo, CanteraMixture>(mesh, word::null); fluidThermo& thermo = *pThermo; Info<< "Readed thermophysical properties\n" << endl;

这段代码执行时,遇到:

  1. 组分的初始条件/边界条件之和不为1,或者
  2. 反应机理有问题 会直接退出程序而没有任何报错信息,无法帮助用户检查算例设置。因为conda的cantera没有输出报错。

DongWangChina avatar Jul 09 '25 09:07 DongWangChina