Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed steady/unsteady #164

Merged
merged 20 commits into from
Nov 25, 2024
Merged

Mixed steady/unsteady #164

merged 20 commits into from
Nov 25, 2024

Conversation

ddundo
Copy link
Member

@ddundo ddundo commented Apr 15, 2024

Closes #152: added a mantle convection demo (taken from Davies, Kramer et al. 2022)

@ddundo ddundo added bug Something isn't working documentation Improvements or additions to documentation labels Apr 16, 2024
@ddundo ddundo added this to the Version 1 milestone Apr 16, 2024
@ddundo ddundo marked this pull request as ready for review November 24, 2024 12:11
@ddundo ddundo requested a review from jwallwork23 November 24, 2024 12:11
@ddundo
Copy link
Member Author

ddundo commented Nov 24, 2024

@jwallwork23 I converted this demo to just solve the forward problem, since it doesn't seem like adjoint-related issues will be solved anytime soon (and I don't plan on doing goal-oriented adaptation anytime soon)

Copy link
Member

@jwallwork23 jwallwork23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ddundo, no worries about it being forward only. Always nice to have more demos.

This mostly looks good but I have a couple of requests and a few suggested edits.

I was thinking about where the demo might fit in the sequence, but since we have quite a few now and users are unlikely to go through all of them in order, we might need to rethink if/how demos follow on from each other. So I guess it's okay for this one to be standalone.

demos/mantle_convection.py Outdated Show resolved Hide resolved

# We consider the problem of a mantle convection in a 2D unit square domain. The
# governing equations and Firedrake implementation are based on the 2D Cartesian
# incompressible isoviscous case from :cite:`Davies:2022`. We refer the reader to the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please open a linked docs PR adding this to follow mesh-adaptation/docs#64.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a suggestion in that PR to add it since it's still open :) https://github.com/mesh-adaptation/mesh-adaptation-docs/pull/64/files#r1855525732

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll also need to add it on the goalie/index.rst page.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Opened mesh-adaptation/docs#70

demos/mantle_convection.py Outdated Show resolved Hide resolved
demos/mantle_convection.py Outdated Show resolved Hide resolved
demos/mantle_convection.py Outdated Show resolved Hide resolved
demos/mantle_convection.py Outdated Show resolved Hide resolved
demos/mantle_convection.py Outdated Show resolved Hide resolved
demos/mantle_convection.py Outdated Show resolved Hide resolved
@ddundo
Copy link
Member Author

ddundo commented Nov 24, 2024

Thanks for the suggestions @jwallwork23!

I was thinking about where the demo might fit in the sequence, but since we have quite a few now and users are unlikely to go through all of them in order, we might need to rethink if/how demos follow on from each other. So I guess it's okay for this one to be standalone.

Good point. I'll just add it after Gray-Scott demos for now :)

@ddundo ddundo requested a review from jwallwork23 November 24, 2024 20:26
demos/mantle_convection.py Show resolved Hide resolved

# We consider the problem of a mantle convection in a 2D unit square domain. The
# governing equations and Firedrake implementation are based on the 2D Cartesian
# incompressible isoviscous case from :cite:`Davies:2022`. We refer the reader to the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll also need to add it on the goalie/index.rst page.

@ddundo ddundo requested a review from jwallwork23 November 25, 2024 11:54
ddundo added a commit to mesh-adaptation/docs that referenced this pull request Nov 25, 2024
Copy link
Member

@jwallwork23 jwallwork23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ddundo! Great contribution.

@ddundo ddundo merged commit 6a90b03 into main Nov 25, 2024
1 check passed
@ddundo ddundo deleted the 152_mixed_demo branch November 25, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a simple mixed steady/unsteady demo
2 participants