Loading
overwrite initial mesh field data (with parameter values)
Setting integration point data based on Element IDs based parameter:
<overwrite_mesh_data>
<remove>
<field_name>cell_centres</field_name>
<mesh_item_type>cell</mesh_item_type>
</remove>
<set>
<field_name>sigma_ip</field_name>
<mesh_item_type>integration_point</mesh_item_type>
<material_ids>1 2</material_ids>
<parameter_name>sigma_bent</parameter_name>
</set>
<set>
<field_name>temperature</field_name>
<mesh_item_type>node</mesh_item_type>
<material_ids>1</material_ids>
<parameter_name>temp_inner1</parameter_name>
</set>
<take_original>
<field_name>temperature</field_name>
<mesh_item_type>node</mesh_item_type>
<material_ids>0</material_ids>
</take_original>
<set>
<field_name>temperature</field_name>
<mesh_item_type>node</mesh_item_type>
<material_ids>2</material_ids>
<parameter_name>temp_inner2</parameter_name>
</set>
<set>
<field_name>porosity_avg</field_name>
<mesh_item_type>cell</mesh_item_type>
<material_ids>0:2</material_ids>
<parameter_name>porosity_clay</parameter_name>
</set>
<set>
<field_name>p_left</field_name>
<mesh>Left</mesh>
<mesh_item_type>node</mesh_item_type>
<parameter_name>u_bc</parameter_name>
</set>
</overwrite_mesh_data>
Planned feature list:
- 3 data types: ip-data, cells, nodes
- level-based (ordered) overwrite
- original mesh data can be set for any level
- should work for any of the input meshes
- elements/ip points may have function type (ip coordinates/ cell center points)
- wildcards should be allowed for material id selection
- deleting fields
- Tests covering your feature were added?
- Any new feature or behaviour change was documented?
- Add this merge request to the changelog
Edited by Dmitri Naumov