-
Notifications
You must be signed in to change notification settings - Fork 84
[WIP] Add documentation #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
190fa5f
e9ee5fa
19a4bf5
ded75ba
3a31e8f
694e88c
bfc9fb6
63a9358
a0f4c66
22dbc60
f979f9b
26cac3c
980c332
0f79ed3
cb6c0d4
f763787
f5a9a4a
62dd0cd
ad7dab6
39ad150
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Add personal documentation and documentation from pull requests and the template config file
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,39 @@ | ||||||
--- | ||||||
title: Gradients and Limiters | ||||||
permalink: /docs_v7/Gradients-Limiters/ | ||||||
--- | ||||||
|
||||||
This page lists the gradient computation methods and the limiter functions in SU2 as well as their associated options, it is not meant as a detailed theory guide but some application guidance is given nonetheless. The options listed here do not apply to the high order DG solver.? | ||||||
|
||||||
--- | ||||||
|
||||||
|
||||||
--- | ||||||
|
||||||
## Gradient Computation ## | ||||||
The numerical method for the spatial gradients computation is specified by the `NUM_METHOD_GRAD` field. The list of availabel options is given below. | ||||||
suargi marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
`GREEN_GAUSS`: classic gradient reconstruction based on the Green-Gauss theorem. | ||||||
suargi marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
`LEAST_SQUARES`: Compute the gradient of a field using unweighted Least- Squares approximation. | ||||||
suargi marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
`WEIGHTED_LEAST_SQUARES`: Compute the gradient of a field using inverse-distance-weighted approximation. | ||||||
The default option is set to `WEIGHTED_LEAST_SQUARES`. | ||||||
|
||||||
The spatial gradients method used only for upwind reconstruction is pecified by the `NUM_METHOD_GRAD_RECON` field. | ||||||
suargi marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
Thin Shear Layer gradient reconstruction is always used for the construction of the Jacobian. | ||||||
Comment on lines
+20
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
That would be "fluxes" theory. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You are right in the sense that the Jacobian construction belongs to a "fluxes" section. However the discussion on which gradient computation method is used for its construction might belong to the "Gradients" section. |
||||||
|
||||||
## Limiters ## | ||||||
SU2 implements limiter functions to prevent the generation of oscillations when using upwind spatial discretisations. These are specified by the config field `SLOPE_LIMITER_FLOW`. The available options are: | ||||||
- `NONE` - No limiter | ||||||
- `VENKATAKRISHNAN` - Slope limiter using Venkatakrisnan method. | ||||||
- `VENKATAKRISHNAN_WANG` - Slope limiter using Venkatakrisnan method, eps based on solution. EPS is...? | ||||||
suargi marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- `BARTH_JESPERSEN` - Slope limiter using Barth-Jespersen method. | ||||||
- `VAN_ALBADA_EDGE` - Slope limiter using Van Albada method. | ||||||
- `SHARP_EDGES` - Slope limiter using sharp edges. | ||||||
- `WALL_DISTANCE` - Slope limiter using wall distance. | ||||||
suargi marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
The default option is set to `VENKATAKRISHNAN`. | ||||||
|
||||||
* \n DESCRIPTION: Coefficient for the limiter. DEFAULT value 0.5. Larger values decrease the extent of limiting, values approaching zero cause lower-order approximation to the solution. \ingroup Config */ | ||||||
addDoubleOption("VENKAT_LIMITER_COEFF", Venkat_LimiterCoeff, 0.05); | ||||||
|
||||||
|
||||||
The option `LIMITER_ITER` specifies the number of iterations afterFreeze the value of the limiter after a number of iterations. DEFAULT value $999999$. |
Uh oh!
There was an error while loading. Please reload this page.