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
|
|
|
!--------------------------------------------------------------------------------------------------
|
2014-12-08 21:25:30 +05:30
|
|
|
module plastic_none
|
2014-03-09 02:20:31 +05:30
|
|
|
|
2012-07-03 16:46:38 +05:30
|
|
|
implicit none
|
|
|
|
private
|
2013-07-01 11:40:42 +05:30
|
|
|
|
2013-05-17 22:39:42 +05:30
|
|
|
public :: &
|
2014-12-08 21:25:30 +05:30
|
|
|
plastic_none_init
|
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
|
|
|
!--------------------------------------------------------------------------------------------------
|
2013-07-01 11:40:42 +05:30
|
|
|
!> @brief module initialization
|
|
|
|
!> @details reads in material parameters, allocates arrays, and does sanity checks
|
2013-05-17 22:39:42 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2014-12-08 21:25:30 +05:30
|
|
|
subroutine plastic_none_init
|
2013-12-19 14:19:47 +05:30
|
|
|
use debug, only: &
|
|
|
|
debug_level, &
|
|
|
|
debug_constitutive, &
|
|
|
|
debug_levelBasic
|
2019-04-18 19:00:54 +05:30
|
|
|
use material
|
2013-12-19 14:19:47 +05:30
|
|
|
|
2019-03-12 04:37:44 +05:30
|
|
|
integer :: &
|
2019-01-06 04:25:10 +05:30
|
|
|
Ninstance, &
|
|
|
|
p, &
|
|
|
|
NipcMyPhase
|
|
|
|
|
2019-01-05 14:36:37 +05:30
|
|
|
write(6,'(/,a)') ' <<<+- plastic_'//PLASTICITY_NONE_label//' init -+>>>'
|
2019-01-06 04:25:10 +05:30
|
|
|
|
2019-03-12 04:37:44 +05:30
|
|
|
Ninstance = count(phase_plasticity == PLASTICITY_NONE_ID)
|
|
|
|
if (iand(debug_level(debug_constitutive),debug_levelBasic) /= 0) &
|
2019-01-06 04:25:10 +05:30
|
|
|
write(6,'(a16,1x,i5,/)') '# instances:',Ninstance
|
|
|
|
|
2019-03-12 04:37:44 +05:30
|
|
|
do p = 1, size(phase_plasticity)
|
2019-01-06 04:25:10 +05:30
|
|
|
if (phase_plasticity(p) /= PLASTICITY_NONE_ID) cycle
|
2014-05-22 20:54:12 +05:30
|
|
|
|
2019-01-06 04:25:10 +05:30
|
|
|
NipcMyPhase = count(material_phase == p)
|
2019-03-12 04:37:44 +05:30
|
|
|
call material_allocatePlasticState(p,NipcMyPhase,0,0,0, &
|
|
|
|
0,0,0)
|
|
|
|
plasticState(p)%sizePostResults = 0
|
2014-07-02 17:57:39 +05:30
|
|
|
|
2019-01-06 04:25:10 +05:30
|
|
|
enddo
|
2014-07-02 17:57:39 +05:30
|
|
|
|
2014-12-08 21:25:30 +05:30
|
|
|
end subroutine plastic_none_init
|
2012-07-03 16:46:38 +05:30
|
|
|
|
2014-12-08 21:25:30 +05:30
|
|
|
end module plastic_none
|