@xiezhuoyu Nice! 挺有意思
Description
28 Two-scheme Courant number based blending differencing scheme.
29
30 Similar to localBlended but uses a blending factor computed from the
31 face-based Courant number and the lower and upper Courant number limits
32 supplied:
33 \f[
34 weight = 1 - max(min((Co - Co1)/(Co2 - Co1), 1), 0)
35 \f]
36 where
37 \vartable
38 Co1 | Courant number below which scheme1 is used
39 Co2 | Courant number above which scheme2 is used
40 \endvartable
41
42 The weight applies to the first scheme and 1-weight to the second scheme.
43
44 Example of the CoBlended scheme specification using LUST for Courant numbers
45 less than 1 and linearUpwind for Courant numbers greater than 10:
46 \verbatim
47 divSchemes
48 {
49 .
50 .
51 div(phi,U) Gauss CoBlended 1 LUST grad(U) 10 linearUpwind grad(U);
52 .
53 .
54 }
55 \endverbatim
56
57 SourceFiles
58 CoBlended.C