Discussion Forum

Coordinate system and COMSOL solver

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   1 Reply   Last post: January 11, 2013 11:55am UTC
Ruzbeh

Ruzbeh

January 10, 2013 2:22pm UTC

Coordinate system and COMSOL solver

Hi
This may sound silly but I need to understand the basics.
I am bit confused about how COMSOL handles coordinates. I have a circular geometry in 3D, preferably in theory it is usual to use a cylindrical coordinate system (r,theta,z). When I use comsol, the equation is generally expressed in cartesian coordinates. Does it matter to convert it to cylindrical coordinate? I guess comsol solver would eventually convert it back to x,y,z system.

For example, an equation is dependent on the stresses in x,y,z direction but the geometry is a circular. All the equations are in cartesian coordinate. Can some one please explain how comsol handles the equation in this case? I am using SM and heat trasnfer in solids together.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

January 11, 2013 11:55am UTC in response to Ruzbeh

Re: Coordinate system and COMSOL solver

Hi

COMSOL calculates all in orthonormal carthesian, but you can define any other coordinate system and refer to the variables, i.e. a first cylindrical coordinate system would typically have its naming sys2.r .phi, .z ...

Note: postprocessing is also by default in carthesian normal system, so there too you need to remap to your given coordinates, depending on what you are looking for

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines