View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004006 | OpenFOAM | Bug | public | 2023-08-15 12:02 | 2023-08-16 09:35 |
Reporter | tniemi | Assigned To | will | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0004006: pureMixture + multicomponent no longer working in dev | ||||
Description | I noticed that with recent dev multicomponent modules/phases (eg. multicomponentFluid or multicomponentPhaseModel) no longer work if used together with pureMixture thermo. If one tries this, there is immediate segfault. In OF-11 things work, but not anymore in dev. Unfortunately I jumped over many commits, so I don't know if this is due to thermo changes a few weeks back, or the quite recent "Construct Yslicer on demand" commit. The segfault happens inside "GeometricFieldListSlicer". This issue is not severe as one could always use single-component solvers and/or multicomponent solvers with one specie to simulate pure mixtures. With modular solvers this is quite easy nowadays. Alternatively to fixing this the pureMixture support could be removed, but a better error message would be needed. | ||||
Steps To Reproduce | Take eg. multicomponentFluid/filter tutorial, comment out clouds, change multicomponentMixture -> pureMixture in physicalProperties and rename N2 -> mixture. | ||||
Tags | No tags attached. | ||||
|
Thanks for the report. Fixed here: https://github.com/OpenFOAM/OpenFOAM-dev/commit/7ab2321a073d6e24a99269f5f4a60f7dedc0effd |