CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   stress analysis -Von Mises Theory (

watashiwa October 7, 2010 05:29

stress analysis -Von Mises Theory

I'm doing a 2D modelling stress analysis on a typical cylinder with internal pressure
Using blockMeshDict
-foamCalc components sigma

I would like to know whether I can obtain the result for Von Mises Theory. I have all the stress-->xx, yy, xy and so on but nor von mises.

In fact, in ANSYS can get the result for von mises.
Another way which I can find von mises is by taking the stress-> xx, yy and xy result as a function and put them into the von mises equation.

Not sure whether OpenFoam able to do this or not. Hope to hear from you guys if you have any idea on this.

watashiwa curious

watashiwa October 14, 2010 09:10

I have found out that the sigmaeq=von mises theory

I have counter check with ANSYS. not sure this is right or wrong? seems like not many people use OpenFOAM for stress analysis.

bigphil October 14, 2010 11:57


Yes SigmaEq is the vonMises stress.

Ye there probably aren't many people that use OpenFOAM for stress analysis, compared to the amount of people using it for CFD.
But there are a few groups that I know of that use it, in Ireland (where I am) and Croatia.


mturcios777 October 14, 2010 12:04

Looking at calculateStress.H, sigma_eq is calculated by


which is the Von-Mises stress according to:

What does the comparison of the results from Ansys tell you?

bigphil October 14, 2010 12:15

EDIT: misinterpreted the question.

watashiwa October 14, 2010 21:01

Hi ,

I did a comparison using ANSYS(classic) and OpenFOAM. The result seems to be opposite in ANSYS to what I am getting in OpenFOAM. However, both gives the same colour profile especially when I analyzed stress xx, yy, xy and von mises. Von mises in ANSYS shown identical pattern when compare with OpenFOAM.

I have verified my result thick wall cylinder in OpenFOAM with the thoeretical result which is correct but not for ANSYS. As I have mentioned the value obtained in ANsys seems not right but have the identical colour pattern. I will further investigate this.

watashiwa October 14, 2010 21:57

Looking at calculateStress.H, sigma_eq is calculated by

Hi Marco, how did you know the sigma_eq equation from the OpenFoam ? from which file and folder? is it require a command to execute in order to obtain the eq?

mturcios777 October 15, 2010 15:43

The file you want to look in is $FOAM_SOLVERS/stressAnalysis/solidDisplacementFoam/calculateStress.H

Checking out the source code is a great way to find out what is happening and how you can change it.

All times are GMT -4. The time now is 04:46.