SMS:Create Datasets: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{SMS_at_a_glance_create_data_sets|Heading===At a glance==}}
{{SMS_at_a_glance_create_data_sets|Heading===At a glance==}}


The Create Data Sets dialog is used to create functions for the entire mesh  or active scatter set. The option is in ''Data | Create Data Sets'' in both the Scatter and Mesh modules.
The Create Datasets dialog is used to create functions for the entire mesh  or active scatter set. The option is in ''Data | Create Datasets'' in both the Scatter and Mesh modules.


Each function that is toggled on will be created. All of the available  functions can be turned on by pushing All On. All of the functions can be turned off by pushing All Off. The Gravity can be set and is used in several of the function calculations. The functions that can be created include:
Each function that is toggled on will be created. All of the available  functions can be turned on by pushing All On. All of the functions can be turned off by pushing All Off. The Gravity can be set and is used in several of the function calculations. The functions that can be created include:


* '''Grid Spacing'''. Creates a function that gives the average distance between a node and its neighbors.
* '''Grid Spacing''' – Creates a function that gives the average distance between a node and its neighbors.


* '''Gradient'''. Creates a function that gives the gradient at each node. The gradient is calculated at each point by averaging the normals of the faces connected to that point.  For vertices in a TIN, this includes all the triangles connected to the vertex.  For nodes in a mesh, it includes all the elements connected to the node.  Currently no adjustment is made to account for the varied area of these faces.  The gradient is defined as the run divided by the rise.
* '''Gradient''' – Creates a function that gives the gradient at each node. The gradient is calculated at each point by averaging the normals of the faces connected to that point.  For vertices in a TIN, this includes all the triangles connected to the vertex.  For nodes in a mesh, it includes all the elements connected to the node.  Currently no adjustment is made to account for the varied area of these faces.  The gradient is defined as the run divided by the rise.


* '''Gradient Angle'''. Creates a function that gives the direction in degrees of the maximum gradient at each point.  (See above for the method used to compute the gradient.)
* '''Gradient Angle''' – Creates a function that gives the direction in degrees of the maximum gradient at each point.  (See above for the method used to compute the gradient.)


* '''Directional Derivative'''. Creates a vector function that gives the gradient (run/rise) in the x and y directions. (See above for the method used to compute the gradient.)
* '''Directional Derivative''' – Creates a vector function that gives the gradient (run/rise) in the x and y directions. (See above for the method used to compute the gradient.)


* '''Shallow Wavelength/Celerity'''. Creates two functions that calculate the celerity and wavelength at each node in shallow water. The celerity is calculated as: Celerity = (Gravity * Nodal Elevation)^0.5. The  Wavelength is: Wavelength = Period * Celerity.
* '''Shallow Wavelength/Celerity''' – Creates two functions that calculate the celerity and wavelength at each node in shallow water. The celerity is calculated as: Celerity = (Gravity * Nodal Elevation)^0.5. The  Wavelength is: Wavelength = Period * Celerity.


* '''Local Wavelength/Celerity'''. Creates two functions that calculate the celerity and wavelength at each node for any  depths.
* '''Local Wavelength/Celerity''' – Creates two functions that calculate the celerity and wavelength at each node for any  depths.


* '''Gravity Wave Courant Number'''. Creates a function that gives the courant number for each node given the Timestep. The equation is: Courant Number = Timestep * (Gravity * Nodal Elevation)^0.5 / Nodal Spacing.
* '''Gravity Wave Courant Number''' – Creates a function that gives the courant number for each node given the Timestep. The equation is: Courant Number = Timestep * (Gravity * Nodal Elevation)^0.5 / Nodal Spacing.


* '''Gravity Wave Timesteps'''. Creates a function that calculates the gravity wave timestep given the Courant Number. The equation is the same as for the Gravity Wave Courant Number, solved for the Courant  Number.
* '''Gravity Wave Timesteps''' – Creates a function that calculates the gravity wave timestep given the Courant Number. The equation is the same as for the Gravity Wave Courant Number, solved for the Courant  Number.


The final three functions can be created when the current numeric model is set to ADCIRC.
The final three functions can be created when the current numeric model is set to ADCIRC.


* '''Advective Courant Number'''. Creates a function that  calculates the courant number given the Timestep and a velocity function. The  velocity function can be selected by clicking on the Advective  Functions&ldots; button. This brings up a Select Data Set dialog that lists  the vector functions currently in memory. The courant cumber is calculated as:  Courant Number = Nodal Velocity Magnitude * Timestep / Nodal Spacing. This  option is disabled if no vector functions exist.
* '''Advective Courant Number''' – Creates a function that  calculates the courant number given the Timestep and a velocity function. The  velocity function can be selected by clicking on the Advective  Functions&ldots; button. This brings up a Select Dataset dialog that lists  the vector functions currently in memory. The courant cumber is calculated as:  Courant Number = Nodal Velocity Magnitude * Timestep / Nodal Spacing. This  option is disabled if no vector functions exist.


* '''Advective Timesteps'''. Creates a function that  calculates the timestep given the Courant Number and a velocity function. The  velocity function can be selected as described above in the description of the  Advective Courant Number. The equation is the same as for the Advective Courant  Number, solved for the timestep. This option is disabled if no vector functions  exist.
* '''Advective Timesteps''' – Creates a function that  calculates the timestep given the Courant Number and a velocity function. The  velocity function can be selected as described above in the description of the  Advective Courant Number. The equation is the same as for the Advective Courant  Number, solved for the timestep. This option is disabled if no vector functions  exist.


