added mesh dependent characteristic length as a numerical parameter needed for gradient and phase field problems on unstructured meshes
This commit is contained in:
parent
5d88a78206
commit
d594996e7c
|
@ -263,7 +263,7 @@ subroutine damage_gradient_microstructure(Tstar_v, Fe, ipc, ip, el)
|
|||
mappingConstitutive, &
|
||||
phase_damageInstance, &
|
||||
damageState
|
||||
use mesh, only: &
|
||||
use numerics, only: &
|
||||
charLength
|
||||
use math, only: &
|
||||
math_Mandel6to33, &
|
||||
|
|
|
@ -60,7 +60,8 @@ module numerics
|
|||
maxdRelax_RGC = 1.0e+0_pReal, & !< threshold of maximum relaxation vector increment (if exceed this then cutback)
|
||||
maxVolDiscr_RGC = 1.0e-5_pReal, & !< threshold of maximum volume discrepancy allowed
|
||||
volDiscrMod_RGC = 1.0e+12_pReal, & !< stiffness of RGC volume discrepancy (zero = without volume discrepancy constraint)
|
||||
volDiscrPow_RGC = 5.0_pReal !< powerlaw penalty for volume discrepancy
|
||||
volDiscrPow_RGC = 5.0_pReal, & !< powerlaw penalty for volume discrepancy
|
||||
charLength = 1.0_pReal !< characteristic length scale for gradient problems
|
||||
logical, protected, public :: &
|
||||
analyticJaco = .false., & !< use analytic Jacobian or perturbation, Default .false.: calculate Jacobian using perturbations
|
||||
usePingPong = .true., &
|
||||
|
@ -299,6 +300,11 @@ subroutine numerics_init
|
|||
case ('fixed_seed')
|
||||
fixedSeed = IO_intValue(line,positions,2_pInt)
|
||||
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
! gradient parameter
|
||||
case ('charlength')
|
||||
charLength = IO_floatValue(line,positions,2_pInt)
|
||||
|
||||
!--------------------------------------------------------------------------------------------------
|
||||
! spectral parameters
|
||||
#ifdef Spectral
|
||||
|
|
Loading…
Reference in New Issue