View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003971 | OpenFOAM | Bug | public | 2023-04-16 14:24 | 2023-04-18 08:36 |
Reporter | palkinev89 | Assigned To | will | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | GNU/Linux | OS | Other | OS Version | (please specify) |
Product Version | 10 | ||||
Fixed in Version | dev | ||||
Summary | 0003971: The bug prevents user from collecting statistics of any field upon relaunch of the simulation. | ||||
Description | The bug always appears upon relaunch of a simulation with NCC to continue gathering statistics. | ||||
Steps To Reproduce | How 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 Information | system = 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) | ||||
Tags | No tags attached. | ||||
|
|
|
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 |
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 |