Skip to content

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

Description

@DongWangChina

在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没有输出报错。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions