各位老师好!
报错信息:
Screenshot from 2021-11-20 14-31-59.png
solidParticleCloud.C的代码:
solidParticle::trackingData
td(*this, rhoInterp, UInterp, nuInterp, g.value());
Cloud<solidParticle>::move(*this, td, mesh_.time().deltaTValue());
if(mesh_.time().value()> td.cloud().tInjStart_ && //
mesh_.time().value()< td.cloud().tInjEnd_)
{this->inject(td);}
void Foam::solidParticleCloud::inject(solidParticle::trackingData &td) //.
{ //.
label cellI = -1; //.
label tetFaceI = -1;
label tetPtI = -1;
mesh_.findCellFacePt(td.cloud().posB_, cellI, tetFaceI, tetPtI);
if(cellI > 0){
solidParticle* ptr1 = new solidParticle(mesh_, td.cloud().posB_,
cellI, tetFaceI, tetPtI,td.cloud().dB_, td.cloud().UB_);
Cloud<solidParticle>::addParticle(ptr1);
}
}