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.

Postprocessing in cyclindrical coordinates

Please login with a confirmed email address before reporting spam


I am doing a plane strain analysis of a pipe with a crack in it.

I would like to get the stress components in the cyclindridcal coordinate system (radial, hoop stress) rather than in the cartesian coordinate system (x & y stress components).

There seems to be do obvcious way of doing this.

Is there anyone who can suggest something?

Thanks,
--
Arthur Rupel

12 Replies Last Post 22 nov. 2016, 00:22 UTC−5
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 7 févr. 2013, 04:08 UTC−5
Hi,

This is the way to do it:

1. Add a cylindrical coordinate system with suitable axis directions under Definitions.
2. Select that system in the Linear Elastic feature.
3. Solve
4. Plot local stress tensor components ("Stress tensor, local coordinate system")

Regards,
Henrik
Hi, This is the way to do it: 1. Add a cylindrical coordinate system with suitable axis directions under Definitions. 2. Select that system in the Linear Elastic feature. 3. Solve 4. Plot local stress tensor components ("Stress tensor, local coordinate system") Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 21 févr. 2013, 14:49 UTC−5
I am using plastic deformation-isotropic hardening-von mises stress, tangent modulus.--
There is no problem in defining the cyc coord in definitions. However I cannot find anyway of stating this with the material properties that I am using. This is not a linear elastic material.

Thanks
Arthur Rupel
I am using plastic deformation-isotropic hardening-von mises stress, tangent modulus.-- There is no problem in defining the cyc coord in definitions. However I cannot find anyway of stating this with the material properties that I am using. This is not a linear elastic material. Thanks Arthur Rupel

Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 21 févr. 2013, 17:05 UTC−5
Hi,

