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.
Unit inconsistency between geometry and physics
Posted 17.04.2012, 16:06 GMT-4 Geometry Version 4.2a 6 Replies
Please login with a confirmed email address before reporting spam
I am running a very simple 2D axi. model of a resistor. The problem was that my results were scaled completely wrong, but I found the source of the problem: My geometry length unit was set to 'mm' but the model unit system is set to SI.
I designed a small cylinder with a length of 5mm and other dimensions at the same scale. All of the materials and physics are in SI, so the material conductivity was in S/m. So after solving the model and evaluating a volume integral of the power dissipation, my results were way off the charts! Given that it was orders of magnitude, I figured it had to do with units. I changed the geometry units to 'm' (now the cylinder is 0.005m long), and voila, the solution is correct! Is there some sort of disconnect between the geometry units and physics units or am I missing something simple?
Does this mean that If I want to design my geometry in something other than the model units system (SI) then I have to go to the geometry node, select 'scale values when changing units', then change the length unit to 'm' (in my case) before running the simulation? Does not seem intuitive.
I designed a small cylinder with a length of 5mm and other dimensions at the same scale. All of the materials and physics are in SI, so the material conductivity was in S/m. So after solving the model and evaluating a volume integral of the power dissipation, my results were way off the charts! Given that it was orders of magnitude, I figured it had to do with units. I changed the geometry units to 'm' (now the cylinder is 0.005m long), and voila, the solution is correct! Is there some sort of disconnect between the geometry units and physics units or am I missing something simple?
Does this mean that If I want to design my geometry in something other than the model units system (SI) then I have to go to the geometry node, select 'scale values when changing units', then change the length unit to 'm' (in my case) before running the simulation? Does not seem intuitive.
Attachments:
6 Replies Last Post 18.04.2012, 12:43 GMT-4