  | 
  
    DAMASK with grid solvers
    Revision: v2.0.3-2204-gdb1f2151
    
   The Düsseldorf Advanced Material Simulation Kit with Grid Solvers 
   | 
           
 | 
 
 
 
 
Go to the documentation of this file.    1 # 1 "/home/damask_user/GitLabCI_Pipeline_4301/DAMASK/src/source_thermal_externalheat.f90" 
    4 # 1 "/home/damask_user/GitLabCI_Pipeline_4301/DAMASK/src/source_thermal_externalheat.f90" 
   21   integer,           
dimension(:),   
allocatable :: &
 
   26     real(
preal), 
dimension(:), 
allocatable :: &
 
   50   integer :: ninstance,sourceoffset,nipcmyphase,p
 
   56     write(6,
'(a16,1x,i5,/)') 
'# instances:',ninstance
 
   60   allocate(
param(ninstance))
 
   75     prm%time       = 
config%getFloats(
'externalheat_time')
 
   76     prm%nIntervals = 
size(prm%time) - 1
 
   78     prm%heat_rate = 
config%getFloats(
'externalheat_rate',requiredsize = 
size(prm%time))
 
   95   integer, 
intent(in) :: &
 
  104   sourcestate(phase)%p(sourceoffset)%dotState(1,of) = 1.0_preal                                     
 
  114   integer, 
intent(in) :: &
 
  117   real(preal),  
intent(out) :: &
 
  122     sourceoffset, interval
 
  129   do interval = 1, prm%nIntervals                                                                   
 
  130     frac_time = (sourcestate(phase)%p(sourceoffset)%state(1,of) - prm%time(interval)) &
 
  131               / (prm%time(interval+1) - prm%time(interval))                                         
 
  132     if (     (frac_time <  0.0_preal .and. interval == 1) &
 
  133         .or. (frac_time >= 1.0_preal .and. interval == prm%nIntervals) &
 
  134         .or. (frac_time >= 0.0_preal .and. frac_time < 1.0_preal) ) &
 
  135       tdot = prm%heat_rate(interval  ) * (1.0_preal - frac_time) + &
 
  136              prm%heat_rate(interval+1) * frac_time                                                  
 
 
 
integer, dimension(:,:), allocatable, public, protected material_phaseat
phase ID of each element
 
subroutine, public source_thermal_externalheat_dotstate(phase, of)
rate of change of state
 
type(tpartitionedstringlist), dimension(:), allocatable, public, protected config_phase
 
integer, dimension(debug_maxntype+2), public, protected debug_level
 
character(len= *), parameter, public source_thermal_externalheat_label
 
Parses material config file, either solverJobName.materialConfig or material.config.
 
subroutine, public source_thermal_externalheat_getrateanditstangent(TDot, dTDot_dT, phase, of)
returns local heat generation rate
 
Reads in the material configuration from file.
 
integer, dimension(:), allocatable source_thermal_externalheat_instance
instance of thermal dissipation source mechanism
 
container type for internal constitutive parameters
 
setting precision for real and int type
 
integer, public, protected discretization_nip
 
@, public source_thermal_externalheat_id
 
integer, dimension(:), allocatable source_thermal_externalheat_offset
which source is my current thermal dissipation mechanism?
 
integer, parameter, public debug_levelbasic
 
integer, parameter preal
number with 15 significant digits, up to 1e+-307 (typically 64 bit)
 
Reading in and interpretating the debugging settings for the various modules.
 
subroutine, public material_allocatesourcestate(phase, of, NipcMyPhase, sizeState, sizeDotState, sizeDeltaState)
allocates the source state of a phase
 
material subroutine for variable heat source
 
integer, parameter, public debug_constitutive
stores debug level for constitutive part of DAMASK bitwise coded
 
integer(kind(source_undefined_id)), dimension(:,:), allocatable, public, protected phase_source
active sources mechanisms of each phase
 
integer, dimension(:), allocatable, public, protected phase_nsources
number of source mechanisms active in each phase
 
subroutine, public source_thermal_externalheat_init
module initialization
 
type(tparameters), dimension(:), allocatable param
containers of constitutive parameters (len Ninstance)