Sunteți pe pagina 1din 3

OPENFOAM - fvSchemes

Keyword Category of mathematical terms


interpolationSchemes Point-to-point interpolations of values
snGradSchemes Component of gradient normal to a cell face
gradSchemes Gradient ? \relax \special {t4ht=
divSchemes Divergence ? \relax \special {t4ht=
laplacianSchemes Laplacian ?2 \relax \special {t4ht=
timeScheme First and second time derivatives ?/ ?t,?2/?2t \relax \special
{t4ht=
fluxRequired Fields which require the generation of a flux
Sample fvSchemes
8 ddtSchemes
19 {
20 default Euler;
21 }
22
23 gradSchemes
24 {
25 default Gauss linear;
26 grad(p) Gauss linear;
27 }
28
29 divSchemes
30 {
31 default none;
32 div(phi,U) Gauss linear;
33 }
34
35 laplacianSchemes
36 {
37 default none;
38 laplacian(nu,U) Gauss linear corrected;
39 laplacian((1|A(U)),p) Gauss linear corrected;
40 }
41
42 interpolationSchemes
43 {
44 default linear;
45 interpolate(HbyA) linear;
46 }
47
48 snGradSchemes
49 {
50 default corrected;
51 }
52
53 fluxRequired
54 {
55 default no;
56 p ;
57 }
58
59
60 // *************************************************************************
//
Scheme Description
corrected Explicit non-orthogonal correction
uncorrected No non-orthogonal correction
limited ? \relax \special {t4ht= Limited non-orthogonal correction
bounded Bounded correction for positive scalars
fourth Fourth order
4.4.6 Time schemes
The first time derivative (?/?t \relax \special {t4ht=) terms are specified in
the ddtSchemes sub-dictionary. The discretisation scheme for each term can be se
lected from those listed in Table 4.11.
There is an off-centering coefficient ? \relax \special {t4ht= with the CrankNi
cholson scheme that blends it with the Euler scheme. A coefficient of ? = 1 \re
lax \special {t4ht= corresponds to pure CrankNicholson and and ? = 0 \relax \s
pecial {t4ht= corresponds to pure Euler. The blending coefficient can help to im
prove stability in cases where pure CrankNicholson are unstable.
Scheme Description
Euler First order, bounded, implicit
localEuler Local-time step, first order, bounded, implicit
CrankNicholson ? \relax \special {t4ht= Second order, bounded, implicit
backward Second order, implicit
steadyState Does not solve for time derivatives
Divergence schemes
Scheme Numerical behaviour
linear Second order, unbounded
skewLinear Second order, (more) unbounded, skewness correction
cubicCorrected Fourth order, unbounded
upwind First order, bounded
linearUpwind First/second order, bounded
QUICK First/second order, bounded
TVD schemes First/second order, bounded
SFCD Second order, bounded
NVD schemes First/second order, bounded
Laplacian schemes
corrected Unbounded, second order, conservative
uncorrected Bounded, first order, non-conservative
limited ? \relax \special {t4ht= Blend of corrected and uncorrected
bounded First order for bounded scalars
fourth Unbounded, fourth order, conservative
Gradient schemes
Gauss <interpolationScheme> Second order, Gaussian integration
leastSquares Second order, least squares
fourth Fourth order, least squares
cellLimited <gradScheme> Cell limited version of one of the above scheme
s
faceLimited <gradScheme> Face limited version of one of the above scheme
s
Surface normal gradient schemes
Scheme Description
corrected Explicit non-orthogonal correction
uncorrected No non-orthogonal correction
limited ? \relax \special {t4ht= Limited non-orthogonal correction
bounded Bounded correction for positive scalars
fourth Fourth order
Interpolation schemes
Schemes for vector fields
Centred schemes
linear Linear interpolation (central differencing)
cubicCorrection Cubic scheme
midPoint Linear interpolation with symmetric weighting
Upwinded convection schemes
upwind Upwind differencing
linearUpwind Linear upwind differencing
skewLinear Linear with skewness correction
filteredLinear2 Linear with filtering for high-frequency ringing
TVD schemes
limitedLinear limited linear differencing
vanLeer van Leer limiter
MUSCL MUSCL limiter
limitedCubic Cubic limiter
NVD schemes
SFCD Self-filtered central differencing
Gamma ? \relax \special {t4ht= Gamma differencing
The fluxRequired sub-dictionary lists the fields for which the flux is generated
in the application. For example, in many fluid dynamics applications the flux i
s generated after solving a pressure equation, in which case the fluxRequired su
b-dictionary would simply be entered as follows, p being the word identifier for
pressure:
fluxRequired
{
p;
}

S-ar putea să vă placă și