View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003881 | OpenFOAM | Bug | public | 2022-09-12 10:45 | 2022-09-13 08:24 |
Reporter | heinten | Assigned To | will | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Other | OS Version | (please specify) |
Product Version | dev | ||||
Fixed in Version | 10 | ||||
Summary | 0003881: topoSet - patchDistanceToCell crashes | ||||
Description | topoSet crashes always when patchDistanceToCell is used for creating a cellSet. This happens both in OpenFOAM 10 and dev, but does not occur in OpenFOAM 9. The error message is as follows: Time = 0s mesh not changed. Created cellSet mucusLayer Applying source patchDistanceToCell Adding cells a distance less than 0.2 from patches 1(movingWall) ... #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigSegv::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::patchDistWave::wave(Foam::polyMesh const&, Foam::List<int> const&, Foam::Field<double>&) at ??:? #4 Foam::patchDistWave::calculate(Foam::polyMesh const&, Foam::HashSet<int, Foam::Hash<int> > const&, Foam::Field<double>&) at ??:? #5 Foam::patchDistanceToCell::combine(Foam::topoSet&, bool) const at ??:? #6 ? in "/app2/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/topoSet" #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 ? in "/app2/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/topoSet" Speicherzugriffsfehler | ||||
Steps To Reproduce | Just take the cavity tutorial case for icoFoam and use the appended topoSetDict. It should create a cellSet containing cells, which are 0.2 or less away from the top wall ('movingwall'). | ||||
Tags | No tags attached. | ||||
|
@heinten: you wrote "use the appended topoSetDict"... if you meant "attached" instead of appended, it's not yet attached to this report. |
|
Sorry, I forgot to attach it. Here it is… topoSetDict (925 bytes)
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 10 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( // Create cellSet for setFields { name mucusLayer; type cellSet; action new; source patchDistanceToCell; sourceInfo { distance 0.2; patch movingWall; } } ); // ************************************************************************* // |
|
Thanks for the report. Fixed in 10 and dev by the following commits: https://github.com/OpenFOAM/OpenFOAM-10/commit/8d73542293f9f15151181b5ba0c7696e03bb2ad5 https://github.com/OpenFOAM/OpenFOAM-dev/commit/251f549a24cae3453cb2379ac2028a4e441a975e |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-09-12 10:45 | heinten | New Issue | |
2022-09-12 11:11 | wyldckat | Note Added: 0012725 | |
2022-09-12 11:42 | heinten | Note Added: 0012726 | |
2022-09-12 11:42 | heinten | File Added: topoSetDict | |
2022-09-13 08:24 | will | Assigned To | => will |
2022-09-13 08:24 | will | Status | new => resolved |
2022-09-13 08:24 | will | Resolution | open => fixed |
2022-09-13 08:24 | will | Fixed in Version | => 10 |
2022-09-13 08:24 | will | Note Added: 0012727 |