View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003162 | OpenFOAM | Bug | public | 2019-02-08 17:58 | 2019-02-08 18:09 |
Reporter | dvillafr | Assigned To | henry | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 15.04 |
Summary | 0003162: Max and Min Functions not working in Cavitation Models for interPhaseChangeFoam | ||||
Description | In the Schnerr-Sauer cavitation model, the variable mDotAlphal term as defined in SchnerrSauer.C has max and min functions which don't seem to work properly... Cc*limintedAlpha1*pCoeff*max(p-pSat(),p0_), Cv*(1+alphaNuc()-limitedAlpha1)*pCoeff*min(p-pSat(), p0_) I have modified the solver so that it writes out the values for mDotAlphal shown above and the results are not consistent with what is coded. If p - pSat > 0 then mDotAlphal[0] should be non-zero and mDotalphal[1] should be zero. If p - pSat < 0 then mDotAlphal[0] should be zero and mDotAlphal[1] should be non-zero. I have seen cells where both mDotAlphal[1] and mDotAlphal[0] become non-zero. This is not consistent with the way the code is written. | ||||
Tags | No tags attached. | ||||
|
Not enough information provided to reproduce the problem. See https://bugs.openfoam.org/rules.php for details of how to report bugs in a useful way. |