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

implement matrix-free 3d no-normal flux #3263

Merged
merged 3 commits into from Oct 16, 2019

Conversation

tjhei
Copy link
Member

@tjhei tjhei commented Oct 16, 2019

No description provided.

@tjhei
Copy link
Member Author

tjhei commented Oct 16, 2019

Solutions are the approximately the same with and without GMG. Without:

*** Timestep 3:  t=5.46897e+07 years
   Solving temperature system... 14 iterations.
   Solving Stokes system... 200+16 iterations.

   Postprocessing:
     Writing graphical output:           output-shell_simple_3d/solution/solution-00003
     RMS, max velocity:                  0.000928 m/year, 0.00339 m/year
     Temperature min/avg/max:            973 K, 1463 K, 1973 K
     Heat fluxes through boundary parts: -3.483e+12 W, 1.373e+13 W
     Writing depth average:              output-shell_simple_3d/depth_average.vtu

with

*** Timestep 3:  t=5.46904e+07 years
   Solving temperature system... 14 iterations.
   Solving Stokes system... 43+0 iterations.

   Postprocessing:
     Writing graphical output:           output-shell_simple_3d/solution/solution-00003
     RMS, max velocity:                  0.000928 m/year, 0.00339 m/year
     Temperature min/avg/max:            973 K, 1463 K, 1973 K
     Heat fluxes through boundary parts: -3.483e+12 W, 1.373e+13 W
     Writing depth average:              output-shell_simple_3d/depth_average.vtu

@tjhei
Copy link
Member Author

tjhei commented Oct 16, 2019

@tcclevenger FYI

@tcclevenger
Copy link
Contributor

This seems reasonable. Iterations are as I expect.

Copy link
Member

@gassmoeller gassmoeller left a comment

Choose a reason for hiding this comment

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

Very nice! Looking forward to giving this a try. We can also think about converting some of our cookbooks and benchmarks to GMG now. They are often used as templates for new models, and starting from GMG should be faster and less memory-consuming.

Edit: Just realized this requires a new deal.II. Will have to wait with cookbooks and benchmarks then.

For future reference: The corresponding deal.II functionality that is used here is in: https://github.com/dealii/dealii/blob/master/include/deal.II/numerics/vector_tools.templates.h function add_constraint currently (commit 082d75bebda3ccb9f88e440162ff803d8536ba60) line 3833.

@gassmoeller gassmoeller merged commit 9c9c9ef into geodynamics:master Oct 16, 2019
@tjhei tjhei deleted the matrix_free_3d_flux branch October 17, 2019 08:04
@tjhei
Copy link
Member Author

tjhei commented Oct 17, 2019

Edit: Just realized this requires a new deal.II. Will have to wait with cookbooks and benchmarks then.

Yep, sadly. I am hoping we might be able to do 9.2 release at some point soonish and then move forward with ASPECT as well.

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.

None yet

3 participants