How to have multiple Robin boundary conditions? #1098
Unanswered
CalebDmArcher
asked this question in
Q&A
Replies: 1 comment
-
Yes, I think that should work. Alternatively: convection_surfaces = convection_surfaces_front | convection_surfaces_back
n = FaceVariable(mesh=mesh, value=mesh.faceNormals)
h = (h2 * convection_surfaces_front + h1 * convection_surfaces_back)
a = h * n
g = h * T_ambient
RobinCoeff = convection_surfaces * D * n / (dPf.dot(a) + b)
RobinTerm = RobinCoeff * a.dot(n)
eq = (DiffusionTerm(coeff=Gamma) +
source +
(RobinCoeff * g).divergence -
ImplicitSourceTerm(coeff=RobinTerm.divergence)) |
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
-
I am wondering if this is the correct way to write the equation if I have more than 1 Robin boundary condition:
I have a thermal simulation with different convention coefficients on 2 different surfaces of the structure.
So basically it is just adding two different Robin boundary terms.
May I know if this is the correct way to do so?
Beta Was this translation helpful? Give feedback.
All reactions