Skip to content

Fix flow-over-heated-plate/solid-dunefem for newer ufl versions - #864

Merged
MakisH merged 2 commits into
developfrom
fix-863
Jul 7, 2026
Merged

MakisH merged 2 commits into
developfrom
fix-863

Conversation

@MakisH

@MakisH MakisH commented Jul 7, 2026 •

Copy link
Copy Markdown
Member

Fixes #863 by replacing:

- x = ufl.SpatialCoordinate(ufl.triangle)
+ x = ufl.SpatialCoordinate(space)

following the dune-fem demo.

I am not sure why this was originally a ufl.triange (#274, FYI @NiklasKotarsky @uekerman), but the case seems to work and produce the expected results.

This PR also bumps the minimum dune-fem version to 2.11, since older versions do not build anymore (see #863 (comment)). I have tested with the latest revisions of both 2.11 and 2.12 and added a comment in the requirements.txt.

Checklist

  • I added a summary of any user-facing changes (compared to the last release) in the changelog-entries/<PRnumber>.md.

@MakisH MakisH self-assigned this Jul 7, 2026
@MakisH
MakisH merged commit 9e4ce5e into develop Jul 7, 2026
1 check passed
@MakisH
MakisH deleted the fix-863 branch July 7, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dune-fem tutorial fails to run (ufl-related error)

1 participant