Coupling two weak forms #3301
Unanswered
Hasupama
asked this question in
Firedrake support
Replies: 3 comments 1 reply
-
Does it work if you solve for just one of those forms? |
Beta Was this translation helpful? Give feedback.
0 replies
-
There's really not enough information here to answer. The error indicates that the solver diverged, which is probably because the problem was ill-posed. That could either be because of a maths issue or because of a mistake translating that maths into code. Please post a minimal failing example (i.e. the shortest complete piece of code that illustrates the issue). |
Beta Was this translation helpful? Give feedback.
0 replies
-
What is x[0] ?
…________________________________________
From: David A. Ham ***@***.***>
Sent: 03 January 2024 10:18
To: firedrakeproject/firedrake
Cc: Subscribed
Subject: Re: [firedrakeproject/firedrake] Coupling two weak forms (Discussion #3301)
There's really not enough information here to answer. The error indicates that the solver diverged, which is probably because the problem was ill-posed. That could either be because of a maths issue or because of a mistake translating that maths into code. Please post a minimal failing example (i.e. the shortest complete piece of code that illustrates the issue).
—
Reply to this email directly, view it on GitHub<#3301 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABOSV4QBEKKWA5W5VE7FDD3YMUV7LAVCNFSM6AAAAABBKJHFXGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DAMBRGM2TA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to solve Poisson equation and continuity equation simultaneously. Weak forms are,
Weak_form_poisson = x[0]*( eps*phi.dx(i)*del_phi.dx(i) - e*(-Ne*del_phi )*dx
Weak_form_continuity= x[0]*( Ne-Ne0/Dt)*del_Ne - source*del_Ne )*dx
When I tried to solve these two together(
Weak_form_poisson+Weak_form_continuity=0
), It gives an error DIVERGED_FNORM_NANIs it incorrect to solve the addition of two weak forms?
Appreciate your suggestions on this problem. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions