Activating and Deactivating Material
In some applications, you may want to activate or deactivate material during an analysis. An example is when you want to model the addition of material during processes such as additive manufacturing or welding.
The Activation subnode can be used for this purpose. You enter an activation expression to determine whether material is active or not. When this Boolean expression is satisfied, the material is activated. Rather than truly adding or removing material, the Activation subnode alters the stiffness and density of the material to emulate this.
It is typically required that material is activated in a state of zero stress. Therefore, Activation activates material in a stress-free state by removing all elastic strains present at the point of activation.
Activation
When you want to be able to activate or deactivate one or several domains selected in a Linear Elastic Material node, add an Activation subnode. You then select the domains that you want to subject to Activation. The Activation expression field is used to define when material should be activated, and the Activation scale factor is used to reduce the elastic stiffness and density of the material which is not active.
In Figure 2-17 a case is shown where the material in domains 1, 2 and 3 is to be activated when an auxiliary sweep parameter para exceeds the value 1.5. The activation scale factor has a default value of 10-5.
The activation condition can be any type of expression or function. A common case is that it is a function of the temperature. The activation expression is evaluated in each Gauss point. This means that an element can be partially activated. If you want to force whole elements to be activated, you can for example put the activation expression inside the centroid() operator.
Figure 2-17: Settings for the Activation subnode.
Variables
Two useful variables are created when you add the Activation subnode. The variable isactive is set to ‘1’ when the activation condition is satisfied, and it is ‘0’ otherwise. The variable wasactive is used to record if the material has been active at any previous step in the analysis. This variable can be used to “lock” the state of activation, once it has been reached. Suppose that you want the material in the previous example to remain active even if para later becomes less than 1.5. The activation expression for an interface with the name solid could then be expressed as:
(para > 1.5) || solid.wasactive
Similarly, the variable wasinactive is used to record if the material has been inactive at any previous step in the analysis.
Domains that are not selected in any Activation subnode always have the isactive variable set to ‘1’.
Variable set to 1 if isactive has been 1 previously
Variable set to 1 if isactive has been 0 previously
Results
If you have performed an analysis in which only part of the material is active, it is useful to apply a Filter and only display the regions that actually are active; see Figure 2-18. When an Activation subnode is added in a Solid Mechanics or Membrane interface, such a Filter node is automatically added to the default stress plots.
Figure 2-18: Filter settings to only display active material.