finite volume, conservative projection-type methods for low

36
Conservative Projection-Type Methods S. Vater FV Methods for Geophysical Problems Well Balanced Finite Volume Methods Conservative Projection-Type Methods A New Projection Method Governing Equations Formulation of the Scheme Stability of the Second Projection Numerical Results Summary Finite Volume, Conservative Projection-Type Methods for Low Speed Compressible Flows Stefan Vater 1 Rupert Klein 1,2 Nicola Botta 2 Ann S. Almgren 3 1 Dept of Mathematics and Computer Science, Free University Berlin 2 Potsdam Institute for Climate Impact Research 3 Lawrence Berkeley National Laboratory SIAM GS05, June 7th 2005

Upload: others

Post on 11-Feb-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Finite Volume, ConservativeProjection-Type Methods for

Low Speed Compressible Flows

Stefan Vater1 Rupert Klein1,2 Nicola Botta2

Ann S. Almgren3

1Dept of Mathematics and Computer Science, Free University Berlin

2Potsdam Institute for Climate Impact Research

3Lawrence Berkeley National Laboratory

SIAM GS05, June 7th 2005

Page 2: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Outline

1 Finite Volume Methods for Geophysical ProblemsWell Balanced Finite Volume MethodsConservative Projection-Type Methods

2 A New Projection MethodGoverning EquationsFormulation of the SchemeStability of the Second ProjectionNumerical Results

Page 3: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Accumulation of Unbalanced Truncation Errors

Spurious winds over steep orography:

atmosphere at rest3000 m mountain3D compressibleinviscid flow eqns.standard finite volumescheme128× 32 grid cellsvelocities after 60 min.

Various finite difference / finite volume schemes producecomparable results.

Page 4: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Archimedes’ Principle

In Botta et al. [2004] a general applicable solutionfor this problem has been proposedImplementation in the context of FV methods:

ci

∂ci

1

|ci|

∂ci

Pi n dSP(0)

i( )− .

P(0)

i

P

zP

(0)

i∂

∂z−ρ

i

(0)=

1

|ci|

∂ci

Pi n dS

Page 5: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Stable Layer Intersecting Steep OrographyInversion

N = N0

N = N1

N = N2

1e-04

1e-03

1e-02

1e-01

1e+00

0 5 10 15 20 25 30

vert

ical

vel

oci

ty m

ax.

no

rm [

m/s

]

time [min]

64 x 32, N0, N1, N2 = 0.01, 0.01, 0.01 64 x 32, N0, N1, N2 = 0.01, 0.015, 0.01 64 x 32, N0, N1, N2 = 0.01, 0.02, 0.01 64 x 32, N0, N1, N2 = 0.02, 0.02, 0.02

1e-04

1e-03

1e-02

1e-01

1e+00

0 5 10 15 20 25 30

vert

ical

vel

oci

ty m

ax.

no

rm [

m/s

]time [min]

128 x 64, N0, N1, N2 = 0.01, 0.01, 0.01 128 x 64, N0, N1, N2 = 0.01, 0.015, 0.01 128 x 64, N0, N1, N2 = 0.01, 0.02, 0.01 128 x 64, N0, N1, N2 = 0.02, 0.02, 0.02

maximum norm of vertical velocity

[Botta et al., 2004]

Page 6: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Computation of Nearly Incompressible Flow

Stationary vortex is advected by constant background flow[Gresho and Chan, 1990]:

rectangular domain with 80× 20 grid cellsperiodic BC on left and right side, walls at top / bottomexplicit Godunov-type method for compressible flows:

PSfrag replacements

t = 0 t = 1 t = 2 t = 30

0.5

1

M = 0.01

Page 7: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Construction of Conservative Numerical Methods

The following procedure for the construction of numericalfluxes was proposed [Schneider et al., 1999]:

compute predictions for convective flux components witha standard method for hyperbolic conservation lawscorrect predictions by two projection steps to guaranteedivergence control at new time level

PSfrag replacements

t = 0 t = 1 t = 2 t = 30

0.5

1

M = 0

problem: second projection step admits a localdecoupling of the solution (checkerboading)

Page 8: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Outline

1 Finite Volume Methods for Geophysical ProblemsWell Balanced Finite Volume MethodsConservative Projection-Type Methods

2 A New Projection MethodGoverning EquationsFormulation of the SchemeStability of the Second ProjectionNumerical Results

Page 9: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

The Shallow Water Equations

Non-dimensional form:

ht + ∇ · (hv) = 0

(hv)t + ∇ ·(

hv v +1

2 Fr2 h2 I)

=1

Fr2 h∇hb

ht(x, t)

hb(x)

h(x, t) = ht− hb

x

z

hyperbolic system ofconservation lawssimilar to Eulerequations, no energyequation

Page 10: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

The “Incompressible” Limit(as Fr→ 0)

zero Froude number shallow water equations:

ht + ∇ · (hv) = 0(hv)t + ∇ · (hv v) + h∇h(2) = 0

h = h0(t) given through boundary conditions.mass conservation becomes a divergenceconstraint for the velocity field:∫

∂V(hv) · n dσ = −|V |dh0

dt

Page 11: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Conservation Form

Consider a FV method in conservation form:

Un+1V = Un

V − δt|V |

∑I∈I∂V

|I | FI

FI (UI ,nI ) :=

(h(v · n)

hv(v · n) + h0 h(2) n

)I

Construction of numerical fluxes:advective fluxes from standard explicit FV scheme(applied to an auxiliary system)(MAC)-projection corrects advection velocity divergencesecond (exact) projection adjusts new time leveldivergence of cell-centered velocitiessecond order accuracy

Page 12: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Auxiliary System

The auxiliary system

h∗t + ∇ · (hv)∗ = 0(hv)∗t + ∇ ·

((hv v)∗ + 1

2(h∗)2I)

= 0

enjoys the following properties:It has the same convective fluxes as thezero Froude number shallow water equations.The system is hyperbolic.Having constant height h∗ and a zero velocitydivergence at time t0, solutions satisfy at t0 + δt:

∇ · v∗ = O(δt) , (h∗∇h∗) = O(δt2)

Page 13: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Correction of the Fluxes

1. Projection:divergence constraintimposed on each grid cellcorrect convective fluxes onboundary of volume

2. Projection:divergence constraint imposedon dual discretizationcorrect momentum to obtaincorrect divergence for newvelocity field

Page 14: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Original Scheme[Schneider et al., 1999]

V

V

+ + + +

+ + + +

+

+

+

+

+

+

+

+

+

both Poisson-typeproblems are solvedfor cell averages (i.e.piecewise constant data)

stencils: standardFD discretizations2nd Poisson-typeproblem has localdecoupling

i

j

i + 1/2

−41 1

1

1

i

i + 1/2

j + 1/2−2

1/2 1/2

1/2 1/2

−2

1/2 1/2

1/2 1/2

Page 15: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

The New (Second) ProjectionDiscretization of the Poisson-Type Problem

Let us consider a Petrov-Galerkin finite element discretization[Süli, 1991]:

bilinear trial functions forthe unknown h(2)

piecewise constant testfunctions on the dualdiscretization

Integration over Ω and using the divergence theoremleads to (h0 = const.):

δt h0

∫∂V

∇h(2) · n dσ =

∫∂V

((hv)∗∗ + (hv)n) · n dσ

Page 16: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

The New (Second) ProjectionDiscrete Velocity Space

velocity components atboundary of the dual cellsare piecewise linear!discrete divergence canbe exactly calculated

i

j

i + 1/2

j + 1/2−31/2

1/2

1/2

1/2

1/4 1/4

1/4 1/4 discrete divergence, Laplacianand gradient satisfy L = D(G)

discrete Laplacian hascompact stencil

Page 17: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Approximate and Exact Projection

new discrete divergence also affected by partialderivatives uy and vx

using just the mean values to correct momentum:

(hv)n+1V = (hv)∗∗V − δt h0 G(h(2))

we obtain D(vn+1) = O(δt δx2): approximate

projection methodadditional correction of derivatives and theiremployment in the reconstruction of thepredictor step: exact projection method

Page 18: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Generalized Saddle-Point Problems

Find (u, p) ∈ (X2 ×M1), such thata(u, v) + b1(v, p) = 〈f , v〉 ∀ v ∈ X1

b2(u, q) = 〈g, q〉 ∀ q ∈M2(1)

abstract theory by Nicolaïdes [1982] and Bernardiel al. [1988]: If bi(·, ·) (and similarly a(·, ·)) satisfies:

infq∈Mi

supv∈Xi

bi(v, q)

‖v‖Xi‖q‖Mi

≥ βi > 0

Then, (1) has a unique solution for all f and g.

Page 19: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Reformulation of the Poisson-Type Problem

derive a saddle point formulation using momentumupdate and divergence constraint:

(hv)n+1 = (hv)∗∗ − δt (h0∇h(2))12 ∇ ·

[(hv)n+1 + (hv)n

]= −dh0

dt

variational formulation: multiply with test functions ϕand ψ and integrate over Ω

discrete problem obtained by using piecewise linearvector and piecewise constant scalar test functions;equivalent to Poisson-type equation

Page 20: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Existence & UniquenessContinuous Problem

find solution with (hv)n+1 ∈ H0(div; Ω) andh(2) ∈ H 1(Ω)/Rtest functions in the spaces (L2(Ω))2 and L2(Ω)

bilinear forms given by:

a(u, v) :=

∫Ω

u · v dx , b1(v, q) := δt h0

∫Ω

v · ∇q dx

b2(v, q) :=

∫Ω

q (∇ · v) dx

Theorem: [Vater, 2005] The continuous generalizedsaddle point problem has a unique solution ((hv)n+1, h(2)).

Page 21: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Stability of the Discrete Problem?

b1(·, ·) satisfies a discrete inf-sup condition

open question for a(·, ·) and b2(·, ·)

problem: piecewise linear vector functions not inH (div; Ω) in general (nonconforming finite elements)

common (e.g. Raviart-Thomas) elements do not matchwith the piecewise linear, discontinuous ansatz functionsfrom the Godunov-Type method

discretization by Schneider et al. [1999] can also beformulated as saddle point problem; but unstable!

Page 22: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Convergence StudiesTaylor Vortex

Originally proposed by Minion [1996] and Almgren etal. [1998] for the incompressible flow equations

smooth velocity fieldnontrivial solution for h(2)

solved on unit squarewith periodic BC32× 32, 64× 64 and128× 128 grid cellserror to exact solution att = 3

PSfrag replacements

0

¡¡¡µ

0.5 10

0.5

1

Page 23: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Convergence StudiesErrors and Convergence Rates

Method Norm 32x32 Rate 64x64 Rate 128x128

originalprojection

L2 0.2929 2.16 0.0656 2.16 0.0146L∞ 0.4207 2.15 0.0945 2.18 0.0209

new exactprojection

L2 0.0816 2.64 0.0131 2.17 0.0029L∞ 0.1277 2.45 0.0234 2.32 0.0047

second order accuracy is obtained in the L2 andthe L∞ normsabsolute error obtained with the new exact projectionabout four times smaller on fixed grids

Page 24: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Advection of a VortexResults for the New Projection Method

Exact projection, central differences (no limiter):PSfrag replacements

t = 0 t = 1 t = 2 t = 30

0.5

1

orig.

PSfrag replacements

t = 0 t = 1 t = 2 t = 30

0.5

1

new

Less deviation from the center line of the channel, loss invorticity is slightly reduced.

Page 25: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Advection of a VortexResults for the New Projection Method

original methodPSfrag replacements

t = 100.0

0.5

1.0

new exact methodPSfrag replacements

t = 100.0

0.5

1.0

Page 26: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

FV Methods forGeophysicalProblemsWell Balanced FiniteVolume Methods

ConservativeProjection-Type Methods

A New ProjectionMethodGoverning Equations

Formulation of theScheme

Stability of the SecondProjection

Numerical Results

Summary

Summary

A new projection method has been presented. It has thefollowing properties:

the projection is based on a FE formulationnumerical results of the new method show considerableaccuracy improvements on fixed grids compared to theold formulationresults supported by theoretical analysis; no localdecoupling of the gradient in the 2nd projection

Outlookstability of the discrete method has to be solveddiscrete divergence is determined by mean valuesand uy and vx ; other partial derivatives giveadditional degrees of freedom

Page 27: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

For Further Reading

Th. Schneider, N. Botta, K.J. Geratz and R. Klein.Extension of Finite Volume Compressible Flow Solvers toMulti-dimensional, Variable Density Zero Mach Number Flows.Journal of Computational Physics, 155 : 248–286, 1999.

S. Vater.A New Projection Method for the Zero Froude NumberShallow Water Equations.PIK Report No. 97, Potsdam Institute for ClimateImpact Research, 2005.

N. Botta, R. Klein, S. Langenberg and S. Lützenkirchen.Well Balanced Finite Volume Methods for NearlyHydrostatic Flows.Journal of Computational Physics, 196 : 539–565, 2004.

Page 28: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

Convective Fluxes

Consider the semi-discrete equations:

hn+1 = hn − δt[∇ · (hv)n+1/2

]+O

(δt3)

(hv)n+1 = (hv)n − δt[∇ · (hv v)n+1/2 +

(h0∇h(2))n+1/2)]+O

(δt3)

The momentum is given by

(hv)n+1/2 = (hv)∗,n+1/2 − δt2 (h0∇h(2))n+1/4 +O

(δt3)

Impose divergence constraint at tn+1/2:

δt2 ∇ · (h0∇h(2))n+1/4 = ∇ · (hv)∗,n+1/2 +

dh0dt +O

(δt3)

Page 29: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

Interface Heights

Using h(2) from first Poisson-type problem: instabilities,divergence constraint not satisfied at new time step.

Intermediate momentum update:

(hv)∗∗ := (hv)n − δt ∇ · (hv v)n+1/2

Momentum at time tn+1 can be expressed as:

(hv)n+1 = (hv)∗∗ − δt (h0∇h(2))n+1/2 +O(δt3)

A second application of the divergence constraint yields:

δt ∇ · (h0∇h(2))n+1/2 = ∇ · (hv)∗∗ +∇ · (hv)n +

2 dh0dt +O

(δt2)

Page 30: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

Existence & UniquenessContinuous Problem

Find ((hv)n+1, h(2)) ∈ (H0(div; Ω)×H 1(Ω)/R), s.th.a((hv)n+1,ϕ

)+ b1

(ϕ, h(2)

)= 〈(hv)∗∗,ϕ〉

b2((hv)n+1, ψ

)= 〈−∇ · (hv)n , ψ〉

∀ϕ ∈ (L2(Ω))2 and ∀ψ ∈ L2(Ω)

Bilinear forms given by:

a(u, v) :=

∫Ω

u · v dx , b1(v, q) := δt h0

∫Ω

v · ∇q dx ,

b2(v, q) :=

∫Ω

q (∇ · v) dx

Theorem: The generalized saddle point problem has aunique solution ((hv)n+1, h(2)).

Page 31: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

Convergence StudiesTaylor Vortex

Originally proposed by Minion [1996] and Almgrenet al. [1998] for the incompressible flow equations.Initial conditions: Constant height h0 and

u0(x, y) = 1− 2 cos(2πx) sin(2πy)

v0(x, y) = 1 + 2 sin(2πx) cos(2πy)

for (x, y) ∈ [0, 1]2, periodic boundary conditions.Exact solution of the zero Froude number SWE:

u(x, y, t) = 1− 2 cos(2π(x − t)) sin(2π(y − t))v(x, y, t) = 1 + 2 sin(2π(x − t)) cos(2π(y − t))

h(2)(x, y, t) = − cos(4π(x − t))− cos(4π(y − t))

Page 32: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

Archimedes’ Principle

In Botta et al. [2004] a general applicable solutionfor this problem has been proposed.Implementation in the context of FV methods:

∇Φ

ci

∂ci

−ρi

1

|ci|

∂ci

Pi n dS

O((∆z) )2

Page 33: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

Archimedes’ Principle

In Botta et al. [2004] a general applicable solutionfor this problem has been proposed.Implementation in the context of FV methods:

ci

∂ci

1

|ci|

∂ci

Pi n dSP(0)

i( )− .

P(0)

i

P

zP

(0)

i∂

∂z−ρ

i

(0)=

1

|ci|

∂ci

Pi n dS

Page 34: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

Well Balanced Finite Volume MethodsInversion

N = N0

N = N1

N = N2

1e-04

1e-03

1e-02

1e-01

1e+00

0 5 10 15 20 25 30

vert

ical

vel

oci

ty m

ax.

no

rm [

m/s

]

time [min]

64 x 32, N0, N1, N2 = 0.01, 0.01, 0.01 64 x 32, N0, N1, N2 = 0.01, 0.015, 0.01 64 x 32, N0, N1, N2 = 0.01, 0.02, 0.01 64 x 32, N0, N1, N2 = 0.02, 0.02, 0.02

1e-04

1e-03

1e-02

1e-01

1e+00

0 5 10 15 20 25 30

vert

ical

vel

oci

ty m

ax.

no

rm [

m/s

]

time [min]

128 x 64, N0, N1, N2 = 0.01, 0.01, 0.01 128 x 64, N0, N1, N2 = 0.01, 0.015, 0.01 128 x 64, N0, N1, N2 = 0.01, 0.02, 0.01 128 x 64, N0, N1, N2 = 0.02, 0.02, 0.02

Page 35: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

Piecewise Linear Potential Temperature

1e-14

1e-13

1e-12

1e-11

1e-10

1e-09

1e-08

0 50000 100000 150000 200000 250000 300000t [s]

max(|w|) [m/s]

No accumulation of unbalanced truncation errors!

[Botta et al., 2004]

Page 36: Finite Volume, Conservative Projection-Type Methods for Low

ConservativeProjection-Type

Methods

S. Vater

AppendixFor Further Reading

Projection-Type Methods

Well Balanced Methods

Well Balanced Finite Volume MethodsSchaer’s Test

piecewise constant entropy piecewise linear entropy