# Discussion Forum

## Postprocessing in cyclindrical coordinates

RSS feed   |   Turn on email notifications   |   12 Replies   Last post: November 22, 2016 5:22am UTC

Art

February 6, 2013 8:50pm UTC

Postprocessing in cyclindrical coordinates

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

Henrik Sönnerlind
COMSOL Employee
Sweden
Moderator

February 7, 2013 9:08am UTC in response to Art

Re: Postprocessing in cyclindrical coordinates

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

Art

February 21, 2013 7:49pm UTC in response to Henrik Sönnerlind

Re: Postprocessing in cyclindrical coordinates

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
Sweden
Moderator

February 21, 2013 10:05pm UTC in response to Art

Re: Postprocessing in cyclindrical coordinates

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

Art

March 5, 2013 9:57pm UTC in response to Henrik Sönnerlind

Re: Postprocessing in cyclindrical coordinates

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

March 6, 2013 6:28am UTC in response to Art

Re: Postprocessing in cyclindrical coordinates

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
Sweden
Moderator

March 6, 2013 12:21pm UTC in response to Art

Re: Postprocessing in cyclindrical coordinates

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

Art

March 6, 2013 3:49pm UTC in response to Henrik Sönnerlind

Re: Postprocessing in cyclindrical coordinates

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

--
Arthur Rupel

Fan Shuyu

November 27, 2013 1:33pm UTC in response to Henrik Sönnerlind

Re: Postprocessing in cyclindrical coordinates

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

Henrik Sönnerlind
COMSOL Employee
Sweden
Moderator

November 27, 2013 3:05pm UTC in response to Fan Shuyu

Re: Postprocessing in cyclindrical coordinates

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

Fan Shuyu

November 28, 2013 5:33am UTC in response to Henrik Sönnerlind

Re: Postprocessing in cyclindrical coordinates

Thanks very much !

Fan shuyu

Meena Singh

November 22, 2016 5:21am UTC in response to Fan Shuyu

Re: Postprocessing in cyclindrical coordinates

Thanks for local coordinate selection tips . Its very useful !

Meena Singh

November 22, 2016 5:22am UTC in response to Henrik Sönnerlind

Re: Postprocessing in cyclindrical coordinates

It works ! Many thanks!

Rules and guidelines