![]() |
OGS
|
|
Set a mesh data field from a parameter value for specified material IDs.
The <set> element assigns values from a parameter to the specified mesh data field for elements/nodes belonging to the given material IDs.
Required elements:**
<parameter_name> - Name of the parameter providing the values
Optional elements:**
<mesh> - Name of the mesh (defaults to the first/bulk mesh)
Note on integration_point data:** the parameter is evaluated once per element, at the element centroid, and that single value is written to every integration point of the element. This is exact for the intended use case of a constant value across a material; a spatially varying parameter is not resolved per integration point.
Example:**
No additional info.