Skip to content

Fix test setups for tpetra#6985

Open
gassmoeller wants to merge 2 commits into
geodynamics:mainfrom
gassmoeller:fix_test_setups_for_tpetra
Open

Fix test setups for tpetra#6985
gassmoeller wants to merge 2 commits into
geodynamics:mainfrom
gassmoeller:fix_test_setups_for_tpetra

Conversation

@gassmoeller
Copy link
Copy Markdown
Member

With all the developments in deal.II and the prior PRs about Tpetra support in ASPECT almost all of our test cases now run with Tpetra vectors, matrices, and solvers.

This PR adjusts the setup of a few of the remaining problematic cases.

maximum_horizontal_compressive_stress_case_two.prm I think accidentally sets a very large viscosity (5e24) for a very small model with prescribed deformation, which leads to unrealistic stress values. I suspect our pressure scaling doesnt work any more for this regime. I could get the test to pass with 5e21 viscosity, but there is another case maximum_horizontal_compressive_stress_case_one.prm which uses the settings I used here (viscosity = 0.5), which is closer to what is expected in a nondimensional setup like this.

time_stepping_repeat_particles_iterated_advection.prm prescribes a step jump in velocity at a fixed time, which breaks the advection solver even with the diagonal strengthening fallback. Our default solver tolerance is 1e-12, not really because we need that value, but because the advection system is typically easy and fast to solve. With the new solver I can still converge to around 1e-9, but I used 1e-8 to be safe. Alternatively, one could use a smoother velocity change, or stronger diagonal strengthening in the code (but I tried, and I couldnt get it to work with a tolerance of 1e-12 even with stronger strengthening; 1e-11 might work).

I would like to get this in as its own PR to separate the changes to the tests from the other changes I will make when enabling Tpetra support.

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.

1 participant