2013-05-17 22:39:42 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
!> @author Franz Roters, Max-Planck-Institut für Eisenforschung GmbH
|
|
|
|
!> @author Philip Eisenlohr, Max-Planck-Institut für Eisenforschung GmbH
|
2019-01-06 04:25:10 +05:30
|
|
|
!> @author Martin Diehl, Max-Planck-Institut für Eisenforschung GmbH
|
|
|
|
!> @brief Dummy plasticity for purely elastic material
|
2013-05-17 22:39:42 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2021-01-27 01:22:48 +05:30
|
|
|
submodule(phase:plastic) none
|
2013-05-17 22:39:42 +05:30
|
|
|
|
2013-07-01 11:40:42 +05:30
|
|
|
contains
|
2012-07-03 16:46:38 +05:30
|
|
|
|
2013-05-17 22:39:42 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2020-09-14 00:30:34 +05:30
|
|
|
!> @brief Perform module initialization.
|
2013-07-01 11:40:42 +05:30
|
|
|
!> @details reads in material parameters, allocates arrays, and does sanity checks
|
2013-05-17 22:39:42 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2020-09-14 00:30:34 +05:30
|
|
|
module function plastic_none_init() result(myPlasticity)
|
2013-12-19 14:19:47 +05:30
|
|
|
|
2020-08-15 19:32:10 +05:30
|
|
|
logical, dimension(:), allocatable :: myPlasticity
|
2020-02-01 02:07:18 +05:30
|
|
|
integer :: &
|
2021-02-16 20:36:09 +05:30
|
|
|
ph
|
2022-10-25 21:39:36 +05:30
|
|
|
type(tDict), pointer :: &
|
2021-02-13 17:37:35 +05:30
|
|
|
phases
|
2020-08-15 19:32:10 +05:30
|
|
|
|
|
|
|
|
2021-02-13 19:08:53 +05:30
|
|
|
myPlasticity = plastic_active('none')
|
2021-11-15 23:05:44 +05:30
|
|
|
if (count(myPlasticity) == 0) return
|
2020-02-14 13:30:14 +05:30
|
|
|
|
2021-11-15 23:05:44 +05:30
|
|
|
print'(/,1x,a)', '<<<+- phase:mechanical:plastic:none init -+>>>'
|
2023-08-29 07:11:48 +05:30
|
|
|
print'(/,1x,a,1x,i0)', '# phases:',count(myPlasticity); flush(IO_STDOUT)
|
2020-09-14 00:30:34 +05:30
|
|
|
|
2023-01-18 23:20:01 +05:30
|
|
|
|
2022-10-25 21:39:36 +05:30
|
|
|
phases => config_material%get_dict('phase')
|
2023-06-23 00:13:55 +05:30
|
|
|
|
2021-02-16 20:36:09 +05:30
|
|
|
do ph = 1, phases%length
|
2021-11-15 23:05:44 +05:30
|
|
|
if (.not. myPlasticity(ph)) cycle
|
2023-06-23 00:13:55 +05:30
|
|
|
|
|
|
|
print'(/,1x,a,1x,i0,a)', 'phase',ph,': '//phases%key(ph)
|
|
|
|
|
2023-01-23 13:01:59 +05:30
|
|
|
call phase_allocateState(plasticState(ph),count(material_ID_phase == ph),0,0,0)
|
2021-11-15 23:05:44 +05:30
|
|
|
end do
|
2014-07-02 17:57:39 +05:30
|
|
|
|
2020-08-15 19:32:10 +05:30
|
|
|
end function plastic_none_init
|
|
|
|
|
2012-07-03 16:46:38 +05:30
|
|
|
|
2021-01-26 05:41:32 +05:30
|
|
|
end submodule none
|