Is there a way to calculate strain rates (or even better, stresses) for simulations with the Shallow Shelf Approximation? The strain rate and stress solvers which have worked well for me for full Stokes simulations don’t work for SSA.
Solver 6
Equation = "Strain Rate"
Procedure = "ElmerIceSolvers" "ComputeStrainRate"
! this is just a dummy, hence no output is needed
!-----------------------------------------------------------------------
Variable = -nooutput "Eij"
Variable DOFs = 1
Exported Variable 1 = "StrainRate"
Exported Variable 1 DOFs = 5 !in 2D, 7 in 3D
! the name of the variable containing the flow solution (U,V,W,Pressure)
!-----------------------------------------------------------------------
Flow Solver Name = String "SSAVelocity"
! the name of the strain-rate solution (default is 'StrainRate')
StrainRate Variable Name = String "StrainRate"
Linear System Solver = Direct
Linear System Direct Method = umfpack
End
I don't think SSAVelocity is the name of the variable containing the flow solution
! the name of the variable containing the flow solution (U,V,W,Pressure)
!-----------------------------------------------------------------------
Flow Solver Name = String "SSAVelocity"
Thanks for the reply. Sorry, I forgot to mention that I am using "SSABasalSolver" rather than "SSASolver", which gives the velocity variable the name "SSAVelocity" rather than "SSAFlow". My understanding is that I need to use "SSABasalSolver" rather than "SSASolver" because I also need to solve for basal friction with my set up.
I have attached a sif file of my set up for solving the deviatoric stress and strain rate, as well as screenshots of the results. The results show a smooth velocity field, but incorrect dev. stress and strain rate solutions, with similar spatial patterns. Do you perhaps have an idea what might be going wrong in the solvers?
No I don't have a solution.
It bothers me that the flow solution is listed as U,V,W, and Pressure
but the SSAVelocity appears to be only U,V,W
! the name of the variable containing the flow solution (U,V,W,Pressure)
!-----------------------------------------------------------------------
Flow Solver Name = String "SSAVelocity"
I've done some more digging into the stress and strain rate fortran files and it seems that the pressure is only needed if solving for the Cauchy stress and seems to be read in separately to the flow solution anyway. My initial investigation suggests that the solvers are currently set up for 3D simulations, but not fully for 2D (3D simulations of stress and strain rate with full Stokes has worked perfectly for me previously). I'll update once I've had the chance to do some debugging.