Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How to control the material parameter with solution?
Posted Dec 7, 2010, 10:17 p.m. EST Heat Transfer & Phase Change Version 4.1 3 Replies
Please login with a confirmed email address before reporting spam
Dear Experts,
I used Joule heating model of 2D problem. The geometry is a rectangle with a circle in the center. The resistivity of the circle is very high. Therefore, the current density will be increased around the circle. The resistivity of the rectangle is related with the current density. Simply, I set the resistivity rho_rect = 1e5 ohm.m at the area that current density above a certain value while the rho_rect at other area is zero.
When I used a expression with the variable ec.normJ in the heating model to define the material's resistivity, an error jumped like this
"Circular variable dependency detected.
- Variable: mod1.ec.normJ
- Geometry: 1
- Domain: 1"
Then I added mathmatics, using a PDE equation to describe the rho_rect. When I first set resistivity of rectangle constantly in Joule heating model, I can get the result that around the circle rho_rect was increased. However, when I set resistivity of rectangle from PDE. The solver cannot be convergence.
How can I resolve this problem? Is it a hard problem? I spent a lot of time on it.
Many Thanks!
Zhao
I used Joule heating model of 2D problem. The geometry is a rectangle with a circle in the center. The resistivity of the circle is very high. Therefore, the current density will be increased around the circle. The resistivity of the rectangle is related with the current density. Simply, I set the resistivity rho_rect = 1e5 ohm.m at the area that current density above a certain value while the rho_rect at other area is zero.
When I used a expression with the variable ec.normJ in the heating model to define the material's resistivity, an error jumped like this
"Circular variable dependency detected.
- Variable: mod1.ec.normJ
- Geometry: 1
- Domain: 1"
Then I added mathmatics, using a PDE equation to describe the rho_rect. When I first set resistivity of rectangle constantly in Joule heating model, I can get the result that around the circle rho_rect was increased. However, when I set resistivity of rectangle from PDE. The solver cannot be convergence.
How can I resolve this problem? Is it a hard problem? I spent a lot of time on it.
Many Thanks!
Zhao
3 Replies Last Post Feb 2, 2015, 7:32 a.m. EST