You still have a Linear Elastic node (where you set Young's Modulus etc.) to which Plasticity is a sub-node in the model tree. In Linear Elastic there is a coordinate system setting even if the plasticity is isotropic.

Regards,
Henrik
Hi, You still have a Linear Elastic node (where you set Young's Modulus etc.) to which Plasticity is a sub-node in the model tree. In Linear Elastic there is a coordinate system setting even if the plasticity is isotropic. Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 5 mars 2013, 16:57 UTC−5
I defined the cyclindrical coordinate system in definitions.

In the linear elastic option, the only coordinate system allowed in the global. There does not seem to be a way of changing this.

When I try to plot r, theta stresses in the cyclindrical system, all I get are the x & y stresses-even in the changed local system.

There has to be a way for results to see that I want cyclindrical stresses, but I cannot find it.

Thanks,

--
Arthur Rupel
I defined the cyclindrical coordinate system in definitions. In the linear elastic option, the only coordinate system allowed in the global. There does not seem to be a way of changing this. When I try to plot r, theta stresses in the cyclindrical system, all I get are the x & y stresses-even in the changed local system. There has to be a way for results to see that I want cyclindrical stresses, but I cannot find it. Thanks, -- Arthur Rupel

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 6 mars 2013, 01:28 UTC−5
Hi

When you define user coordinate systems, COMSOL defines the transformation matrix, and its inverse, so you can use these also directly (see the doc) COMSOL remains in the Cartesian x,y,z coordinate system, so you need to apply these transforms manually to the Results section, f you need to map back

--
Good luck
Ivar
Hi When you define user coordinate systems, COMSOL defines the transformation matrix, and its inverse, so you can use these also directly (see the doc) COMSOL remains in the Cartesian x,y,z coordinate system, so you need to apply these transforms manually to the Results section, f you need to map back -- Good luck Ivar

Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 6 mars 2013, 07:21 UTC−5

I defined the cyclindrical coordinate system in definitions.

In the linear elastic option, the only coordinate system allowed in the global. There does not seem to be a way of changing this.




The reason is that only coordinate systems which belong to the material frame can be selected for the material definition. So if you change the setting in the coordinate system from Spatial to Material, then it will show up.

Regards,
Henrik
[QUOTE] I defined the cyclindrical coordinate system in definitions. In the linear elastic option, the only coordinate system allowed in the global. There does not seem to be a way of changing this. [/QUOTE] The reason is that only coordinate systems which belong to the material frame can be selected for the material definition. So if you change the setting in the coordinate system from Spatial to Material, then it will show up. Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 6 mars 2013, 10:49 UTC−5
Thanks! It worked.
This may be something other people should note.

--
Arthur Rupel
Thanks! It worked. This may be something other people should note. -- Arthur Rupel

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 nov. 2013, 08:33 UTC−5

Hi,

This is the way to do it:

1. Add a cylindrical coordinate system with suitable axis directions under Definitions.
2. Select that system in the Linear Elastic feature.
3. Solve
4. Plot local stress tensor components ("Stress tensor, local coordinate system")

Regards,
Henrik



About the fourth step "Plot local stress tensor components ("Stress tensor, local coordinate system")", I got a question: when I choose the "Stress tensor(Spatial)", I got the same plots compare with the "Stress tensor, local coordinate system". But "Stress tensor(Spatial)" seems to be defined according to the Cartesian coordinate system. How can I get the stress tensor of Cylindrical system component?

Thanks,
Fan shuyu
[QUOTE] Hi, This is the way to do it: 1. Add a cylindrical coordinate system with suitable axis directions under Definitions. 2. Select that system in the Linear Elastic feature. 3. Solve 4. Plot local stress tensor components ("Stress tensor, local coordinate system") Regards, Henrik [/QUOTE] About the fourth step "Plot local stress tensor components ("Stress tensor, local coordinate system")", I got a question: when I choose the "Stress tensor(Spatial)", I got the same plots compare with the "Stress tensor, local coordinate system". But "Stress tensor(Spatial)" seems to be defined according to the Cartesian coordinate system. How can I get the stress tensor of Cylindrical system component? Thanks, Fan shuyu

Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 nov. 2013, 10:05 UTC−5


Hi,

This is the way to do it:

1. Add a cylindrical coordinate system with suitable axis directions under Definitions.
2. Select that system in the Linear Elastic feature.
3. Solve
4. Plot local stress tensor components ("Stress tensor, local coordinate system")

Regards,
Henrik



About the fourth step "Plot local stress tensor components ("Stress tensor, local coordinate system")", I got a question: when I choose the "Stress tensor(Spatial)", I got the same plots compare with the "Stress tensor, local coordinate system". But "Stress tensor(Spatial)" seems to be defined according to the Cartesian coordinate system. How can I get the stress tensor of Cylindrical system component?

Thanks,
Fan shuyu


Hi,

The "Stress tensor(Spatial)" is as you say oriented along the global Cartesian coordinate system, whereas the "Stress tensor, local coordinate system" has orientations determined by the coordinate system selection in the Linear Elastic node.

Note that "Step 3: Solve" is not strictly necessary if the material is isotropic, and you just want to change the display directions for "Stress tensor, local coordinate system". It is then sufficient to instead do an "Update solution" for the study.

Regards,
Henrik
[QUOTE] [QUOTE] Hi, This is the way to do it: 1. Add a cylindrical coordinate system with suitable axis directions under Definitions. 2. Select that system in the Linear Elastic feature. 3. Solve 4. Plot local stress tensor components ("Stress tensor, local coordinate system") Regards, Henrik [/QUOTE] About the fourth step "Plot local stress tensor components ("Stress tensor, local coordinate system")", I got a question: when I choose the "Stress tensor(Spatial)", I got the same plots compare with the "Stress tensor, local coordinate system". But "Stress tensor(Spatial)" seems to be defined according to the Cartesian coordinate system. How can I get the stress tensor of Cylindrical system component? Thanks, Fan shuyu [/QUOTE] Hi, The "Stress tensor(Spatial)" is as you say oriented along the global Cartesian coordinate system, whereas the "Stress tensor, local coordinate system" has orientations determined by the coordinate system selection in the Linear Elastic node. Note that "Step 3: Solve" is not strictly necessary if the material is isotropic, and you just want to change the display directions for "Stress tensor, local coordinate system". It is then sufficient to instead do an "Update solution" for the study. Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 28 nov. 2013, 00:33 UTC−5
Thanks very much !

Fan shuyu
Thanks very much ! Fan shuyu

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 22 nov. 2016, 00:21 UTC−5
Thanks for local coordinate selection tips . Its very useful !
Thanks for local coordinate selection tips . Its very useful !

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 22 nov. 2016, 00:22 UTC−5
It works ! Many thanks!
It works ! Many thanks!

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.