注册omega如下,有地方不理解:
omega_
(
IOobject
(
IOobject::groupName("omega", alphaRhoPhi.group()),
this->runTime_.timeName(),
this->mesh_,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
this->mesh_
)
IOobject::groupName("omega", alphaRhoPhi.group()) 知道是定义omage的name,但是 后面这个alphaRhoPhi.group(),是起到什么作用呢?
如果我定义成:
omega_
(
IOobject
(
"omega",
this->runTime_.timeName(),
this->mesh_,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
this->mesh_
)
会有什么效果无法实现?:tishizi: