4--the finite volume method for convection-diffusion problems -2

Upload: abaziz-mousa-outlawzz

Post on 02-Jun-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    1/25

    2ndCentral differencing scheme

    5 nodes 20 nodes

    Pe=5 Pe=1.25

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    2/25

    The upwind differencing schemes

    Flow direction is considered when computing at interface

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    3/25

    The upwind differencing schemes

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    4/25

    The upwind differencing schemes

    , always positiveW E

    a a

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    5/25

    The upwind differencing schemes

    Example

    Case 1:

    Case 2:

    5 nodes

    5 nodes

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    6/25

    The upwind differencing schemes

    node: 1

    node: 5

    A

    1 2

    P

    E

    e

    5

    B

    4

    PW e

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    7/25

    The upwind differencing schemes

    Case 1

    For all nodes: 1,2,3,4,5

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    8/25

    The upwind differencing schemes

    Exact solution: smooth

    Good results

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    9/25

    The upwind differencing schemes

    Case 2

    Large dissipation

    Refine grid?

    1storder high order?

    Large gradient

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    10/25

    The upwind differencing schemes

    Extended to multi-dimensional problems

    The flow is not aligned with the grid linesFalse diffusion

    A pure convection process is considered

    or numerical diffusion (dissipation)

    Refine grid

    1storder high order?

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    11/25

    The hybrid differencing scheme

    Spalding(1972), hybrid: central + upwind scheme

    upwind scheme: transportive----convection problem

    central scheme: no direction----diffusion problem

    piecewise formulae based on the local Peclet number at the cell faces.

    Net flux through the west face:

    PW e E

    upwind

    central

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    12/25

    The hybrid differencing scheme

    General form of the discretised equation:

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    13/25

    The hybrid differencing scheme

    Example

    Case 1:

    Case 2:

    5 nodes

    25 nodes

    Pe=5

    Pe=1

    hybrid upwind

    hybrid central

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    14/25

    Remarks

    High Re flow

    Upwind or hybrid..schemes

    Exact solution: Large gradient

    Pe2

    good

    dissipation

    Under/overshoot

    Large dissipation

    2ndcentral

    1stupwind

    2ndcentral

    1stupwind

    may be fixed for the fluid

    should be small

    Low Re flow

    Pe

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    15/25

    Higher-order differencing schemes

    the 1stupwind scheme

    the hybrid scheme(1stupwind+2ndcentral)

    the power-law scheme(1stupwind+weighted)

    the 2ndcentral scheme unstable

    stable

    large numerical diffusion

    high-order

    Leonard(1979), QUICK scheme

    Quadratic UpstreamInterpolation for Convective Kinetics

    Quadratic upwind differencing scheme

    For high Pe

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    16/25

    Higher-order differencing schemes

    Leonard(1979), QUICK scheme

    Quadratic UpstreamInterpolation for Convective Kinetics

    Quadratic upwind differencing scheme

    ii-1i-2 i+1

    i-1/2 i+1/2

    i-1/2

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    17/25

    Higher-order differencing schemes

    2nd

    central3rd order for

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    18/25

    Higher-order differencing schemes

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    19/25

    Higher-order differencing schemes

    5 nodes

    Example

    For Node 1 or point P

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    20/25

    Higher-order differencing schemes

    P,1 E,2

    A ,w e

    W,0

    A , P, E

    2nd

    at A

    1stat A

    2ndcentral

    For consistency

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    21/25

    Higher-order differencing schemes

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    22/25

    Higher-order differencing schemes

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    23/25

    Assessment of the QUICK scheme

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    24/25

  • 8/10/2019 4--The Finite Volume Method for Convection-diffusion Problems -2

    25/25

    The power-law scheme

    The hybrid scheme in the example satisfies the transportiveness requirement

    Inadequacy: the accuracy is only first-order

    Patankar(1980), the power-law scheme better than the hybrid scheme

    Net flux through the west face:PW e E

    upwind