- bufferThe buffer this compute is writing to
C++ Type:std::string
Controllable:No
Description:The buffer this compute is writing to
PhaseMechanicsTest
DeGeus mechanics test material.
Creates a binary phase indicator tensor used in DeGeus-style mechanics tests. The tensor is initialized to zero everywhere, and a rectangular sub-region is set to 1.0 to represent the second phase. The selected sub-region depends on problem dimension:
3D: a block at the high end in
xandz, and the low end iny(sizes = 9).2D: a block at the high end in
xand the low end iny(sizes = 30).
Example Input File Syntax
Below, PhaseMechanicsTest seeds the phase field; elastic moduli are then mixed from the phase.
[TensorComputes]
[Initialize]
[phase]
type = PhaseMechanicsTest
buffer = phase
[]
[K]
type = ParsedCompute
buffer = K
expression = '(1-phase)*Ka + phase*Kb'
inputs = phase
constant_names = 'Ka Kb'
constant_expressions = '0.833 8.33'
[]
[mu]
type = ParsedCompute
buffer = mu
expression = '(1-phase)*mua + phase*mub'
inputs = phase
constant_names = 'mua mub'
constant_expressions = '0.386 3.86'
[]
[]
[]
!listing-endSee also: HyperElasticIsotropic, FFTMechanics.
Input Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:No
Description:Set the enabled status of the MooseObject.