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

Linear and nonlinear solve for steady state tutorials #336

Closed
bclyons12 opened this issue Nov 10, 2023 · 1 comment
Closed

Linear and nonlinear solve for steady state tutorials #336

bclyons12 opened this issue Nov 10, 2023 · 1 comment

Comments

@bclyons12
Copy link

In the tutorials, the Steady State Heat Equation is described as a nonlinear problem, but it's fully linear. Why is this solved using NonlinearSolve.solve?

Conversely, the Steady state of SIS problem is nonlinear, with factors like S(t, x) * I(t, x) / (S(t, x) + I(t, x)). Why does this one not use NonlinearSolve?

@xtalax
Copy link
Member

xtalax commented Nov 24, 2023

Nonlinear refers to the type of systems of equations that are used to solve in each case. Steady state problems are nonlinear root finding problems, not ODEs hence they are solved with NonlinearSolve. Problems with time are typically lowered to ODEs, hence they use OrdinaryDiffEq

@xtalax xtalax closed this as completed Nov 24, 2023
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

2 participants