68 integer(kind=kint),
parameter ::
elastic = 110000
72 integer(kind=kint),
parameter ::
eplastic = 120000
74 integer(kind=kint),
parameter ::
neohooke = 130000
81 integer(kind=kint),
parameter ::
norton = 150000
87 integer(kind=kint),
parameter ::
d3 = -1
91 integer(kind=kint),
parameter ::
shell = 3
144 character(len=DICT_KEY_LENGTH) ::
mc_yield =
'YIELD'
154 integer(kind=kint) :: ortho
155 real(kind=kreal) :: ee
156 real(kind=kreal) :: pp
157 real(kind=kreal) :: ee2
158 real(kind=kreal) :: g12
159 real(kind=kreal) :: g23
160 real(kind=kreal) :: g31
161 real(kind=kreal) :: angle
162 real(kind=kreal) :: rho
163 real(kind=kreal) :: alpha
164 real(kind=kreal) :: alpha_over_mu
165 real(kind=kreal) :: weight
170 integer(kind=kint) :: nlgeom_flag
171 integer(kind=kint) :: mtype
172 integer(kind=kint) :: nfstatus
173 character(len=HECMW_NAME_LEN) :: name
174 real(kind=kreal) :: variables(200)
175 integer(kind=kint) :: variables_i(200)
177 integer(kind=kint) :: totallyr
178 integer(kind=kint) :: cdsys_id
179 integer(kind=kint) :: n_table
180 real(kind=kreal),
pointer :: table(:)=>null()
181 type(dict_struct),
pointer :: dict
182 logical :: is_elem_rayleigh_damping
191 type(
tmaterial ),
intent(inout) :: material
193 material%nfstatus = 0
195 material%variables = 0.d0
196 material%variables_i = 0
197 material%totallyr = 0
198 material%is_elem_Rayleigh_damping = .false.
200 call dict_create( material%dict,
'INIT',
dict_null )
205 type(
tmaterial ),
intent(inout) :: material
206 if(
associated(material%table) )
deallocate( material%table )
207 if(
associated(material%dict) )
call dict_destroy( material%dict )
212 integer,
intent(in) :: nm
234 integer,
intent(in) :: npos
235 integer,
intent(in) :: cnum
236 integer :: i, idum,cdum,dd
239 if( npos<=0 .or. npos>6)
return
240 if( cnum<100000 .or. cnum>999999 )
return
252 integer,
intent(in) :: npos
253 integer,
intent(in) :: ival
254 integer,
intent(inout) :: mtype
255 integer :: i, idum,cdum, cdum1, dd
257 if( npos<=0 .or. npos>6 )
return
258 if( ival<0 .or. ival>9 )
return
263 cdum1 = cdum1+ idum*dd
267 cdum1 = cdum1 + ival*dd
273 cdum1 = cdum1+ idum*dd
282 integer,
intent(in) :: mtype
286 if( itype/=1 )
return
288 if( itype/=1 .and. itype/=2 )
return
294 integer,
intent(in) :: mtype
298 if( itype/=1 )
return
300 if( itype/=2 )
return
306 integer,
intent(in) :: mtype
310 if( itype/=1 )
return
312 if( itype/=2 )
return
318 integer,
intent(in) :: mtype
327 integer,
intent(in) :: mtype
336 integer,
intent(in) :: mtype
345 integer,
intent(in) :: mtype
354 integer,
intent(in) :: mtype
363 integer,
intent(in) :: mtype
374 integer,
intent(inout) :: mtype
381 integer,
intent(in) :: mtype
385 if( itype/=1 )
return
387 if( itype/=7 )
return
393 type(
tmaterial ),
intent(in) :: material
399 type(
tmaterial ),
intent(in) :: material
405 type(
tmaterial ),
intent(in) :: material
411 type(
tmaterial ),
intent(in) :: material
This module provides data structure table which would be dictionaried afterwards.
type(ttable), parameter dict_null
This module summarizes all information of material properties.
integer(kind=kint), parameter m_dashpot_axial
integer(kind=kint), parameter m_youngs
integer function getyieldfunction(mtype)
Get type of yield function.
integer(kind=kint), parameter m_plconst5
character(len=dict_key_length) mc_incomp_newtonian
integer(kind=kint), parameter m_plconst6
integer(kind=kint), parameter connector
integer(kind=kint), parameter mooneyrivlin
integer(kind=kint), parameter m_expansion
integer(kind=kint), parameter m_beam_radius
integer(kind=kint), parameter mooneyrivlin_aniso
integer(kind=kint), parameter planestress
integer(kind=kint), parameter m_spring_axial
character(len=dict_key_length) mc_viscoelastic
integer(kind=kint), parameter m_plconst4
integer(kind=kint), parameter viscoelastic
integer function getelastictype(mtype)
Get elastic type.
integer(kind=kint), parameter m_plconst1
logical function ishyperelastic(mtype)
If it is a hyperelastic material?
integer function getnumofdashpot_dparam(material)
Get number of dashpot_d parameters.
integer function gethardentype(mtype)
Get type of hardening.
character(len=dict_key_length) mc_themoexp
character(len=dict_key_length) mc_spring
character(len=dict_key_length) mc_norton
integer(kind=kint), parameter d3
integer(kind=kint), parameter planestrain
type(tmaterial), dimension(:), allocatable materials
integer(kind=kint), parameter m_dashpot_a_ndoffset
integer(kind=kint), parameter m_beam_angle6
integer function getnumofdashpot_aparam(material)
Get number of dashpot_a parameters.
integer(kind=kint), parameter m_plconst10
integer(kind=kint), parameter elastic
integer(kind=kint), parameter m_plconst2
integer(kind=kint), parameter arrudaboyce
integer(kind=kint), parameter shell
integer(kind=kint), parameter mn_orthoelastic
integer(kind=kint), parameter incomp_newtonian
integer(kind=kint), parameter m_beam_angle3
integer(kind=kint), parameter totallag
integer(kind=kint), parameter m_density
subroutine initializematls(nm)
Initializer.
integer(kind=kint), parameter m_beam_angle4
integer(kind=kint), parameter m_kinehard
integer function getnumofspring_aparam(material)
Get number of spring_a parameters.
subroutine setdigit(npos, ival, mtype)
Modify material type.
integer(kind=kint), parameter norton
integer(kind=kint), parameter m_plconst9
integer(kind=kint), parameter m_damping_rk
character(len=dict_key_length) mc_dashpot
integer(kind=kint), parameter m_poisson
subroutine finalizematerial(material)
Finalizer.
integer(kind=kint), parameter m_plconst8
integer(kind=kint), parameter m_damping_rm
integer(kind=kint), parameter axissymetric
integer(kind=kint), parameter m_beam_angle1
integer(kind=kint), parameter m_dashpot_dof
character(len=dict_key_length) mc_orthoexp
integer(kind=kint), parameter infinitesimal
character(len=dict_key_length) mc_yield
integer(kind=kint), parameter userelastic
logical function iscreep(mtype)
If it is a material with creep?
integer(kind=kint), parameter m_viscocity
integer(kind=kint), parameter neohooke
integer(kind=kint), parameter m_plconst7
subroutine finalizematls()
Finalizer.
logical function iskinematicharden(mtype)
If it is a kinematic hardening material?
integer(kind=kint), parameter usermaterial
integer function fetchdigit(npos, cnum)
Fetch material type.
integer(kind=kint), parameter m_beam_angle5
integer(kind=kint), parameter m_spring_dof
character(len=dict_key_length) mc_isoelastic
integer(kind=kint), parameter m_beam_angle2
logical function iselastic(mtype)
If it is an elastic material?
integer function getnumofspring_dparam(material)
Get number of spring_d parameters.
integer(kind=kint), parameter userhyperelastic
integer(kind=kint), parameter m_plconst3
character(len=dict_key_length) mc_orthoelastic
integer(kind=kint), parameter updatelag
subroutine ep2e(mtype)
Set material type of elastoplastic to elastic.
integer(kind=kint), parameter m_alpha_over_mu
integer(kind=kint), parameter m_spring_d_ndoffset
integer(kind=kint), parameter m_dashpot_d_ndoffset
logical function isviscoelastic(mtype)
If it is an viscoelastic material?
subroutine initmaterial(material)
Initializer.
integer(kind=kint), parameter m_spring_a_ndoffset
logical function iselastoplastic(mtype)
If it is an elastoplastic material?
integer(kind=kint), parameter eplastic
integer function getconnectortype(mtype)
Get type of connector.
This module provides data structure of dictionaried table list.
Structure to manage all material related data.