View Issue Details

IDProjectCategoryView StatusLast Update
0003971OpenFOAMBugpublic2023-04-18 08:36
Reporterpalkinev89 Assigned Towill  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformGNU/LinuxOSOtherOS Version(please specify)
Product Version10 
Fixed in Versiondev 
Summary0003971: The bug prevents user from collecting statistics of any field upon relaunch of the simulation.
DescriptionThe bug always appears upon relaunch of a simulation with NCC to continue gathering statistics.
Steps To ReproduceHow to reproduce the bug:

1. Take any NCC case, but as example I took "tutorials/incompressible/pimpleFoam/RAS/oscillatingInlet/".
This test case already has system/decomposeParDict defined and in place.

2. Add statistics collection to controlDict as:
    #includeFunc fieldAverage(U)

3. Modify the Allrun script or create a new one with the following content:
#!/bin/sh
cd ${0%/*} || exit 1
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication blockMesh
runApplication createNonConformalCouples -overwrite nonCouple1 nonCouple2
runApplication decomposePar
runParallel $(getApplication)
run it, it should finish without errors.

4. Increase endTime to 6 in the system/controlDict.

5. Modify the Allrun script or create a new one with the following content:

#!/bin/sh
cd ${0%/*} || exit 1
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runParallel $(getApplication)

Run the solver again, simulation terminates with an error.
Additional Informationsystem = debian 11.6
mpi = openmpi-4.1.4
Attached file has default test case from tutorials with 2 extra files:
README and log.pimpleFoamLastExec (log containing the error code and the stack)
TagsNo tags attached.

Activities

palkinev89

2023-04-16 14:24

reporter  

will

2023-04-18 08:36

manager   ~0013002

The behaviour of fieldAverage with NCC and/or topology change is not guaranteed in version 10 or below. In
 dev this has already been fixed. See:

https://github.com/OpenFOAM/OpenFOAM-dev/commit/3e8b97fef603d3ab1469097f8216cc58678d0d0e
https://github.com/OpenFOAM/OpenFOAM-dev/commit/65b7f628577fbbcb18d8fb7f686183f4ba0b0e3d

Issue History

Date Modified Username Field Change
2023-04-16 14:24 palkinev89 New Issue
2023-04-16 14:24 palkinev89 File Added: oscillatingInlet.tar.gz
2023-04-18 08:36 will Assigned To => will
2023-04-18 08:36 will Status new => closed
2023-04-18 08:36 will Resolution open => no change required
2023-04-18 08:36 will Fixed in Version => dev
2023-04-18 08:36 will Note Added: 0013002