checking with Philip
This commit is contained in:
parent
edcf97ea59
commit
5d09e98e02
|
@ -591,7 +591,7 @@ subroutine plastic_phenopowerlaw_LpAndItsTangent(Lp,dLp_dTstar99,Tstar_v,ipc,ip,
|
|||
Lp = Lp + gdot_twin*lattice_Stwin(1:3,1:3,index_myFamily+i,ph)
|
||||
|
||||
! Calculation of the tangent of Lp
|
||||
if (dNeq0(gdot_twin)) then !@ Philip: Needed? No division
|
||||
if (dNeq0(gdot_twin)) then
|
||||
dgdot_dtautwin = gdot_twin*prm%n_twin/tau_twin
|
||||
forall (k=1_pInt:3_pInt,l=1_pInt:3_pInt,m=1_pInt:3_pInt,n=1_pInt:3_pInt) &
|
||||
dLp_dTstar3333(k,l,m,n) = dLp_dTstar3333(k,l,m,n) + &
|
||||
|
@ -606,6 +606,7 @@ subroutine plastic_phenopowerlaw_LpAndItsTangent(Lp,dLp_dTstar99,Tstar_v,ipc,ip,
|
|||
end associate
|
||||
end subroutine plastic_phenopowerlaw_LpAndItsTangent
|
||||
|
||||
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
!> @brief calculates the rate of change of microstructure
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
|
@ -649,8 +650,9 @@ subroutine plastic_phenopowerlaw_dotState(Tstar_v,ipc,ip,el)
|
|||
|
||||
of = phasememberAt(ipc,ip,el)
|
||||
ph = material_phase(ipc,ip,el)
|
||||
associate( prm => param(phase_plasticityInstance(ph)), stt => state(phase_plasticityInstance(ph)), dst => &
|
||||
dotState(phase_plasticityInstance(ph)))
|
||||
associate( prm => param(phase_plasticityInstance(ph)), &
|
||||
stt => state(phase_plasticityInstance(ph)), &
|
||||
dst => dotState(phase_plasticityInstance(ph)))
|
||||
|
||||
dst%whole(:,of) = 0.0_pReal
|
||||
|
||||
|
@ -771,8 +773,9 @@ function plastic_phenopowerlaw_postResults(Tstar_v,ipc,ip,el)
|
|||
of = phasememberAt(ipc,ip,el)
|
||||
ph = material_phase(ipc,ip,el)
|
||||
|
||||
associate( prm => param(phase_plasticityInstance(ph)), stt => state(phase_plasticityInstance(ph)), dst => &
|
||||
dotState(phase_plasticityInstance(ph)))
|
||||
associate( prm => param(phase_plasticityInstance(ph)), &
|
||||
stt => state(phase_plasticityInstance(ph)), &
|
||||
dst => dotState(phase_plasticityInstance(ph)))
|
||||
|
||||
plastic_phenopowerlaw_postResults = 0.0_pReal
|
||||
c = 0_pInt
|
||||
|
@ -835,6 +838,7 @@ dotState(phase_plasticityInstance(ph)))
|
|||
plastic_phenopowerlaw_postResults(c+1_pInt:c+prm%totalNtwin) = &
|
||||
stt%accshear_twin(1:prm%totalNtwin,of)
|
||||
c = c + prm%totalNtwin
|
||||
|
||||
case (shearrate_twin_ID)
|
||||
j = 0_pInt
|
||||
twinFamilies1: do f = 1_pInt,size(prm%Ntwin,1)
|
||||
|
|
Loading…
Reference in New Issue