SMS:Materials Data: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:SMS Materials Data.jpg|thumb|400 px|Example of the ''Assign Materials Properties'' dialog]]
[[File:SMS Materials Data.jpg|thumb|400 px|Example of the ''Materials Data'' dialog]]
Many of the data entities constructed and edited in SMS (i.e., elements, cells) have a material ID associated with them. This material ID is an index into a list of material types. Materials contain model specific parameters such as manning's roughness, or bed material grain size. A global list of material attributes is maintained and can be edited using the menu command [[SMS:Edit Menu|''Edit'' | '''Materials''']]. This command brings up the ''Assign Materials Properties'' dialog where each material is assigned an ID number. This dialog can be used to delete unused materials, create new materials, and assign a descriptive name, color, and pattern to a material. This general information is saved in the material file. The materials defined within the ''Materials Data'' dialog are available for all modules.
Many of the data entities constructed and edited in SMS (i.e., elements, cells) have a material ID associated with them. This material ID is an index into a list of material types. Materials contain model specific parameters such as Manning's roughness, or bed material grain size. A global list of material attributes is maintained and can be edited using the menu command [[SMS:Edit_Menu#Materials Data|''Edit'' | '''Materials Data''']]. This command brings up the ''Materials Data'' dialog where each material is assigned an ID number. This dialog can be used to delete unused materials, create new materials, and assign a descriptive name, color, and pattern to a material. This general information is saved in the material file. The materials defined within the ''Materials Data'' dialog are available for all modules.


== Dialog Description ==
== Dialog Description ==
The ''Assign Materials Properties'' dialog is accessible from the menu command [[SMS:Edit Menu|''Edit'' | '''Materials''']] or from model specific ''material properties'' windows (ex. [[SMS:ADH Material Properties|ADH]]), available in the model specific menu. The dialog is resizable by dragging on the window edges.
The ''Materials Data'' dialog is accessible from the menu command [[SMS:Edit_Menu#Materials Data|''Edit'' | '''Materials Data''']] or from model specific material properties windows (ex. [[SMS:ADH Material Properties|ADH]]), available in the model specific menu. The dialog is resizable by dragging on the window edges.


When a new mesh element or grid cell is created, the material is assigned to the new object based on the materials options in the [[SMS:Mesh Element Options|''Element Options'']] dialog.
When a new mesh element or grid cell is created, the material is assigned to the new object based on the materials options in the [[SMS:Mesh_Element_Options|''Element Options'' dialog]].


Model specific material properties such as Manning's <math>n</math> and Eddy viscosity are edited using commands available in the model specific menu.
Model specific material properties such as Manning's ''n'' and eddy viscosity are edited using commands available in the model specific menu.


[[File:PatternPicker.jpg|thumb|200 px|Example of the ''Pattern Attributes'' dialog.]]
=== Materials Spreadsheet ===
=== Materials Spreadsheet ===
[[File:PatternPiccker.jpg|thumb|Example of the ''Pattern Attributes'' dialog.]]
The materials spreadsheet contains three columns (''ID, Name,'' and ''Pattern'') for the defined materials. All IDs must be unique and the spreadsheet can be sorted by clicking on the column headings. The default "Disable" material cannot be edited (except the display pattern) and will always be at the top of the spreadsheet regardless of sorting. Each material is accompanied by a pattern button in the ''Pattern'' column. To select a pattern, click on the preview section (left side) of the button to open the ''Pattern Attributes'' window. To quickly edit only the color, click on the down arrow (right side) of the button, and make a selection in the pop up color palette.
The materials spreadsheet contains three columns (ID, Name, and Pattern) for the defined materials. All IDs must be unique and the spreadsheet can be sorted by clicking on the column headings. The default "Disable" material cannot be edited (except the display pattern) and will always be at the top of the spreadsheet regardless of sorting. Each material is accompanied by a pattern button in the Pattern column. To select a pattern, click on the preview section (left side) of the button to open the ''Pattern Attributes'' window. To quickly edit only the color, click on the down arrow (right side) of the button, and make a selection in the pop up color palette.


=== Buttons ===
=== Buttons ===
* '''<math>+</math>''' &ndash; Inserts a material into the spreadsheet with the lowest unique ID available and a default name and pattern.
; New : Inserts a material into the spreadsheet with the lowest unique ID available and a default name and pattern.
* '''<math>-</math>''' &ndash; Removes the currently selected material from the spreadsheet.
; Delete : Removes the currently selected material from the spreadsheet.
* ''Copy'' &ndash; Creates and inserts a copy of the currently selected material with the lowest unique ID available and a default "copy of" name.
; Copy : Creates and inserts a copy of the currently selected material with the lowest unique ID available and a default "copy of" name.


=== Legend ===
=== Legend ===
[[Image:SMS Materials Legend.jpg|thumb|200 px|Materials Display Options ''Legend Options'' dialog]]
[[File:SMS Materials Legend.jpg|thumb|235 px|The ''Legend Options'' dialog.]]
* ''Legend'' &ndash; Check box with the associated '''Options...''' button controls the display of a legend of the materials in the [[SMS:Graphics Window|Graphics Window]].
* ''Legend'' &ndash; Check box with the associated ''Options...'' button controls the display of a legend of the materials in the [[SMS:Graphics_Window|Graphics Window]].
* ''Options...'' &ndash; Opens the ''Legend Options'' dialog. The options for the legend are edited in the ''Legend Options'' dialog. These options include:
* '''Options...''' &ndash; Opens the ''Legend Options'' dialog. The options for the legend are edited in the ''Legend Option''s dialog. These options include:
** The name to be displayed on the legend.
<blockquote style="margin-top:0px; margin-bottom:0px;">
** The specification of where on the screen the legend will appear.
* ''Legend Title'' &ndash; The name to be displayed on the legend.
** The font to be used in the legend.
* ''Legend Location'' &ndash; The specification of where on the screen the legend will appear. Options include "Top Left Corner", "Bottom Left Corner", "Top Right Corner", "Bottom Right Corner", "Screen Location", and "World Location". The "Screen Location" and "World Location" will require the X location and ''Y location'' to be indicated. "World Location" also require the ''Z location'' to be specified.
** The size of each entry in the legend.
* ''Font'' &ndash; The font to be used in the legend. Clicking on the button will open the ''Font'' dialog. The down arrow can be used to specify a font color without opening the ''Font'' dialog.
Note: only active materials are included in the legend.
* ''Size'' &ndash; The size of each entry in the legend as indicated by ''Width'' and ''Height''
Note that only active materials are included in the legend.
</blockquote>


== Related Topics ==
== Related Topics ==
* [[SMS:Area Property Coverage|Area Property Coverage]]
* [[SMS:Area_Property_Coverage|Area Property Coverage]]
* [[SMS:Edit Menu|Edit Menu]]
* [[SMS:Edit_Menu|Edit Menu]]




{{Template:Navbox SMS}}
{{Template:Navbox SMS}}


[[Category:SMS Dialogs|M]]
[[Category:SMS Dialogs|Materials]]
[[Category:SMS Materials|M]]
[[Category:SMS Materials|Materials]]

Latest revision as of 21:40, 9 November 2017

Example of the Materials Data dialog

Many of the data entities constructed and edited in SMS (i.e., elements, cells) have a material ID associated with them. This material ID is an index into a list of material types. Materials contain model specific parameters such as Manning's roughness, or bed material grain size. A global list of material attributes is maintained and can be edited using the menu command Edit | Materials Data. This command brings up the Materials Data dialog where each material is assigned an ID number. This dialog can be used to delete unused materials, create new materials, and assign a descriptive name, color, and pattern to a material. This general information is saved in the material file. The materials defined within the Materials Data dialog are available for all modules.

Dialog Description

The Materials Data dialog is accessible from the menu command Edit | Materials Data or from model specific material properties windows (ex. ADH), available in the model specific menu. The dialog is resizable by dragging on the window edges.

When a new mesh element or grid cell is created, the material is assigned to the new object based on the materials options in the Element Options dialog.

Model specific material properties such as Manning's n and eddy viscosity are edited using commands available in the model specific menu.

Example of the Pattern Attributes dialog.

Materials Spreadsheet

The materials spreadsheet contains three columns (ID, Name, and Pattern) for the defined materials. All IDs must be unique and the spreadsheet can be sorted by clicking on the column headings. The default "Disable" material cannot be edited (except the display pattern) and will always be at the top of the spreadsheet regardless of sorting. Each material is accompanied by a pattern button in the Pattern column. To select a pattern, click on the preview section (left side) of the button to open the Pattern Attributes window. To quickly edit only the color, click on the down arrow (right side) of the button, and make a selection in the pop up color palette.

Buttons

New
Inserts a material into the spreadsheet with the lowest unique ID available and a default name and pattern.
Delete
Removes the currently selected material from the spreadsheet.
Copy
Creates and inserts a copy of the currently selected material with the lowest unique ID available and a default "copy of" name.

Legend

The Legend Options dialog.
  • Legend – Check box with the associated Options... button controls the display of a legend of the materials in the Graphics Window.
  • Options... – Opens the Legend Options dialog. The options for the legend are edited in the Legend Options dialog. These options include:
  • Legend Title – The name to be displayed on the legend.
  • Legend Location – The specification of where on the screen the legend will appear. Options include "Top Left Corner", "Bottom Left Corner", "Top Right Corner", "Bottom Right Corner", "Screen Location", and "World Location". The "Screen Location" and "World Location" will require the X location and Y location to be indicated. "World Location" also require the Z location to be specified.
  • Font – The font to be used in the legend. Clicking on the button will open the Font dialog. The down arrow can be used to specify a font color without opening the Font dialog.
  • Size – The size of each entry in the legend as indicated by Width and Height

Note that only active materials are included in the legend.

Related Topics