Defining a Robin boundary condition in a 1D problem #3379
Unanswered
amnchacon
asked this question in
Firedrake support
Replies: 2 comments 3 replies
-
Those are terms coming from the application of divergence theorem, and those are indeed surface integrals, and you could still use |
Beta Was this translation helpful? Give feedback.
3 replies
-
No, there is no magic. It just does the integrals that you ask for.
From: Andrés Mauricio Nieves Chacón ***@***.***>
Date: Friday, 2 February 2024 at 17:12
To: firedrakeproject/firedrake ***@***.***>
Cc: Cotter, Colin J ***@***.***>, Mention ***@***.***>
Subject: Re: [firedrakeproject/firedrake] Defining a Robin boundary condition in a 1D problem (Discussion #3379)
Oh, I see. I thought the software internally integrate for a second time those terms that in 1D case emerged after integrate. But, I have a case is not working. Well, I'll review carefully. Thanks for your replying.
—
Reply to this email directly, view it on GitHub<#3379 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABOSV4WOMFMBAMR2OPP46WTYRUM6BAVCNFSM6AAAAABCT2NUXCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGNBZGAYDM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone. I'm trying to solve a 1D heat conduction problem considering a Robin boundary condition (RBC). The boundary value problem is:
with$u(a) = u_a$
and$-ku_x(b) = \alpha[u(b) - u_\infty]$ --> RBC
The variational formulation after integrate by parts is:
The parameters$k$ , $\sigma$ , $\alpha$ , $f$ and $u_\infty$ are constants.
a) My problem is not about how to write the integral terms, but the terms$\alpha u(b)v(b)$ (at the left hand side) and $\alpha u_\infty v(b)$ (at the right hand side). Notice that those terms are not integrals, $u(b)$ is a variable at the boundary ($x=b$ ), and $v(b)$ is related to $v \in \mathcal{V}$ . How write those terms in the code?
b) The writing of those not integral terms would change depending on the type of mesh, Unit Interval Mesh, Square Mesh or Annulus Mesh?
My gratitude...
Beta Was this translation helpful? Give feedback.
All reactions