Bratu problem with contique #21
adtzlr
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @nschloe, @gdmcbain,
I just wanted to show you that I did something similar - though not as mature - to
pacopy
, calledcontique
. It uses a magnitude of component - based numeric continuation of equilibrium curves (think of it as an extension to yournatural
method but not sticking tolambda
in continuation).I also tried to solve the Bratu problem and it looks good I think:
It automatically approximates the jacobian by finite differences if no jacobian of the problem is passed. So the Bratu problem is just:
along with the definition of
H
and the calculation of the unknownu
:...and passed to
contique.solve
:Results may be extracted with:
Source-Code of the example is here: https://github.com/adtzlr/contique/blob/main/test/test_bratu.py
I thought of using pacopy beforce creating my own little module. But I wanted to code my own knowledge. Probably some pieces of my code could be interesting for you 😃
BR Andreas
Beta Was this translation helpful? Give feedback.
All reactions