Skip to content

redistributePar produces illogical warning message

Summary

redistributePar uses internally fvMeshSubset to subset mesh+fields to send to other processors. Exposed internal faces will produce a warning for any boundary condition holding per-face information (e.g. fixedValue v.s. uniformFixedValue).

Since the bits will get stitched later on there is actually no use for the warning message - it is just due to the current implementation.

Steps to reproduce

Eg in tutorials/incompressible/simpleFoam/pitzDaily :

mpirun -np 2 redistributePar -decompose -parallel

This will give a warning:

--> FOAM Warning : 
    From Foam::fixedValueFvPatchField<Type>::fixedValueFvPatchField(const Foam::fixedValueFvPatchField<Type>&, const Foam::fvPatch&, const Foam::DimensionedField<Type, Foam::volMesh>&, const Foam::fvPatchFieldMapper&) [with Type = double]
    in file src/finiteVolume/lnInclude/fixedValueFvPatchField.C at line 81
    On field subsetepsilon patch lowerWall patchField fixedValue : mapper does not map all values.
    To avoid this warning fully specify the mapping in derived patch fields.

Environment information

  • OpenFOAM version : <= v2006