Skip to content

An error occurred with the reconstructPar command

Summary

An error occurred when executing the reconstructPar command with parallel computation

Steps to reproduce

Run the example case

Example case

Use Case From https://turbmodels.larc.nasa.gov/naca0012_val.html and https://github.com/tomrobin-teschner/OpenFOAMCaseGenerator Naca0012_number_of_processors_2_number_of_corrector_steps_3.zip

Relevant logs and/or images

Reconstructing fields
region=region0

Time = 0.01

Reconstructing FV fields

    Reconstructing volScalarFields

        cp


--> FOAM FATAL IO ERROR: (openfoam-2206)
size 110 is not equal to the expected length 64

file: processor0/0.01/cp.boundaryField.farfield at line 7214 to 7215.

    From Foam::Field<Type>::Field(const Foam::word&, const Foam::dictionary&, Foam::label) [with Type = double; Foam::label = int]
    in file ./src/OpenFOAM/lnInclude/Field.C at line 218.

FOAM exiting

Environment information

  • OpenFOAM version :v2206
  • Operating system :windows
  • Hardware info :N/A
  • Compiler :gcc(Ubuntu on WSL)