Template:Advective Courant Number: Difference between revisions
No edit summary |
No edit summary |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
__NOINDEX__ | __NOINDEX__ | ||
===Advective | __NOTOC__ | ||
====Tool | ===Advective Courant Number=== | ||
<!--====Tool Description====--> | |||
The Courant number is a spatially varied (dataset) dimensionless value representing the time a particle stays in a cell of a mesh/grid. This is based on the size of the element and the speed of that particle. | The Courant number is a spatially varied (dataset) dimensionless value representing the time a particle stays in a cell of a mesh/grid. This is based on the size of the element and the speed of that particle. | ||
A Courant number of 1.0 implies that a particle(parcel or drop of water) would take one time step to flow through the element. | A Courant number of 1.0 implies that a particle(parcel or drop of water) would take one time step to flow through the element. | ||
Since cells/elements are not guaranteed to align with the flow field, this number is an approximation. | Since cells/elements are not guaranteed to align with the flow field, this number is an approximation. | ||
This | This dataset is computed at nodes so it uses the average size of the cells/elements attached to the node. (In the future we could have a cell based tool that computes the Courant number for the cell, but this is still an approximate number based on the direction.) | ||
The advective courant number makes use of a velocity dataset that represents the velocity magnitude field on the desired geometry. | The advective courant number makes use of a velocity dataset that represents the velocity magnitude field on the desired geometry. | ||
Line 11: | Line 12: | ||
:<math>{\displaystyle CourantNumber=TimeStep*Velocity/NodalSpacing}</math> | :<math>{\displaystyle CourantNumber=TimeStep*Velocity/NodalSpacing}</math> | ||
If the input velocity magnitude dataset is transient, the resulting | If the input velocity magnitude dataset is transient, the resulting <math>{\displaystyle CourantNumber}</math> dataset will also be transient. | ||
For numerical solvers that are Courant limited/controlled, any violation of the Courant condition, where the Courant number exceeds the allowable threshold could result in instability. | For numerical solvers that are Courant limited/controlled, any violation of the Courant condition, where the Courant number exceeds the allowable threshold could result in instability. | ||
Line 17: | Line 18: | ||
This tool is intended to assist with numerical engine stability, and possibly the selection of an appropriate time step size. | This tool is intended to assist with numerical engine stability, and possibly the selection of an appropriate time step size. | ||
====Input | ====Input Parameters==== | ||
*''Input dataset'' – Specify which velocity dataset will be used to represent particle velocity magnitude. | *''Input dataset'' – Specify which velocity dataset will be used to represent particle velocity magnitude. | ||
*''Use timestep'' – Enter the computational time step value. | *''Use timestep'' – Enter the computational time step value. | ||
====Output | ====Output Parameters==== | ||
*''Advective courant number dataset'' – Enter the name for the new dataset which will represent the Courant number. (Suggestion: specify a name that references the input. Typically this would include the time step used in the calculation. The velocity dataset used could be referenced. The geometry is not necessary because the dataset resides on that geometry.) | |||
====Current Location in | ====Current Location in Toolbox==== | ||
Datasets/ | Datasets/Advective Courant Number | ||
====Related Tools==== | ====Related Tools==== | ||
* [[ | * [[Advective Time Step Tool|Advective Time Step]] | ||
* [[ | * [[Gravity Waves Courant Number Tool|Gravity Waves Courant Number]] | ||
<noinclude>[[Category:Toolbox Datasets]]</noinclude> |
Latest revision as of 20:22, 25 October 2023
Advective Courant Number
The Courant number is a spatially varied (dataset) dimensionless value representing the time a particle stays in a cell of a mesh/grid. This is based on the size of the element and the speed of that particle. A Courant number of 1.0 implies that a particle(parcel or drop of water) would take one time step to flow through the element. Since cells/elements are not guaranteed to align with the flow field, this number is an approximation. This dataset is computed at nodes so it uses the average size of the cells/elements attached to the node. (In the future we could have a cell based tool that computes the Courant number for the cell, but this is still an approximate number based on the direction.)
The advective courant number makes use of a velocity dataset that represents the velocity magnitude field on the desired geometry. The tool computes the Courant number at each node in the selected geometry based on the specified time step.
If the input velocity magnitude dataset is transient, the resulting dataset will also be transient.
For numerical solvers that are Courant limited/controlled, any violation of the Courant condition, where the Courant number exceeds the allowable threshold could result in instability. Therefore, the maximum of the Courant number dataset gives an indication of the stability of this mesh for the specified time step parameter.
This tool is intended to assist with numerical engine stability, and possibly the selection of an appropriate time step size.
Input Parameters
- Input dataset – Specify which velocity dataset will be used to represent particle velocity magnitude.
- Use timestep – Enter the computational time step value.
Output Parameters
- Advective courant number dataset – Enter the name for the new dataset which will represent the Courant number. (Suggestion: specify a name that references the input. Typically this would include the time step used in the calculation. The velocity dataset used could be referenced. The geometry is not necessary because the dataset resides on that geometry.)
Current Location in Toolbox
Datasets/Advective Courant Number