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

Do not assemble the temperature matrix if the problem is temperature independent #1002

Closed
yinghe616 opened this issue Jun 27, 2016 · 2 comments

Comments

@yinghe616
Copy link
Contributor

For temperature independent problem, current linear solver will skip solving the temperature system once we know that the RHS is zero. However since we only know the RHS until we assemble the system and RHS at the same time, which still costs a lot of time.

A better way will be to add some global parameter to show that it is a temperature independent problem, so the solver can totally bypass the matrix assembling and solving...

@bangerth
Copy link
Contributor

Can't you already achieve this by using the "Stokes only" solver option?

@gassmoeller
Copy link
Member

I agree with Wolfgang's comment. The nonlinear solver scheme should determine, which equations to assemble and solve. I think you were looking for a scheme that only assembles and solves composition and stokes, but not temperature. That currently does not exist, but could be created, and in particular when we finally tackle #972 and #1279 this should be easy. I am closing this issue for now.

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

3 participants