View Issue Details

IDProjectCategoryView StatusLast Update
0004006OpenFOAMBugpublic2023-08-16 09:35
Reportertniemi Assigned Towill  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Versiondev 
Fixed in Versiondev 
Summary0004006: pureMixture + multicomponent no longer working in dev
DescriptionI 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 ReproduceTake eg. multicomponentFluid/filter tutorial, comment out clouds, change multicomponentMixture -> pureMixture in physicalProperties and rename N2 -> mixture.
TagsNo tags attached.

Activities

Issue History

Date Modified Username Field Change
2023-08-15 12:02 tniemi New Issue
2023-08-16 09:35 will Assigned To => will
2023-08-16 09:35 will Status new => resolved
2023-08-16 09:35 will Resolution open => fixed
2023-08-16 09:35 will Fixed in Version => dev
2023-08-16 09:35 will Note Added: 0013100