GMS:Material Set: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Image:material_set.png|3D grid showing materials from a material set.|thumb|right|175px]]
[[File:material_set.png||thumb|right|175px|3D grid showing materials from a material set.]]
[[Image:material_set_in_project_explorer.png|A material set in the Project Explorer.|frame|right|125px]]
[[File:material_set_in_project_explorer.png|frame|right|125px|A material set in the Project Explorer.]]


A material set is similar to a [[GMS:Datasets|dataset]] but represents [[GMS:Materials|material]] values instead of data values. Material sets can exist with [[GMS:3D_Grid_Module|3D grids]] and [[GMS:3D_Mesh_Module|meshes]] and can be created manually or by running a [[GMS:T-PROGS|T-PROGS]] simulation. To create a material set manually, right-click on the 3D grid or mesh in the [[GMS:Project Explorer|Project Explorer]] and select the ''New Material Set'' command. Doing so will create a material set from the current cell or element materials. All Material sets are grouped under a Material Sets [[File:Material Sets folder icon.png]] folder in the Project Explorer. Although grid cells and mesh elements (as well as other objects) have materials associated with them from the start and these material assignments can be changed on a cell-by-cell (or element-by-element) basis, a material set is not available until specifically created. Clicking on a material set causes the set to be applied to the grid cells (or mesh elements) and the material assignments of the cells updated.
A material set is similar to a [[GMS:Datasets|dataset]] but represents [[GMS:Materials|material]] values instead of data values. Material sets can exist with [[GMS:3D_Grid_Module|3D grids]] and [[GMS:3D_Mesh_Module|meshes]] and can be created manually or by running a [[GMS:T-PROGS|T-PROGS]] simulation. To create a material set manually, right-click on the 3D grid or mesh in the [[GMS:Project Explorer|Project Explorer]] and select the ''New Material Set'' command. Doing so will create a material set from the current cell or element materials. All Material sets are grouped under a Material Sets [[File:Material Set Folder.svg|16 px]] folder in the Project Explorer. Although grid cells and mesh elements (as well as other objects) have materials associated with them from the start and these material assignments can be changed on a cell-by-cell (or element-by-element) basis, a material set is not available until specifically created. Clicking on a material set causes the set to be applied to the grid cells (or mesh elements) and the material assignments of the cells updated.


==Properties==
==Properties==
As with datasets, a material set has properties that can be viewed. Right-clicking on the material set in the Project Explorer and selecting the '''Properties''' command brings up the ''Material Set Info'' dialog. This dialog lists the materials in the material set, their frequency and percentage. A histogram is also drawn showing the frequency of the different materials in the set.
As with datasets, a material set has properties that can be viewed. Right-clicking on the material set in the Project Explorer and selecting the '''Properties...''' command brings up the ''Material Set Info'' dialog. This dialog lists the materials in the material set, their frequency, and their percentage. A histogram is also drawn showing the frequency of the different materials in the set.


==Viewing / Editing==
==Viewing / Editing==
Clicking the '''Edit Materials''' button in the ''Material Set Info'' dialog brings up a table showing the materials in the material set, similar to viewing values in a dataset. The materials can be edited and saved.
Clicking the '''Edit Values''' button in the ''Material Set Info'' dialog brings up the ''Edit Dataset Values'' dialog showing cells in the grid and their assigned material values. The materials ids assigned to the various cells can be edited and saved.


==Inactive Values==
==Inactive Values==
Line 16: Line 16:
TPROGS can generate multiple material sets as part of its solution. These are stored in a material set solution folder which is locked against editing. Material set solutions can be used to run a [[GMS:Stochastic Modeling|stochastic]] simulation in MODFLOW.
TPROGS can generate multiple material sets as part of its solution. These are stored in a material set solution folder which is locked against editing. Material set solutions can be used to run a [[GMS:Stochastic Modeling|stochastic]] simulation in MODFLOW.


[[File:MaterialSetInfo.jpg|thumb|none|left|400 px|An example of the ''Material Set Info'' dialog.]]
:[[File:MaterialSetInfo.jpg|thumb|none|left|400 px|An example of the ''Material Set Info'' dialog.]]





Latest revision as of 21:15, 16 March 2022

3D grid showing materials from a material set.
A material set in the Project Explorer.

A material set is similar to a dataset but represents material values instead of data values. Material sets can exist with 3D grids and meshes and can be created manually or by running a T-PROGS simulation. To create a material set manually, right-click on the 3D grid or mesh in the Project Explorer and select the New Material Set command. Doing so will create a material set from the current cell or element materials. All Material sets are grouped under a Material Sets Material Set Folder.svg folder in the Project Explorer. Although grid cells and mesh elements (as well as other objects) have materials associated with them from the start and these material assignments can be changed on a cell-by-cell (or element-by-element) basis, a material set is not available until specifically created. Clicking on a material set causes the set to be applied to the grid cells (or mesh elements) and the material assignments of the cells updated.

Properties

As with datasets, a material set has properties that can be viewed. Right-clicking on the material set in the Project Explorer and selecting the Properties... command brings up the Material Set Info dialog. This dialog lists the materials in the material set, their frequency, and their percentage. A histogram is also drawn showing the frequency of the different materials in the set.

Viewing / Editing

Clicking the Edit Values button in the Material Set Info dialog brings up the Edit Dataset Values dialog showing cells in the grid and their assigned material values. The materials ids assigned to the various cells can be edited and saved.

Inactive Values

As with datasets, material sets can include inactive values (starting at GMS version 8.0). Inactive materials are rendered using a material with ID -9999999.

Material Set Solutions

TPROGS can generate multiple material sets as part of its solution. These are stored in a material set solution folder which is locked against editing. Material set solutions can be used to run a stochastic simulation in MODFLOW.

An example of the Material Set Info dialog.