Skip to content

channel-transport-reaction triggers assertion in fenics-adapter #374

@BenjaminRodenberg

Description

@BenjaminRodenberg

The following assertion is triggeres by channel-transport-reaction:

tutorials/channel-transport-reaction/fluid-fenics$ ./run.sh 
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
---[precice]  This is preCICE version 3.0.0
---[precice]  Revision info: v2.5.0-461-ge1e20f9d6
---[precice]  Build type: Debug
---[precice]  Configuring preCICE with configuration "/home/benjamin/Programming/tutorials/channel-transport-reaction/fluid-fenics/../precice-config.xml"
---[precice]  I am participant "Flow"
Participant Flow is write-only participant
Traceback (most recent call last):
  File "fluid.py", line 121, in <module>
    precice.initialize(coupling_subdomain=CouplingDomain(), write_object=u_)
  File "/home/benjamin/.local/lib/python3.8/site-packages/fenicsprecice/fenicsprecice.py", line 419, in initialize
    vertices = get_coupling_triangles(function_space, coupling_subdomain, fenics_edge_ids, id_mapping)
  File "/home/benjamin/.local/lib/python3.8/site-packages/fenicsprecice/adapter_core.py", line 439, in get_coupling_triangles
    assert (v2 != v2)
AssertionError
---[precice]  Implicitly finalizing in destructor

Since I'm not familiar with this tutorial, I will document this issue for now in favor of merging #333. Any help here would be appreciated. First starting point would be to check whether this tutorial actually works on the latest distribution release.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions