How to apply Robin BCs? #24108
Answered
by
hugary1995
K-Komal-98
asked this question in
Q&A Tools
-
|
I am modeling a battery problem. There are 3 blocks : anode, electrolyte and cathode. There are also robin BCs in the problem like d^y_1/dx + y_1^2 = g. Is their any block corresponding to this kind of BC? |
Beta Was this translation helpful? Give feedback.
Answered by
hugary1995
Apr 18, 2023
Replies: 1 comment
-
|
Use a [BCs]
[hconv]
type = ADMatNeumannBC
variable = T
boundary = 'insul_od insul_top_bot'
value = -1
boundary_material = qconv
[]
[]
[Materials]
[qconv]
type = ADParsedMaterial
property_name = qconv
expression = 'htc*(T-T_inf)'
coupled_variables = 'T'
constant_names = 'htc T_inf'
constant_expressions = '${htc} ${T_inf}'
boundary = 'insul_od insul_top_bot'
[]
[] |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
GiudGiud
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use a
MatNeumannBCin conjunction with aParsedMaterial. Below is an example of imposing heat convection BC: