Template:Create Finite Difference Grid dialog: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
(create) |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
A new grid can be created by selecting the '''Create Grid''' command from the ''Grid'' menu. This command brings up the ''Create Grid'' dialog. The options in the dialog are as follows: | |||
*''Origin, Length, Rotation'' – By default, the rows and columns of [[GMS:2D Grid Module|2D grids]] are aligned with the x and y axes. However, grids can be rotated about the z-axis, if desired. Thus, the information needed to determine the overall size and location of the grid is the xy coordinates of the lower left corner of the grid (the lower left corner prior to rotation), the length of the grid in the x and y directions, and the rotation angle. The xy coordinates of the origin are entered in the Origin edit fields, the dimensions are entered in the Length fields, and the angle of rotation is entered in the field entitled Rotation about Z-axis. | |||
*''Bias'' – Several options are available for defining the number and locations of the cell boundaries. A bias can be defined which controls how the cell size varies from one cell to the next. For example, an X bias of 1.5 causes each cell to be 50% larger than the previous cell when moving in the positive x direction. | |||
*''Number of Cells'' – The total number of cells in each direction (number of rows or columns) can be defined by explicitly entering a number or by entering a base cell size and a limit cell size. The base and limit cell size options are used when a bias other than 1.0 is specified. The base cell size is the size of the first cell in the sequence. The cells are then generated by altering the cell size according to the bias until the limit cell size is reached. The remainder of the cells are constructed using the limit cell size. | |||
*''Type and Orientation'' – The controls at the bottom of the ''Create Grid'' dialog are used to define the type and orientation of the grid. The user can specify whether the grid should be a mesh-centered grid or a cell-centered grid. The orientation of the ij axes with respect to the XY axes can also be specified. | |||
:[[File:CreateFiniteDifferenceGrid.png|600px|thumb|none|The ''Create Finite Difference Grid'' dialog]]<noinclude>[[Category:GMS Dialogs]][[Category:Templates]]</noinclude> |
Latest revision as of 15:28, 24 October 2017
A new grid can be created by selecting the Create Grid command from the Grid menu. This command brings up the Create Grid dialog. The options in the dialog are as follows:
- Origin, Length, Rotation – By default, the rows and columns of 2D grids are aligned with the x and y axes. However, grids can be rotated about the z-axis, if desired. Thus, the information needed to determine the overall size and location of the grid is the xy coordinates of the lower left corner of the grid (the lower left corner prior to rotation), the length of the grid in the x and y directions, and the rotation angle. The xy coordinates of the origin are entered in the Origin edit fields, the dimensions are entered in the Length fields, and the angle of rotation is entered in the field entitled Rotation about Z-axis.
- Bias – Several options are available for defining the number and locations of the cell boundaries. A bias can be defined which controls how the cell size varies from one cell to the next. For example, an X bias of 1.5 causes each cell to be 50% larger than the previous cell when moving in the positive x direction.
- Number of Cells – The total number of cells in each direction (number of rows or columns) can be defined by explicitly entering a number or by entering a base cell size and a limit cell size. The base and limit cell size options are used when a bias other than 1.0 is specified. The base cell size is the size of the first cell in the sequence. The cells are then generated by altering the cell size according to the bias until the limit cell size is reached. The remainder of the cells are constructed using the limit cell size.
- Type and Orientation – The controls at the bottom of the Create Grid dialog are used to define the type and orientation of the grid. The user can specify whether the grid should be a mesh-centered grid or a cell-centered grid. The orientation of the ij axes with respect to the XY axes can also be specified.