Skip to content

Assertion hit in mapData (stamples().size() > 0) #1803

@MakisH

Description

@MakisH

Describe your setup

Operating system (e.g. Linux distribution and version): Ubuntu 22.04
preCICE Version: develop f42e6c5
OpenFOAM adapter branch fix-writing, commit 7f316de6
OpenFOAM v2306

Describe the problem

Running the partitioned pipe tutorial with 2x pimpleFoam solvers, the following assertion is hit:

---[precice]  Computing "nearest-neighbor" mapping from mesh "Fluid2-Mesh" to mesh "Fluid1-Mesh" in "read" direction.
---[precice]  Mapping distance min:0 max:7.17448e-15 avg: 2.20885e-15 var: 4.2847e-30 cnt: 500
---[precice]  Mapping "Pressure" for t=0 from "Fluid2-Mesh" to "Fluid1-Mesh"
---[precice]  Mapping "Pressure" for t=1 from "Fluid2-Mesh" to "Fluid1-Mesh"
ASSERTION FAILED
Location:   void precice::impl::DataContext::mapData()
File:       /home/gc/repos/precice/precice/src/precice/impl/DataContext.cpp:95
Expression: context.fromData->stamples().size() > 0
Rank:       0
Arguments:  none

Probably interesting for @BenjaminRodenberg (triggered by the "stamples" and by #1645 mentioning the same part of the code).

See the precice-config.xml.

Step To Reproduce

  1. As in the tutorial documentation.

Additional context

More details in precice/openfoam-adapter#305 (comment)

Metadata

Metadata

Labels

bugpreCICE does not behave the way we want and we should look into it (and fix it if possible)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions