Is there a example for Robin boundary condition? #960
-
Hi, I am trying to include a Robin boundary condition in my code. Are there any examples of it? I am trying to simulate free air convection on a material boundary for a thermal model. The above situation is neither Dirichlet nor Neumann boundary conditions, i.e. it is not a constant value on the boundary nor a constant derivative of the solution variable on the boundary. Instead, the derivative of the solution variable on the boundary depends on the value of the solution variable itself, which is dT/dx = (h/k)*(T-T_ambient). Plus, since it is free air convection, the convection happens in every direction. Could anyone help me? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 36 replies
-
Please see Applying Robin boundary conditions |
Beta Was this translation helpful? Give feedback.
-
You appear to have asked a question about how to apply this, but I no longer see it. Please repost if you still have questions. |
Beta Was this translation helpful? Give feedback.
-
You must have made more modifications than this.
Please don't make me guess what you're doing. |
Beta Was this translation helpful? Give feedback.
-
After another painful PETSc installation process, I finally successfully ran the code with PETSc on my PC. PETSc 3.18.4 on Ubuntu on Win11 costs: I am so happy and cannot imagine how fast it could be if I ran it on a Macbook with M3 chip. |
Beta Was this translation helpful? Give feedback.
-
As of 7befdbc, run times with PETSc 3.19 and 3.20 should be good again. |
Beta Was this translation helpful? Give feedback.
These are the solutions I get