Closed phil-blain closed 4 years ago
stress_vp
using uvel,vvel
, which contains the converged velocities (u^k in Lemieux & Dupont 2020) zetaD
is computed at the start of anderson_solver
using {u,v}prev_k
, i.e. u^{k-1} in the paper, and this value is passed in stress_vp
to compute the stresses.sig1, sig2
in the code) are computed in principal_stress
using stressp,stressm,stress12
strength
in the code, P_p in the paper) is computed in icepack_ice_strength
, which is called at the beginning of imp_solver
, but does not depend on the velocity... maybe this is an error in the paper.So the full formula is
σ_ij = 2η(u^{k−1})\dot{ε}_ij(u^k) +
[ζ(u^{k−1}) − η(u^{k−1})]\dot{ε}_kk(u^k)δ_ij
− P(u^{k−1})δ_ij/2,
and here P is the replacement pressure, not the ice_strength (P_p).
The replacement pressure does depend on the velocity:
P = P_p Δ/Δ^*
The computations are already correct as P = P_p Δ/Δ^* = ζ * 2 Δ^* Δ / Δ^* = 2ζΔ
Note: