added version information to all files
do NOT edit text like this: $Id: constitutive_phenopowerlaw.f90 406 2009-08-31 14:13:10Z MPIE\f.roters $
This commit is contained in:
parent
bb0840ecb2
commit
2029b23f98
|
@ -1,3 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!##############################################################
|
!##############################################################
|
||||||
MODULE CPFEM
|
MODULE CPFEM
|
||||||
!##############################################################
|
!##############################################################
|
||||||
|
@ -42,6 +43,7 @@ subroutine CPFEM_init()
|
||||||
!$OMP CRITICAL (write2out)
|
!$OMP CRITICAL (write2out)
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- cpfem init -+>>>'
|
write(6,*) '<<<+- cpfem init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,'(a32,x,6(i5,x))') 'CPFEM_cs: ', shape(CPFEM_cs)
|
write(6,'(a32,x,6(i5,x))') 'CPFEM_cs: ', shape(CPFEM_cs)
|
||||||
write(6,'(a32,x,6(i5,x))') 'CPFEM_dcsdE: ', shape(CPFEM_dcsdE)
|
write(6,'(a32,x,6(i5,x))') 'CPFEM_dcsdE: ', shape(CPFEM_dcsdE)
|
||||||
|
@ -165,6 +167,8 @@ subroutine CPFEM_general(mode, ffn, ffn1, Temperature, dt, element, IP, cauchySt
|
||||||
|
|
||||||
! initialization step (three dimensional stress state check missing?)
|
! initialization step (three dimensional stress state check missing?)
|
||||||
if (.not. CPFEM_init_done) then
|
if (.not. CPFEM_init_done) then
|
||||||
|
call prec_init()
|
||||||
|
call IO_init()
|
||||||
call numerics_init()
|
call numerics_init()
|
||||||
call debug_init()
|
call debug_init()
|
||||||
call math_init()
|
call math_init()
|
||||||
|
@ -176,6 +180,7 @@ subroutine CPFEM_general(mode, ffn, ffn1, Temperature, dt, element, IP, cauchySt
|
||||||
call crystallite_init(Temperature) ! (have to) use temperature of first IP for whole model
|
call crystallite_init(Temperature) ! (have to) use temperature of first IP for whole model
|
||||||
call homogenization_init(Temperature)
|
call homogenization_init(Temperature)
|
||||||
call CPFEM_init()
|
call CPFEM_init()
|
||||||
|
call mpie_cpfem_init()
|
||||||
CPFEM_init_done = .true.
|
CPFEM_init_done = .true.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* 'Id'
|
||||||
!##############################################################
|
!##############################################################
|
||||||
MODULE FEsolving
|
MODULE FEsolving
|
||||||
!##############################################################
|
!##############################################################
|
||||||
|
@ -34,6 +34,7 @@
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- FEsolving init -+>>>'
|
write(6,*) '<<<+- FEsolving init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
||||||
if (IO_open_inputFile(fileunit)) then
|
if (IO_open_inputFile(fileunit)) then
|
||||||
|
|
13
code/IO.f90
13
code/IO.f90
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!##############################################################
|
!##############################################################
|
||||||
MODULE IO
|
MODULE IO
|
||||||
!##############################################################
|
!##############################################################
|
||||||
|
@ -24,7 +24,16 @@
|
||||||
! subroutine IO_warning(ID)
|
! subroutine IO_warning(ID)
|
||||||
!---------------------------
|
!---------------------------
|
||||||
|
|
||||||
|
!********************************************************************
|
||||||
|
! output version number
|
||||||
|
!********************************************************************
|
||||||
|
subroutine IO_init
|
||||||
|
write(6,*)
|
||||||
|
write(6,*) '<<<+- IO init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
|
write(6,*)
|
||||||
|
return
|
||||||
|
end subroutine
|
||||||
|
|
||||||
!********************************************************************
|
!********************************************************************
|
||||||
! open existing file to given unit
|
! open existing file to given unit
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!************************************
|
!************************************
|
||||||
!* Module: CONSTITUTIVE *
|
!* Module: CONSTITUTIVE *
|
||||||
!************************************
|
!************************************
|
||||||
|
@ -174,6 +174,7 @@ subroutine constitutive_init()
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- constitutive init -+>>>'
|
write(6,*) '<<<+- constitutive init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,'(a32,x,7(i5,x))') 'constitutive_state0: ', shape(constitutive_state0)
|
write(6,'(a32,x,7(i5,x))') 'constitutive_state0: ', shape(constitutive_state0)
|
||||||
write(6,'(a32,x,7(i5,x))') 'constitutive_partionedState0: ', shape(constitutive_partionedState0)
|
write(6,'(a32,x,7(i5,x))') 'constitutive_partionedState0: ', shape(constitutive_partionedState0)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!************************************
|
!************************************
|
||||||
!* Module: CONSTITUTIVE *
|
!* Module: CONSTITUTIVE *
|
||||||
!************************************
|
!************************************
|
||||||
|
@ -156,6 +156,7 @@ subroutine constitutive_dislobased_init(file)
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,'(a20,a20,a12)') '<<<+- constitutive_',constitutive_dislobased_label,' init -+>>>'
|
write(6,'(a20,a20,a12)') '<<<+- constitutive_',constitutive_dislobased_label,' init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
||||||
maxNinstance = count(phase_constitution == constitutive_dislobased_label)
|
maxNinstance = count(phase_constitution == constitutive_dislobased_label)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!*****************************************************
|
!*****************************************************
|
||||||
!* Module: CONSTITUTIVE_J2 *
|
!* Module: CONSTITUTIVE_J2 *
|
||||||
!*****************************************************
|
!*****************************************************
|
||||||
|
@ -76,6 +76,7 @@ subroutine constitutive_j2_init(file)
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,'(a20,a20,a12)') '<<<+- constitutive_',constitutive_j2_label,' init -+>>>'
|
write(6,'(a20,a20,a12)') '<<<+- constitutive_',constitutive_j2_label,' init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
||||||
maxNinstance = count(phase_constitution == constitutive_j2_label)
|
maxNinstance = count(phase_constitution == constitutive_j2_label)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!************************************
|
!************************************
|
||||||
!* Module: CONSTITUTIVE_NONLOCAL *
|
!* Module: CONSTITUTIVE_NONLOCAL *
|
||||||
!************************************
|
!************************************
|
||||||
|
@ -158,6 +158,7 @@ character(len=1024) line
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,'(a20,a20,a12)') '<<<+- constitutive_',constitutive_nonlocal_label,' init -+>>>'
|
write(6,'(a20,a20,a12)') '<<<+- constitutive_',constitutive_nonlocal_label,' init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
||||||
maxNinstance = count(phase_constitution == constitutive_nonlocal_label)
|
maxNinstance = count(phase_constitution == constitutive_nonlocal_label)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!***************************************
|
!***************************************
|
||||||
!* Module: CRYSTALLITE *
|
!* Module: CRYSTALLITE *
|
||||||
!***************************************
|
!***************************************
|
||||||
|
@ -165,6 +165,7 @@ subroutine crystallite_init(Temperature)
|
||||||
!$OMP CRITICAL (write2out)
|
!$OMP CRITICAL (write2out)
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- crystallite init -+>>>'
|
write(6,*) '<<<+- crystallite init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,'(a35,x,7(i5,x))') 'crystallite_Nresults: ', crystallite_Nresults
|
write(6,'(a35,x,7(i5,x))') 'crystallite_Nresults: ', crystallite_Nresults
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!##############################################################
|
!##############################################################
|
||||||
MODULE debug
|
MODULE debug
|
||||||
!##############################################################
|
!##############################################################
|
||||||
|
@ -34,6 +34,7 @@ subroutine debug_init()
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- debug init -+>>>'
|
write(6,*) '<<<+- debug init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
||||||
allocate(debug_StressLoopDistribution(nStress)) ; debug_StressLoopDistribution = 0_pInt
|
allocate(debug_StressLoopDistribution(nStress)) ; debug_StressLoopDistribution = 0_pInt
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!***************************************
|
!***************************************
|
||||||
!* Module: HOMOGENIZATION *
|
!* Module: HOMOGENIZATION *
|
||||||
!***************************************
|
!***************************************
|
||||||
|
@ -139,6 +139,7 @@ subroutine homogenization_init(Temperature)
|
||||||
!$OMP CRITICAL (write2out)
|
!$OMP CRITICAL (write2out)
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- homogenization init -+>>>'
|
write(6,*) '<<<+- homogenization init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,'(a32,x,7(i5,x))') 'homogenization_state0: ', shape(homogenization_state0)
|
write(6,'(a32,x,7(i5,x))') 'homogenization_state0: ', shape(homogenization_state0)
|
||||||
write(6,'(a32,x,7(i5,x))') 'homogenization_subState0: ', shape(homogenization_subState0)
|
write(6,'(a32,x,7(i5,x))') 'homogenization_subState0: ', shape(homogenization_subState0)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!*****************************************************
|
!*****************************************************
|
||||||
!* Module: HOMOGENIZATION_RGC *
|
!* Module: HOMOGENIZATION_RGC *
|
||||||
!*****************************************************
|
!*****************************************************
|
||||||
|
@ -55,6 +55,11 @@ subroutine homogenization_RGC_init(&
|
||||||
character(len=64) tag
|
character(len=64) tag
|
||||||
character(len=1024) line
|
character(len=1024) line
|
||||||
|
|
||||||
|
write(6,*)
|
||||||
|
write(6,'(a20,a20,a12)') '<<<+- homogenization',homogenization_RGC_label,' init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
|
write(6,*)
|
||||||
|
|
||||||
maxNinstance = count(homogenization_type == homogenization_RGC_label)
|
maxNinstance = count(homogenization_type == homogenization_RGC_label)
|
||||||
if (maxNinstance == 0) return
|
if (maxNinstance == 0) return
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!*****************************************************
|
!*****************************************************
|
||||||
!* Module: HOMOGENIZATION_ISOSTRAIN *
|
!* Module: HOMOGENIZATION_ISOSTRAIN *
|
||||||
!*****************************************************
|
!*****************************************************
|
||||||
|
@ -53,6 +53,11 @@ subroutine homogenization_isostrain_init(&
|
||||||
character(len=64) tag
|
character(len=64) tag
|
||||||
character(len=1024) line
|
character(len=1024) line
|
||||||
|
|
||||||
|
write(6,*)
|
||||||
|
write(6,'(a20,a20,a12)') '<<<+- homogenization',homogenization_isostrain_label,' init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
|
write(6,*)
|
||||||
|
|
||||||
maxNinstance = count(homogenization_type == homogenization_isostrain_label)
|
maxNinstance = count(homogenization_type == homogenization_isostrain_label)
|
||||||
if (maxNinstance == 0) return
|
if (maxNinstance == 0) return
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!************************************
|
!************************************
|
||||||
!* Module: LATTICE *
|
!* Module: LATTICE *
|
||||||
!************************************
|
!************************************
|
||||||
|
@ -654,6 +654,7 @@ subroutine lattice_init()
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- lattice init -+>>>'
|
write(6,*) '<<<+- lattice init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
||||||
if(.not. IO_open_file(fileunit,material_configFile)) call IO_error (100) ! corrupt config file
|
if(.not. IO_open_file(fileunit,material_configFile)) call IO_error (100) ! corrupt config file
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
# $Id$
|
||||||
import os,sys
|
import os,sys
|
||||||
|
|
||||||
sys.argv += ['' for i in range(2 - len(sys.argv))]
|
sys.argv += ['' for i in range(2 - len(sys.argv))]
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#####################
|
#####################
|
||||||
|
# $Id$
|
||||||
|
#####################
|
||||||
<homogenization>
|
<homogenization>
|
||||||
#####################
|
#####################
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!************************************
|
!************************************
|
||||||
!* Module: MATERIAL *
|
!* Module: MATERIAL *
|
||||||
!************************************
|
!************************************
|
||||||
|
@ -77,6 +77,7 @@ subroutine material_init()
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- material init -+>>>'
|
write(6,*) '<<<+- material init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
||||||
if(.not. IO_open_file(fileunit,material_configFile)) call IO_error (100) ! corrupt config file
|
if(.not. IO_open_file(fileunit,material_configFile)) call IO_error (100) ! corrupt config file
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!##############################################################
|
!##############################################################
|
||||||
MODULE math
|
MODULE math
|
||||||
!##############################################################
|
!##############################################################
|
||||||
|
@ -219,6 +219,11 @@ real(pReal), dimension(132,3), parameter :: sym = &
|
||||||
integer (pInt), dimension(1) :: randInit
|
integer (pInt), dimension(1) :: randInit
|
||||||
integer (pInt) seed
|
integer (pInt) seed
|
||||||
|
|
||||||
|
write(6,*)
|
||||||
|
write(6,*) '<<<+- math init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
|
write(6,*)
|
||||||
|
|
||||||
if (fixedSeed > 0_pInt) then
|
if (fixedSeed > 0_pInt) then
|
||||||
randInit = fixedSeed
|
randInit = fixedSeed
|
||||||
call random_seed(put=randInit)
|
call random_seed(put=randInit)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!##############################################################
|
!##############################################################
|
||||||
MODULE mesh
|
MODULE mesh
|
||||||
!##############################################################
|
!##############################################################
|
||||||
|
@ -195,6 +195,7 @@
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- mesh init -+>>>'
|
write(6,*) '<<<+- mesh init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
||||||
mesh_Nelems = 0_pInt
|
mesh_Nelems = 0_pInt
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!********************************************************************
|
!********************************************************************
|
||||||
! Material subroutine for MSC.Marc
|
! Material subroutine for MSC.Marc
|
||||||
!
|
!
|
||||||
|
@ -6,6 +7,7 @@
|
||||||
! L. Hantcherli,
|
! L. Hantcherli,
|
||||||
! W.A. Counts
|
! W.A. Counts
|
||||||
! D.D. Tjahjanto
|
! D.D. Tjahjanto
|
||||||
|
! C. Kords
|
||||||
!
|
!
|
||||||
! MPI fuer Eisenforschung, Duesseldorf
|
! MPI fuer Eisenforschung, Duesseldorf
|
||||||
!
|
!
|
||||||
|
@ -34,6 +36,14 @@
|
||||||
! - creeps: timinc
|
! - creeps: timinc
|
||||||
!********************************************************************
|
!********************************************************************
|
||||||
!
|
!
|
||||||
|
subroutine mpie_cpfem_init
|
||||||
|
write(6,*)
|
||||||
|
write(6,*) '<<<+- mpie_cpfem init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
|
write(6,*)
|
||||||
|
return
|
||||||
|
end subroutine
|
||||||
|
|
||||||
include "prec.f90" ! uses nothing else
|
include "prec.f90" ! uses nothing else
|
||||||
include "IO.f90" ! uses prec
|
include "IO.f90" ! uses prec
|
||||||
include "numerics.f90" ! uses prec, IO
|
include "numerics.f90" ! uses prec, IO
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
### $Id$ ###
|
||||||
### numerical parameters ###
|
### numerical parameters ###
|
||||||
|
|
||||||
relevantStrain 1.0e-9 # strain increment considered significant
|
relevantStrain 1.0e-9 # strain increment considered significant
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!##############################################################
|
!##############################################################
|
||||||
MODULE numerics
|
MODULE numerics
|
||||||
!##############################################################
|
!##############################################################
|
||||||
|
@ -66,6 +67,7 @@ subroutine numerics_init()
|
||||||
|
|
||||||
write(6,*)
|
write(6,*)
|
||||||
write(6,*) '<<<+- numerics init -+>>>'
|
write(6,*) '<<<+- numerics init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
write(6,*)
|
write(6,*)
|
||||||
|
|
||||||
! initialize all parameters with standard values
|
! initialize all parameters with standard values
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
!* $Id$
|
||||||
!##############################################################
|
!##############################################################
|
||||||
MODULE prec
|
MODULE prec
|
||||||
!##############################################################
|
!##############################################################
|
||||||
|
@ -14,4 +14,15 @@
|
||||||
real(pReal), dimension(:), pointer :: p
|
real(pReal), dimension(:), pointer :: p
|
||||||
end type p_vec
|
end type p_vec
|
||||||
|
|
||||||
|
CONTAINS
|
||||||
|
|
||||||
|
subroutine prec_init
|
||||||
|
write(6,*)
|
||||||
|
write(6,*) '<<<+- prec init -+>>>'
|
||||||
|
write(6,*) '$Id$'
|
||||||
|
write(6,*)
|
||||||
|
return
|
||||||
|
end subroutine
|
||||||
|
|
||||||
|
|
||||||
END MODULE prec
|
END MODULE prec
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
$Id$
|
||||||
Things to be implemented into the code
|
Things to be implemented into the code
|
||||||
|
|
||||||
# adopt CPFEM_GIA8.f90 to new scheme, use "select case" to switch between homogenization schemes in CPFEM.f90
|
# adopt CPFEM_GIA8.f90 to new scheme, use "select case" to switch between homogenization schemes in CPFEM.f90
|
||||||
|
|
Loading…
Reference in New Issue