View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002677 | OpenFOAM | Bug | public | 2017-08-25 03:06 | 2017-08-29 14:51 |
Reporter | Carlen | Assigned To | henry | ||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0002677: Bug in compressibleMultiphaseInterFoam | ||||
Description | In pEqn.H just before updating flux phi in the forAllIter loop, I think there is a phasei++ missing. The phasei is initiated as 0 before the forAll loop but is not updated in this loop to update dgdt for each phase. Please see the code below. forAllIter ( PtrDictionary<phaseModel>, mixture.phases(), phase ) { phase().dgdt() = pos(phase()) *(p_rghEqnComps[phasei] & p_rgh)/phase().thermo().rho(); //missing phasei++; here } From what I see here only first phase's dgdt is updated at each time step. Maybe I am wrong. | ||||
Tags | No tags attached. | ||||