Checked computation of hardening matrix

In case of constitutive_pheno.f90, the computation can be optimized.
Mattex file slightly modified
This commit is contained in:
Luc Hantcherli 2007-10-16 12:20:58 +00:00
parent ad470f6ee0
commit 296f09d225
3 changed files with 13 additions and 7 deletions

View File

@ -720,7 +720,7 @@ do i=1,material_maxN
do k=1,constitutive_maxNstatevars do k=1,constitutive_maxNstatevars
!* Hardening type * !* Hardening type *
do l=1,constitutive_maxNstatevars do l=1,constitutive_maxNstatevars
if (crystal_SlipIntType(j,k,l)==l) then if (crystal_SlipIntType(j,k,i)==l) then
K_inter=material_SlipIntCoeff(l,i) K_inter=material_SlipIntCoeff(l,i)
else else
K_inter=0.0_pReal K_inter=0.0_pReal

View File

@ -691,10 +691,12 @@ do i=1,material_maxN
do k=1,constitutive_maxNstatevars do k=1,constitutive_maxNstatevars
!* Hardening type * !* Hardening type *
do l=1,constitutive_maxNstatevars do l=1,constitutive_maxNstatevars
if (crystal_SlipIntType(j,k,l)==l) then if (crystal_SlipIntType(j,k,i)==0) then
K_inter=material_SlipIntCoeff(l,i)
else
K_inter=0.0_pReal K_inter=0.0_pReal
elseif (crystal_SlipIntType(j,k,i)==1) then
K_inter=material_SlipIntCoeff(1,i)
else
K_inter=material_SlipIntCoeff(2,i)
endif endif
enddo enddo
constitutive_HardeningMatrix(j,k,i)=K_inter constitutive_HardeningMatrix(j,k,i)=K_inter

View File

@ -5,15 +5,19 @@ Nslip 12
C11 106.75e3 C11 106.75e3
C12 60.41e3 C12 60.41e3
C44 28.34e3 C44 28.34e3
# Parameters for phenomenological modeling
## Parameters for phenomenological modeling
# Unit in [MPa]
s0_slip 31.0 s0_slip 31.0
gdot0_slip 0.001 gdot0_slip 0.001
n_slip 20 n_slip 20
h0 75 h0 75
s_sat 63 s_sat 63
w0 2.25 w0 2.25
# Self and latent hardening coefficients
hardening_coefficients 1.0 1.4 hardening_coefficients 1.0 1.4
# Parameters for dislocation-based modeling
## Parameters for dislocation-based modeling
# Initial dislocation density [m]² # Initial dislocation density [m]²
rho0 1.5e11 rho0 1.5e11
# Burgers vector [m] # Burgers vector [m]