mean free path and threshold stres don't have to be part of the state

This commit is contained in:
Martin Diehl 2018-11-29 08:56:57 +01:00
parent 28ec50a6a9
commit 64e9c7fb77
1 changed files with 36 additions and 44 deletions

View File

@ -113,9 +113,7 @@ module plastic_disloUCLA
real(pReal), pointer, dimension(:,:) :: & real(pReal), pointer, dimension(:,:) :: &
rhoEdge, & rhoEdge, &
rhoEdgeDip, & rhoEdgeDip, &
accshear_slip, & accshear_slip
mfp_slip, &
threshold_stress_slip
end type end type
type, private :: tDisloUCLAMicrostructure type, private :: tDisloUCLAMicrostructure
@ -507,8 +505,7 @@ plastic_disloUCLA_Noutput(phase_plasticityInstance(p)) = plastic_disloUCLA_Noutp
sizeDotState = int(size(['rhoEdge ','rhoEdgeDip ','accshearslip']),pInt) * ns sizeDotState = int(size(['rhoEdge ','rhoEdgeDip ','accshearslip']),pInt) * ns
sizeDeltaState = 0_pInt sizeDeltaState = 0_pInt
sizeState = sizeDotState & sizeState = sizeDotState
+ int(size(['meanFreePathSlip ','tauSlipThreshold ']),pInt) * ns
call material_allocatePlasticState(phase,NofMyPhase,sizeState,sizeDotState,0_pInt, & call material_allocatePlasticState(phase,NofMyPhase,sizeState,sizeDotState,0_pInt, &
ns,0_pInt,0_pInt) ns,0_pInt,0_pInt)
@ -555,12 +552,14 @@ plastic_disloUCLA_Noutput(phase_plasticityInstance(p)) = plastic_disloUCLA_Noutp
startIndex=1_pInt startIndex=1_pInt
endIndex=ns endIndex=ns
stt%rhoEdge=>plasticState(phase)%state(startIndex:endIndex,:) stt%rhoEdge=>plasticState(phase)%state(startIndex:endIndex,:)
stt%rhoEdge= spread(prm%rho0,2,NofMyPhase)
dotState(instance)%rhoEdge=>plasticState(phase)%dotState(startIndex:endIndex,:) dotState(instance)%rhoEdge=>plasticState(phase)%dotState(startIndex:endIndex,:)
plasticState(p)%aTolState(startIndex:endIndex) = prm%aTolRho plasticState(p)%aTolState(startIndex:endIndex) = prm%aTolRho
startIndex=endIndex+1_pInt startIndex=endIndex+1_pInt
endIndex=endIndex+ns endIndex=endIndex+ns
stt%rhoEdgeDip=>plasticState(phase)%state(startIndex:endIndex,:) stt%rhoEdgeDip=>plasticState(phase)%state(startIndex:endIndex,:)
stt%rhoEdgeDip= spread(prm%rhoDip0,2,NofMyPhase)
dotState(instance)%rhoEdgeDip=>plasticState(phase)%dotState(startIndex:endIndex,:) dotState(instance)%rhoEdgeDip=>plasticState(phase)%dotState(startIndex:endIndex,:)
plasticState(p)%aTolState(startIndex:endIndex) = prm%aTolRho plasticState(p)%aTolState(startIndex:endIndex) = prm%aTolRho
@ -570,13 +569,6 @@ plastic_disloUCLA_Noutput(phase_plasticityInstance(p)) = plastic_disloUCLA_Noutp
dotState(instance)%accshear_slip=>plasticState(phase)%dotState(startIndex:endIndex,:) dotState(instance)%accshear_slip=>plasticState(phase)%dotState(startIndex:endIndex,:)
plasticState(p)%aTolState(startIndex:endIndex) = 1e6_pReal plasticState(p)%aTolState(startIndex:endIndex) = 1e6_pReal
startIndex=endIndex+1_pInt
endIndex=endIndex+ns
stt%mfp_slip=>plasticState(phase)%state(startIndex:endIndex,:)
startIndex=endIndex+1_pInt
endIndex=endIndex+ns
stt%threshold_stress_slip=>plasticState(phase)%state(startIndex:endIndex,:)
allocate(mse%mfp(prm%totalNslip,NofMyPhase),source=0.0_pReal) allocate(mse%mfp(prm%totalNslip,NofMyPhase),source=0.0_pReal)
allocate(mse%threshold_stress(prm%totalNslip,NofMyPhase),source=0.0_pReal) allocate(mse%threshold_stress(prm%totalNslip,NofMyPhase),source=0.0_pReal)
@ -618,7 +610,7 @@ subroutine plastic_disloUCLA_stateInit(ph,instance)
tauSlipThreshold0 tauSlipThreshold0
tempState = 0.0_pReal tempState = 0.0_pReal
ns = plastic_disloUCLA_totalNslip(instance) ns = plastic_disloUCLA_totalNslip(instance)
associate(prm => param(instance)) associate(prm => param(instance),mse => microstructure(instance))
tempState(1_pInt:ns) = prm%rho0 tempState(1_pInt:ns) = prm%rho0
tempState(ns+1_pInt:2_pInt*ns) = prm%rhoDip0 tempState(ns+1_pInt:2_pInt*ns) = prm%rhoDip0
@ -632,16 +624,16 @@ subroutine plastic_disloUCLA_stateInit(ph,instance)
forall (i = 1_pInt:ns) & forall (i = 1_pInt:ns) &
MeanFreePathSlip0(i) = & MeanFreePathSlip0(i) = &
prm%grainSize/(1.0_pReal+invLambdaSlip0(i)*prm%grainSize) prm%grainSize/(1.0_pReal+invLambdaSlip0(i)*prm%grainSize)
tempState(3_pInt*ns+1:4_pInt*ns) = MeanFreePathSlip0
mse%mfp= spread(MeanFreePathSlip0,2,size(plasticState(ph)%state(1,:)))
forall (i = 1_pInt:ns) & forall (i = 1_pInt:ns) &
tauSlipThreshold0(i) = & tauSlipThreshold0(i) = &
lattice_mu(ph)*prm%burgers(i) * & lattice_mu(ph)*prm%burgers(i) * &
sqrt(dot_product((prm%rho0+prm%rhoDip0),plastic_disloUCLA_interactionMatrix_SlipSlip(i,1:ns,instance))) sqrt(dot_product((prm%rho0+prm%rhoDip0),plastic_disloUCLA_interactionMatrix_SlipSlip(i,1:ns,instance)))
tempState(4_pInt*ns+1:5_pInt*ns) = tauSlipThreshold0 mse%threshold_stress= spread(tauSlipThreshold0,2,size(plasticState(ph)%state(1,:)))
plasticState(ph)%state = spread(tempState,2,size(plasticState(ph)%state(1,:)))
end associate end associate
end subroutine plastic_disloUCLA_stateInit end subroutine plastic_disloUCLA_stateInit
@ -681,7 +673,7 @@ subroutine plastic_disloUCLA_microstructure(temperature,ipc,ip,el)
ns = plastic_disloUCLA_totalNslip(instance) ns = plastic_disloUCLA_totalNslip(instance)
associate(prm => param(instance), stt => state(instance)) associate(prm => param(instance), stt => state(instance),mse => microstructure(instance))
!* 1/mean free distance between 2 forest dislocations seen by a moving dislocation !* 1/mean free distance between 2 forest dislocations seen by a moving dislocation
forall (s = 1_pInt:ns) & forall (s = 1_pInt:ns) &
invLambdaSlip(s) = & invLambdaSlip(s) = &
@ -691,14 +683,14 @@ subroutine plastic_disloUCLA_microstructure(temperature,ipc,ip,el)
!* mean free path between 2 obstacles seen by a moving dislocation !* mean free path between 2 obstacles seen by a moving dislocation
do s = 1_pInt,ns do s = 1_pInt,ns
stt%mfp_slip(s,of) = & mse%mfp(s,of) = &
prm%grainSize/& prm%grainSize/&
(1.0_pReal+prm%grainSize*(invLambdaSlip(s))) (1.0_pReal+prm%grainSize*(invLambdaSlip(s)))
enddo enddo
!* threshold stress for dislocation motion !* threshold stress for dislocation motion
forall (s = 1_pInt:ns) & forall (s = 1_pInt:ns) &
stt%threshold_stress_slip(s,of) = & mse%threshold_stress(s,of) = &
lattice_mu(ph)*prm%burgers(s)*& lattice_mu(ph)*prm%burgers(s)*&
sqrt(dot_product((stt%rhoEdge(1_pInt:ns,of)+stt%rhoEdgeDip(1_pInt:ns,of)),& sqrt(dot_product((stt%rhoEdge(1_pInt:ns,of)+stt%rhoEdgeDip(1_pInt:ns,of)),&
plastic_disloUCLA_interactionMatrix_SlipSlip(s,1:ns,instance))) plastic_disloUCLA_interactionMatrix_SlipSlip(s,1:ns,instance)))
@ -811,7 +803,7 @@ subroutine plastic_disloUCLA_dotState(Mp,Temperature,ipc,ip,el)
ns = plastic_disloUCLA_totalNslip(instance) ns = plastic_disloUCLA_totalNslip(instance)
plasticState(ph)%dotState(:,of) = 0.0_pReal plasticState(ph)%dotState(:,of) = 0.0_pReal
associate(prm => param(instance), stt => state(instance)) associate(prm => param(instance), stt => state(instance),mse => microstructure(instance))
!* Dislocation density evolution !* Dislocation density evolution
call kinetics(Mp,Temperature,ph,instance,of, & call kinetics(Mp,Temperature,ph,instance,of, &
gdot_slip_pos,dgdot_dtauslip_pos,tau_slip_pos,gdot_slip_neg,dgdot_dtauslip_neg,tau_slip_neg) gdot_slip_pos,dgdot_dtauslip_pos,tau_slip_pos,gdot_slip_neg,dgdot_dtauslip_neg,tau_slip_neg)
@ -826,7 +818,7 @@ subroutine plastic_disloUCLA_dotState(Mp,Temperature,ipc,ip,el)
!* Multiplication !* Multiplication
DotRhoMultiplication = abs(dotState(instance)%accshear_slip(j,of))/& DotRhoMultiplication = abs(dotState(instance)%accshear_slip(j,of))/&
(prm%burgers(j)* & (prm%burgers(j)* &
stt%mfp_slip(j,of)) mse%mfp(j,of))
!* Dipole formation !* Dipole formation
EdgeDipMinDistance = & EdgeDipMinDistance = &
@ -837,7 +829,7 @@ subroutine plastic_disloUCLA_dotState(Mp,Temperature,ipc,ip,el)
EdgeDipDistance = & EdgeDipDistance = &
(3.0_pReal*lattice_mu(ph)*prm%burgers(j))/& (3.0_pReal*lattice_mu(ph)*prm%burgers(j))/&
(16.0_pReal*pi*abs(tau_slip_pos(j))) (16.0_pReal*pi*abs(tau_slip_pos(j)))
if (EdgeDipDistance>stt%mfp_slip(j,of)) EdgeDipDistance=stt%mfp_slip(j,of) if (EdgeDipDistance>mse%mfp(j,of)) EdgeDipDistance=mse%mfp(j,of)
if (EdgeDipDistance<EdgeDipMinDistance) EdgeDipDistance=EdgeDipMinDistance if (EdgeDipDistance<EdgeDipMinDistance) EdgeDipDistance=EdgeDipMinDistance
DotRhoDipFormation = & DotRhoDipFormation = &
((2.0_pReal*EdgeDipDistance)/prm%burgers(j))*& ((2.0_pReal*EdgeDipDistance)/prm%burgers(j))*&
@ -937,7 +929,7 @@ math_mul33xx33
!* Required output !* Required output
c = 0_pInt c = 0_pInt
postResults = 0.0_pReal postResults = 0.0_pReal
associate (prm => param(instance),stt =>state(instance)) associate (prm => param(instance),stt =>state(instance),mse => microstructure(instance))
do o = 1_pInt,plastic_disloUCLA_Noutput(instance) do o = 1_pInt,plastic_disloUCLA_Noutput(instance)
select case(plastic_disloUCLA_outputID(o,instance)) select case(plastic_disloUCLA_outputID(o,instance))
@ -973,7 +965,7 @@ math_mul33xx33
c = c + ns c = c + ns
case (mfp_ID) case (mfp_ID)
postResults(c+1_pInt:c+ns) =& postResults(c+1_pInt:c+ns) =&
stt%mfp_slip(1_pInt:ns, of) mse%mfp(1_pInt:ns, of)
c = c + ns c = c + ns
case (resolvedstress_ID) case (resolvedstress_ID)
j = 0_pInt j = 0_pInt
@ -987,7 +979,7 @@ math_mul33xx33
c = c + ns c = c + ns
case (thresholdstress_ID) case (thresholdstress_ID)
postResults(c+1_pInt:c+ns) = & postResults(c+1_pInt:c+ns) = &
stt%threshold_stress_slip(1_pInt:ns,of) mse%threshold_stress(1_pInt:ns,of)
c = c + ns c = c + ns
case (dipoleDistance_ID) case (dipoleDistance_ID)
j = 0_pInt j = 0_pInt
@ -1003,7 +995,7 @@ math_mul33xx33
postResults(c+j) = huge(1.0_pReal) postResults(c+j) = huge(1.0_pReal)
endif endif
postResults(c+j)=min(postResults(c+j),& postResults(c+j)=min(postResults(c+j),&
stt%mfp_slip(j,of)) mse%mfp(j,of))
enddo slipSystems2; enddo slipFamilies2 enddo slipSystems2; enddo slipFamilies2
c = c + ns c = c + ns
end select end select
@ -1050,7 +1042,7 @@ ph, instance,of
dvel_slip, vel_slip dvel_slip, vel_slip
real(pReal), intent(out), dimension(plastic_disloUCLA_totalNslip(instance)) :: & real(pReal), intent(out), dimension(plastic_disloUCLA_totalNslip(instance)) :: &
gdot_slip_pos,dgdot_dtauslip_pos,tau_slip_pos,gdot_slip_neg,dgdot_dtauslip_neg,tau_slip_neg gdot_slip_pos,dgdot_dtauslip_pos,tau_slip_pos,gdot_slip_neg,dgdot_dtauslip_neg,tau_slip_neg
associate(prm => param(instance), stt => state(instance)) associate(prm => param(instance), stt => state(instance),mse => microstructure(instance))
!* Shortened notation !* Shortened notation
ns = plastic_disloUCLA_totalNslip(instance) ns = plastic_disloUCLA_totalNslip(instance)
@ -1074,9 +1066,9 @@ ph, instance,of
tau_slip_pos(j) = math_mul33xx33(Mp,prm%nonSchmid_pos(1:3,1:3,j)) tau_slip_pos(j) = math_mul33xx33(Mp,prm%nonSchmid_pos(1:3,1:3,j))
tau_slip_neg(j) = math_mul33xx33(Mp,prm%nonSchmid_neg(1:3,1:3,j)) tau_slip_neg(j) = math_mul33xx33(Mp,prm%nonSchmid_neg(1:3,1:3,j))
significantPositiveTau: if((abs(tau_slip_pos(j))-stt%threshold_stress_slip(j, of)) > tol_math_check) then significantPositiveTau: if((abs(tau_slip_pos(j))-mse%threshold_stress(j, of)) > tol_math_check) then
!* Stress ratio !* Stress ratio
stressRatio = ((abs(tau_slip_pos(j))-stt%threshold_stress_slip(j, of))/& stressRatio = ((abs(tau_slip_pos(j))-mse%threshold_stress(j, of))/&
(plastic_disloUCLA_SolidSolutionStrength(instance)+& (plastic_disloUCLA_SolidSolutionStrength(instance)+&
prm%tau_Peierls(j))) prm%tau_Peierls(j)))
stressRatio_p = stressRatio** prm%p(j) stressRatio_p = stressRatio** prm%p(j)
@ -1084,13 +1076,13 @@ ph, instance,of
!* Shear rates due to slip !* Shear rates due to slip
vel_slip = 2.0_pReal*prm%burgers(j) & vel_slip = 2.0_pReal*prm%burgers(j) &
* prm%kink_height(j) * prm%omega(j) & * prm%kink_height(j) * prm%omega(j) &
* ( stt%mfp_slip(j,of) - prm%kink_width(j) ) & * ( mse%mfp(j,of) - prm%kink_width(j) ) &
* (tau_slip_pos(j) & * (tau_slip_pos(j) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) ) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) ) &
/ ( & / ( &
2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_pos(j) & 2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_pos(j) &
+ prm%omega(j) * plastic_disloUCLA_friction(f,instance) & + prm%omega(j) * plastic_disloUCLA_friction(f,instance) &
*(( stt%mfp_slip(j,of) - prm%kink_width(j) )**2.0_pReal) & *(( mse%mfp(j,of) - prm%kink_width(j) )**2.0_pReal) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) &
) )
@ -1102,7 +1094,7 @@ ph, instance,of
dvel_slip = & dvel_slip = &
2.0_pReal*prm%burgers(j) & 2.0_pReal*prm%burgers(j) &
* prm%kink_height(j) * prm%omega(j) & * prm%kink_height(j) * prm%omega(j) &
* ( stt%mfp_slip(j,of) - prm%kink_width(j) ) & * ( mse%mfp(j,of) - prm%kink_width(j) ) &
* ( & * ( &
(exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) & (exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) &
+ tau_slip_pos(j) & + tau_slip_pos(j) &
@ -1114,14 +1106,14 @@ ph, instance,of
) & ) &
* (2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_pos(j) & * (2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_pos(j) &
+ prm%omega(j) * plastic_disloUCLA_friction(f,instance) & + prm%omega(j) * plastic_disloUCLA_friction(f,instance) &
*(( stt%mfp_slip(j,of) - prm%kink_width(j) )**2.0_pReal) & *(( mse%mfp(j,of) - prm%kink_width(j) )**2.0_pReal) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) &
) & ) &
- (tau_slip_pos(j) & - (tau_slip_pos(j) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) ) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) ) &
* (2.0_pReal*(prm%burgers(j)**2.0_pReal) & * (2.0_pReal*(prm%burgers(j)**2.0_pReal) &
+ prm%omega(j) * plastic_disloUCLA_friction(f,instance) & + prm%omega(j) * plastic_disloUCLA_friction(f,instance) &
*(( stt%mfp_slip(j,of) - prm%kink_width(j) )**2.0_pReal) & *(( mse%mfp(j,of) - prm%kink_width(j) )**2.0_pReal) &
* (abs(exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)))& !deltaf(i) * (abs(exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)))& !deltaf(i)
*BoltzmannRatio*prm%p(j)& *BoltzmannRatio*prm%p(j)&
*prm%q(j)/& *prm%q(j)/&
@ -1133,7 +1125,7 @@ ph, instance,of
( & ( &
2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_pos(j) & 2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_pos(j) &
+ prm%omega(j) * plastic_disloUCLA_friction(f,instance) & + prm%omega(j) * plastic_disloUCLA_friction(f,instance) &
*(( stt%mfp_slip(j,of) - prm%kink_width(j) )**2.0_pReal) & *(( mse%mfp(j,of) - prm%kink_width(j) )**2.0_pReal) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) &
)**2.0_pReal & )**2.0_pReal &
) )
@ -1141,9 +1133,9 @@ ph, instance,of
dgdot_dtauslip_pos(j) = DotGamma0 * dvel_slip dgdot_dtauslip_pos(j) = DotGamma0 * dvel_slip
endif significantPositiveTau endif significantPositiveTau
significantNegativeTau: if((abs(tau_slip_neg(j))-stt%threshold_stress_slip(j, of)) > tol_math_check) then significantNegativeTau: if((abs(tau_slip_neg(j))-mse%threshold_stress(j, of)) > tol_math_check) then
!* Stress ratios !* Stress ratios
stressRatio = ((abs(tau_slip_neg(j))-stt%threshold_stress_slip(j, of))/& stressRatio = ((abs(tau_slip_neg(j))-mse%threshold_stress(j, of))/&
(plastic_disloUCLA_SolidSolutionStrength(instance)+& (plastic_disloUCLA_SolidSolutionStrength(instance)+&
prm%tau_Peierls(j))) prm%tau_Peierls(j)))
stressRatio_p = stressRatio** prm%p(j) stressRatio_p = stressRatio** prm%p(j)
@ -1151,13 +1143,13 @@ ph, instance,of
!* Shear rates due to slip !* Shear rates due to slip
vel_slip = 2.0_pReal*prm%burgers(j) & vel_slip = 2.0_pReal*prm%burgers(j) &
* prm%kink_height(j) * prm%omega(j) & * prm%kink_height(j) * prm%omega(j) &
* ( stt%mfp_slip(j,of) - prm%kink_width(j) ) & * ( mse%mfp(j,of) - prm%kink_width(j) ) &
* (tau_slip_neg(j) & * (tau_slip_neg(j) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) ) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) ) &
/ ( & / ( &
2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_neg(j) & 2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_neg(j) &
+ prm%omega(j) * plastic_disloUCLA_friction(f,instance) & + prm%omega(j) * plastic_disloUCLA_friction(f,instance) &
*(( stt%mfp_slip(j,of) - prm%kink_width(j) )**2.0_pReal) & *(( mse%mfp(j,of) - prm%kink_width(j) )**2.0_pReal) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) &
) )
@ -1168,7 +1160,7 @@ ph, instance,of
dvel_slip = & dvel_slip = &
2.0_pReal*prm%burgers(j) & 2.0_pReal*prm%burgers(j) &
* prm%kink_height(j) * prm%omega(j) & * prm%kink_height(j) * prm%omega(j) &
* ( stt%mfp_slip(j,of) - prm%kink_width(j) ) & * ( mse%mfp(j,of) - prm%kink_width(j) ) &
* ( & * ( &
(exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) & (exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) &
+ tau_slip_neg(j) & + tau_slip_neg(j) &
@ -1180,14 +1172,14 @@ ph, instance,of
) & ) &
* (2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_neg(j) & * (2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_neg(j) &
+ prm%omega(j) * plastic_disloUCLA_friction(f,instance) & + prm%omega(j) * plastic_disloUCLA_friction(f,instance) &
*(( stt%mfp_slip(j,of) - prm%kink_width(j) )**2.0_pReal) & *(( mse%mfp(j,of) - prm%kink_width(j) )**2.0_pReal) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) &
) & ) &
- (tau_slip_neg(j) & - (tau_slip_neg(j) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) ) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) ) &
* (2.0_pReal*(prm%burgers(j)**2.0_pReal) & * (2.0_pReal*(prm%burgers(j)**2.0_pReal) &
+ prm%omega(j) * plastic_disloUCLA_friction(f,instance) & + prm%omega(j) * plastic_disloUCLA_friction(f,instance) &
*(( stt%mfp_slip(j,of) - prm%kink_width(j) )**2.0_pReal) & *(( mse%mfp(j,of) - prm%kink_width(j) )**2.0_pReal) &
* (abs(exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)))& !deltaf(i) * (abs(exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)))& !deltaf(i)
*BoltzmannRatio*prm%p(j)& *BoltzmannRatio*prm%p(j)&
*prm%q(j)/& *prm%q(j)/&
@ -1199,7 +1191,7 @@ ph, instance,of
( & ( &
2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_neg(j) & 2.0_pReal*(prm%burgers(j)**2.0_pReal)*tau_slip_neg(j) &
+ prm%omega(j) * plastic_disloUCLA_friction(f,instance) & + prm%omega(j) * plastic_disloUCLA_friction(f,instance) &
*(( stt%mfp_slip(j,of) - prm%kink_width(j) )**2.0_pReal) & *(( mse%mfp(j,of) - prm%kink_width(j) )**2.0_pReal) &
* exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) & * exp(-BoltzmannRatio*(1-StressRatio_p) ** prm%q(j)) &
)**2.0_pReal & )**2.0_pReal &
) )