Skip to content

Commit c21044a

Browse files
committed
corrected the auxiliary variable definition, golden data will need to be re-generated
1 parent 053c086 commit c21044a

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

src/f_stress_calc.m

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,8 @@
4040
S = Z1/R^3 - 4*LAM/Re8*Rdot/R - 6*LAM*intfnu*iDRe;
4141
% elastic shift Ze
4242
Ze = -0.5*(R^3/Ca)*(5 - Rst^4 - 4*Rst);
43-
% simplified ZdotNH equation
44-
ZdotSqNH = -1.5*(R^2*Rdot/Ca)*(5 - Rst^4 - 4*Rst) ...
45-
-2*(R^3*Rdot/Ca)*(Rst^4/R + Rst);
4643
% stress auxiliary variable integral derivative
47-
Z1dot = -(Z1 - Ze)/De + ZdotSqNH + (3*Rdot/R)*(Z1 - Ze) ...
48-
+4*(LAM - 1)/(Re8*De)*R^2*Rdot;
44+
Z1dot = -(Z1 - Ze)/De + 4*(LAM - 1)/(Re8*De)*R^2*Rdot;
4945
% stress integral derivative
5046
Sdot = Z1dot/R^3 - 3*Rdot/R^4*Z1 + 4*LAM/Re8*(Rdot/R)^2;
5147

@@ -59,14 +55,8 @@
5955
Ze = R^3 * (strainhard * (5 - Rst^4 - 4*Rst) + ...
6056
(2 * alphax / Ca) * (0.675 + 0.125 * Rst^8 + ...
6157
0.2 * Rst^5 + Rst^2 - 2 / Rst));
62-
% simplified ZdotSqNH equation with decimal fractions
63-
ZdotSqNH = (3 * R^2 * Rdot * Ze / R^3) + ...
64-
R^3 * (strainhard * ((4 * Rst^4 * Rdot / R) + (4 * Rst * Rdot)) - ...
65-
(2 * alphax / Ca) * ((2 * Rdot / (Rst * R)) + (Rst^8 * Rdot / R) + ...
66-
(Rst^5 * Rdot / R) + (Rst^2 * Rdot / R)));
6758
% stress auxiliary derivative
68-
Z1dot = -(Z1-Ze)/De + ZdotSqNH + (3*Rdot/R)*(Z1-Ze) + ...
69-
4*(LAM-1)/(Re8*De)*R^2*Rdot ;
59+
Z1dot = -(Z1-Ze)/De + 4*(LAM-1)/(Re8*De)*R^2*Rdot ;
7060
% stress integral derivative
7161
Sdot = Z1dot/R^3 - 3*Rdot/R^4*Z1 + 4*LAM/Re8*Rdot^2/R^2;
7262

0 commit comments

Comments
 (0)