Skip to content

Commit 2f17399

Browse files
authored
Fix missing sqrt(3/2) factor in von Mises stress calculation (#478)
1 parent 80635ea commit 2f17399

File tree

37 files changed

+68
-68
lines changed

37 files changed

+68
-68
lines changed

Code/Source/solver/post.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ void tpost(Simulation* simulation, const mshType& lM, const int m, Array<double>
19781978
for (int l = 0; l < nsd; l++) {
19791979
sigma(l,l) = sigma(l,l) - trS;
19801980
}
1981-
double vmises = sqrt(mat_ddot(sigma, sigma, nsd));
1981+
double vmises = sqrt(1.5 * mat_ddot(sigma, sigma, nsd));
19821982
resl(0) = vmises;
19831983
sE(e) = sE(e) + w*vmises;
19841984
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:ceccd8ba7067b8b894ae6a192117af6c3659890a850dd951995620c30f5eaffd
2+
oid sha256:54ac116931be9b2a7d5024de8359f9ea09cae964e9bd34ba949f4bfb9312c8af
33
size 210065
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:ceccd8ba7067b8b894ae6a192117af6c3659890a850dd951995620c30f5eaffd
2+
oid sha256:54ac116931be9b2a7d5024de8359f9ea09cae964e9bd34ba949f4bfb9312c8af
33
size 210065
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:ceccd8ba7067b8b894ae6a192117af6c3659890a850dd951995620c30f5eaffd
2+
oid sha256:54ac116931be9b2a7d5024de8359f9ea09cae964e9bd34ba949f4bfb9312c8af
33
size 210065
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:ceccd8ba7067b8b894ae6a192117af6c3659890a850dd951995620c30f5eaffd
2+
oid sha256:54ac116931be9b2a7d5024de8359f9ea09cae964e9bd34ba949f4bfb9312c8af
33
size 210065
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:96844a0415f7d2d969d75bd9c204c5f555bbcf07e43883b23a8c4a4ecf83a045
3-
size 209837
2+
oid sha256:f194a3c364de0bf1a6cc79ba542306469e151de36275a06564022730c3f2c84c
3+
size 209865
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:e915a303f71e89e250b7b5c2e9302dd400ded6ff9f86172a22dda8e0e2120d69
3-
size 207848
2+
oid sha256:262ffb4d7b644280f15bb2e32c8e5fc5ddade7fa5cabd845c31fe3803e9ef0a0
3+
size 207864
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:7e3558f8a5f4511efe7b6f5a950c7f81b297c4897786f3152c6a87115bc21a74
3-
size 207636
2+
oid sha256:7dec176a56b610ed6b754f66e532a15ac1563b72c25198f49a0bc53adc6e4552
3+
size 207628
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:5f033f3c6bbc3840aa2c2ff438cdd27abe88bc5d97d1cbbbdedf85cc793c4f6e
3-
size 113071
2+
oid sha256:eb8401359d0c04de0b6b45ad93bc442019d61ee75611c81f7a1e35c9e8a906ab
3+
size 113079
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:92edf92042952f5bb16fa4eea63a09d215e4bdc8f07b2ab1739822a9eada819a
3-
size 248065
2+
oid sha256:803b2dc01693f15eed56872b763a8ca6341ae61ff4141ee8c537e7a8047804ca
3+
size 248069

0 commit comments

Comments
 (0)