Replies: 2 comments
-
Related discussions: #1007 #942
Please provide a reference to that discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
These conversations helped me to write this code |
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
-
Hi, I was trying to implement heat resistance between metal (100 nm) and non-metal layer(100 nm) , the conditions were
$-\kappa_e \frac{\partial T_e}{\partial x} \bigg| _ {x=L_x}$ = $\frac{1}{R{es}} \bigg( T_e - T_s \bigg) \bigg| _ {x=L_x}$
$-\kappa_p \frac{\partial T_p}{\partial x} \bigg| _ {x=L_x}$ = $\frac{1}{R_{ps}} \bigg( T_p - T_s \bigg) \bigg| _ {x=L_x}$
$-\kappa_s \frac{\partial T_s}{\partial x} \bigg| _ {x=L_x} = \frac{1}{R_{ps}} \bigg( T_p - T_s \bigg) \bigg| _ {x=L_x} + \frac{1}{R{ps}} \bigg( T_p - T_s \bigg) \bigg| _ {x=L_x}$ ( $x= L_x$ is the position of interface )( Internal Robin Condition )
$\frac{\partial C_e T_e}{\partial t} = \nabla\cdot\left(k_e\nabla T_e\right) - G(T_e - T_p) + S$
$\frac{\partial C_p T_p}{\partial t} = \nabla\cdot\left(k_p\nabla T_p\right) + G(T_e - T_p)$
$\frac{\partial C_s T_s}{\partial t} = \nabla\cdot\left(k_s\nabla T_s\right)$ $T_e, T_p, T_s$ , but I could not apply the internal robin condition to my satisfaction . So I changed the approach to solve the problem. Instead of coupling the equations through heat flux in internal position , I coupled them at boundary position. Here is the code
in this equations
First I set up a domain of 200 nm with three variables
But previously @wd15 said that this implementation is only first order accurate and he also mentioned that this implementation may have trouble in higher dimension . I want to know that how to correct the boundary condition up to second order?
Beta Was this translation helpful? Give feedback.
All reactions