View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003999 | OpenFOAM | Bug | public | 2023-07-24 15:14 | 2023-07-25 09:30 |
Reporter | jkau | Assigned To | will | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 22.04 |
Product Version | 11 | ||||
Fixed in Version | 11 | ||||
Summary | 0003999: NCC raises fatal error when using in combination with PLIC | ||||
Description | When using PLIC interface comperssion with NCC the solver immediately exits with: [5] --> FOAM FATAL ERROR: [5] The start face is not defined for a nonConformal patch with a non-zero number of faces [5] [5] From function virtual Foam::label Foam::nonConformalFvPatch::start() const [5] in file fvMesh/fvPatches/constraint/nonConformal/nonConformalFvPatch.C at line 98. | ||||
Steps To Reproduce | In tutorials/incompressibleVoF/propeller: 1. Iniialize the field with attached setFields dictionary. 2. change div(phi,alpha) scheme to Gauss PLIC interfaceCompression vanLeer 1; 3. run | ||||
Additional Information | happens also with dev and 10 | ||||
Tags | No tags attached. | ||||
|
setFieldsDict (1,164 bytes)
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: dev \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // defaultFieldValues ( volScalarFieldValue alpha.water 0 ); regions ( // Set cell values // (does zerogradient on boundaries) boxToCell { box (-999 -999 -999) (999 999 0); fieldValues ( volScalarFieldValue alpha.water 1 ); } // Set patch values (using ==) boxToFace { box (-999 -999 -999) (999 999 0); fieldValues ( volScalarFieldValue alpha.water 1 ); } ); // ************************************************************************* // |
|
Yes, NCC and PLIC/MPLIC are not compatible. I have added an error message which makes this clear. I consider this to have "resolved" the issue. It is not a bug, it is a missing bit of functionality. https://github.com/OpenFOAM/OpenFOAM-11/commit/503f8884c2c51a4f0ea0275f2a89608e402890d1 https://github.com/OpenFOAM/OpenFOAM-dev/commit/d98d2c371adce6bf2224d9149c9ac4bf97d5ab5d Making NCC and PLIC/MPLIC compatible would require a modest development effort, which would need to be paid for. If you wish to do so, please contant CFD Direct (i.e., use https://cfd.direct/contact/ if you are not an existing customer). |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-07-24 15:14 | jkau | New Issue | |
2023-07-24 15:14 | jkau | File Added: setFieldsDict | |
2023-07-25 09:30 | will | Assigned To | => will |
2023-07-25 09:30 | will | Status | new => resolved |
2023-07-25 09:30 | will | Resolution | open => fixed |
2023-07-25 09:30 | will | Fixed in Version | => 11 |
2023-07-25 09:30 | will | Note Added: 0013084 |