* '''Harmonic'''. Creates a scalar harmonic function and/or a  vector harmonic function. Pushing the Options button brings up the Harmonic  Options dialog. The name of the function(s) to be created can be set in the Name  fields. The frequencies to be used in creating the function can be chosen be  double-clicking on a frequency name shown in the Scalar Frequencies window or be  clicking on the name and by pushing Select. A frequency can be unselected by  double-clicking on the name again or by selecting it and pushing Unselect. The  time values that will be used in calculating the timesteps can be set in the  fields at the bottom of the dialog.
* '''Harmonic''' – Creates a scalar harmonic function and/or a  vector harmonic function. Pushing the Options button brings up the Harmonic  Options dialog. The name of the function(s) to be created can be set in the Name  fields. The frequencies to be used in creating the function can be chosen be  double-clicking on a frequency name shown in the Scalar Frequencies window or be  clicking on the name and by pushing Select. A frequency can be unselected by  double-clicking on the name again or by selecting it and pushing Unselect. The  time values that will be used in calculating the timesteps can be set in the  fields at the bottom of the dialog.


== Related Topics ==
== Related Topics ==
Line 33: Line 33:
* [[SMS:Scatter_Module#Data_Menus|Scatter Module Data Menu]]
* [[SMS:Scatter_Module#Data_Menus|Scatter Module Data Menu]]
* [[SMS:Particle_Module#Particle_Module_Menus|Particle Module Data Menu]]
* [[SMS:Particle_Module#Particle_Module_Menus|Particle Module Data Menu]]
* [[SMS:Particle_Module_Create_Data_Sets|Particle Module Create Data Sets]]
* [[SMS:Particle_Module_Create_Data_Sets|Particle Module Create Datasets]]


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


[[Category:SMS Scatter|Create Data Sets]]
[[Category:SMS Scatter|Create Datasets]]

Revision as of 22:52, 13 November 2012

Template:SMS at a glance create data sets

The Create Datasets dialog is used to create functions for the entire mesh or active scatter set. The option is in Data | Create Datasets in both the Scatter and Mesh modules.

Each function that is toggled on will be created. All of the available functions can be turned on by pushing All On. All of the functions can be turned off by pushing All Off. The Gravity can be set and is used in several of the function calculations. The functions that can be created include:

  • Grid Spacing – Creates a function that gives the average distance between a node and its neighbors.
  • Gradient – Creates a function that gives the gradient at each node. The gradient is calculated at each point by averaging the normals of the faces connected to that point. For vertices in a TIN, this includes all the triangles connected to the vertex. For nodes in a mesh, it includes all the elements connected to the node. Currently no adjustment is made to account for the varied area of these faces. The gradient is defined as the run divided by the rise.
  • Gradient Angle – Creates a function that gives the direction in degrees of the maximum gradient at each point. (See above for the method used to compute the gradient.)
  • Directional Derivative – Creates a vector function that gives the gradient (run/rise) in the x and y directions. (See above for the method used to compute the gradient.)
  • Shallow Wavelength/Celerity – Creates two functions that calculate the celerity and wavelength at each node in shallow water. The celerity is calculated as: Celerity = (Gravity * Nodal Elevation)^0.5. The Wavelength is: Wavelength = Period * Celerity.
  • Local Wavelength/Celerity – Creates two functions that calculate the celerity and wavelength at each node for any depths.
  • Gravity Wave Courant Number – Creates a function that gives the courant number for each node given the Timestep. The equation is: Courant Number = Timestep * (Gravity * Nodal Elevation)^0.5 / Nodal Spacing.
  • Gravity Wave Timesteps – Creates a function that calculates the gravity wave timestep given the Courant Number. The equation is the same as for the Gravity Wave Courant Number, solved for the Courant Number.

The final three functions can be created when the current numeric model is set to ADCIRC.

  • Advective Courant Number – Creates a function that calculates the courant number given the Timestep and a velocity function. The velocity function can be selected by clicking on the Advective Functions&ldots; button. This brings up a Select Dataset dialog that lists the vector functions currently in memory. The courant cumber is calculated as: Courant Number = Nodal Velocity Magnitude * Timestep / Nodal Spacing. This option is disabled if no vector functions exist.
  • Advective Timesteps – Creates a function that calculates the timestep given the Courant Number and a velocity function. The velocity function can be selected as described above in the description of the Advective Courant Number. The equation is the same as for the Advective Courant Number, solved for the timestep. This option is disabled if no vector functions exist.
  • Harmonic – Creates a scalar harmonic function and/or a vector harmonic function. Pushing the Options button brings up the Harmonic Options dialog. The name of the function(s) to be created can be set in the Name fields. The frequencies to be used in creating the function can be chosen be double-clicking on a frequency name shown in the Scalar Frequencies window or be clicking on the name and by pushing Select. A frequency can be unselected by double-clicking on the name again or by selecting it and pushing Unselect. The time values that will be used in calculating the timesteps can be set in the fields at the bottom of the dialog.

Related Topics