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

Incorrect x_dot (velocity) field with some steppers #1107

Open
ikalash opened this issue Mar 7, 2025 · 0 comments
Open

Incorrect x_dot (velocity) field with some steppers #1107

ikalash opened this issue Mar 7, 2025 · 0 comments

Comments

@ikalash
Copy link
Collaborator

ikalash commented Mar 7, 2025

This is a repeat of an Albany-LCM issue (sandialabs/LCM#96) because it is present also in Albany.

For some Tempus steppers, the x_dot field is all 0, when it should be non-zero.

Issue 1.) can be reproduced by running https://github.com/sandialabs/LCM/blob/main/tests/TransientHeat2D/input_be.yaml and https://github.com/sandialabs/LCM/blob/main/tests/TransientHeat2D/input_rk.yaml for the TransientHeat2D problem, where the DBCs applied are all 0 except at the bottom of the domain, where a 1*t time-dependent DBC is prescribed. The x_dot should therefore be 1.0 for all times at the bottom boundary. The correct behavior is observed when using a Backward Euler stepper, but not when using an RK Implicit Midpoint stepper, as shown below.

Image

I have talked to @ccober6 about this and the issue is a "feature", namely that Tempus doesn't have xdot implemented for all steppers. I don't think xdot is really needed in Albany / for ALI, so I said this is not urgent to fix, but may change once we start doing dynamics in Albany.

Another issue that may impact Albany and is related is that xdot values are solved for at all the dofs, not just the unconstrained ones, as should be done. This can result in an incorrect value of xdot at the boundary. For more detail, please see sandialabs/LCM#96 and the discussion therein.

Opening issue here so we document and don't forget about the problem.

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

No branches or pull requests

1 participant