View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003389 | OpenFOAM | Bug | public | 2019-11-15 06:20 | 2019-11-15 09:03 |
Reporter | adcpk | Assigned To | henry | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 18.04.3 LTS |
Summary | 0003389: instantaneous reaction rate is not performed | ||||
Description | When the reaction rate is set to instantaneous, the reaction is disappeared. This bug is due to the mistake in "src/combustionModels/laminar/laminar.C", the instantaneous reaction rate is totally not performed in function "correct". | ||||
Steps To Reproduce | add following set in constant/combustionProperties integrateReactionRate off; | ||||
Additional Information | //openfoam6 template<class ReactionThermo> void Foam::combustionModels::laminar<ReactionThermo>::correct() { if (this->active()) { if (integrateReactionRate_) { //some codes } else { this->chemistryPtr_->calculate(); } } } //openfoam7 template<class ReactionThermo> void Foam::combustionModels::laminar<ReactionThermo>::correct() { if (integrateReactionRate_) { //some codes } } //suggested template<class ReactionThermo> void Foam::combustionModels::laminar<ReactionThermo>::correct() { if (integrateReactionRate_) { //some codes } else { this->chemistryPtr_->calculate(); } } | ||||
Tags | No tags attached. | ||||