You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
params.addParam("friction_angle", "The friction angle for Mohr-Coulomb decomposition");
params.addParam("internal_cohesion", "The internal cohesion for Mohr-Coulomb decomposition");
params.addParam("compressive_strength", "The compressive strength for Hoek-Brown decomposition");
params.addParam("m", "The parameter m for Hoek-Brown decomposition");
params.addParam("s", "The parameter s for Hoek-Brown decomposition");
However, I found that if I define them in this way, I still need to explicitly specify them even if I do not need them in the calculation.
For instance, then using Mohr-Columb model, I do not need compressive_strength, m and s. But I still need to define them in material, otherwise I'll get an error.
[bulk]
type = ADGenericConstantMaterial
prop_names = 'K G E l ft Gc theta coh compressive_strength m s'
prop_values = '${K} ${G} ${E} ${l} ${ft} ${Gc} ${theta} ${coh} 1 1 1'
[]
[elasticity]
type = GeoSmallDeformationIsotropicElasticity
bulk_modulus = K
shear_modulus = G
phase_field = d
degradation_function = g
decomposition = MOHRCOLUMB
friction_angle = theta
internal_cohesion = coh
compressive_strength=compressive_strength # Actually not used
m=m # Actually not used
s=s # Actually not used
output_properties = 'elastic_strain psie_active psie_II psie_compressive'
outputs = exodus
[]
I'm wondering is it possible to define these material to have default values when they are declared as ADMaterialProperty in the header file?
Thanks for your patience!
The text was updated successfully, but these errors were encountered:
Reason
I would like to simulate the damaged behaviors of Geo-materials.
Design
I'm trying to add the concept of 'material strength' in classic phase field fracture model
Impact
It adds several additional material parameters depending on the failure model.
Details
Dear developers
I have a question about defining the additional parameters, in my header file, there are 5 additional parameters declared:
And in my source file, the are constructed as:
With:
However, I found that if I define them in this way, I still need to explicitly specify them even if I do not need them in the calculation.
For instance, then using Mohr-Columb model, I do not need compressive_strength, m and s. But I still need to define them in material, otherwise I'll get an error.
I'm wondering is it possible to define these material to have default values when they are declared as ADMaterialProperty in the header file?
Thanks for your patience!
The text was updated successfully, but these errors were encountered: