MATERHORN The immersed boundary method for flow over...

33
MATERHORN The immersed boundary method for flow over complex terrain Tina Katopodes Chow, Jingyi Bao, Jason Simon Civil and Environmental Engineering University of California, Berkeley

Transcript of MATERHORN The immersed boundary method for flow over...

Page 1: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

MATERHORN The immersed boundary method for flow

over complex terrain

Tina Katopodes Chow, Jingyi Bao, Jason Simon

Civil and Environmental Engineering University of California, Berkeley

Page 2: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Overview p  Field work p Owens Valley rotor simulations

p WRF-IBM for mesoscale to microscale n  Terra incognita

p  Log law implementation n  Method development and testing n  Comparisons with WRF

p Application to Granite Mountain n  Preliminary results

Page 3: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Terra incognita

p  Push mesoscale models to higher resolution?

p Or increase domain size for LES? p  Is there a conflict?

Meso-scale L ~ 2-2000 km

LES L < 2 km

“Terra incognita” Wyngaard (JAS 2004)

Page 4: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Challenges in the “Terra incognita”

p Steep topography n  Terrain-following coordinate system

p  Turbulence modeling p  Land-surface fluxes – similarity theory p  Lateral boundary forcing p Other physics parameterizations

Meso-scale L ~ 2-2000 km

LES L < 2 km

“Terra incognita” Wyngaard (JAS 2004)

Page 5: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

What we are doing p  Weather and

Research Forecasting (WRF) model n  Mesoscale to

microscale p  One tool for all

scales n  Improved turbulence

models for LES n  Immersed boundary

method (IBM) for steep terrain

Page 6: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

WRF-IBM Framework p Capable as mesoscale or LES code p WRF fails with steep terrain slopes p WRF-IBM (Lundquist et al. 2010, 2012)

n  WRF + immersed boundary method (IBM) n  Same model; just a switch n  Nesting possible

Page 7: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Increasing resolution steeper slopes 3 km, max slope ~4° 1 km, max slope ~14°

300 m, max slope ~28° 100 m, max slope ~32°

Page 8: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Terrain slope limit

Terrain-following coordinates p  Horizontal pressure

gradient errors n  45° limit, usually ~30° starts

causing problems (e.g. Mahrer 1984)

p  Grid aspect ratio limitations

p  Numerical stability

Page 9: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

others include sigma-pressure, isentropic, and hybrids!

sigma, or terrain-following! eta, or “step mountain”!

Non-orthogonal! orthogonal!

Vertical coordinate systems

immersed boundary!

orthogonal!

Page 10: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Ghost-cell immersed boundary method

Immersed boundary

Ghost point

Nearest neighbors

Enforce zero velocities on the immersed boundary

Page 11: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

IBM - Boundary reconstruction p  IBM implemented in WRF p  2 different interpolation algorithms p Handles highly complex topography

Lundquist et al. MWR 2010

Page 12: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Inverse distance weighting

For complex urban geometries

Lundquist et al. 2010, 2012

Page 13: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Seamless grid nesting l  Mesosacle to microscale l  Must switch from WRF to IBM-WRF l  When to switch?

l  Resolution, steepness, aspect ratio, turbulence closure

Page 14: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

WRF Alone l  Coarse resolution

l  smooth terrain l  low error

l  Fine resolution l  steep terrain l  high error

Page 15: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

WRF Alone l  Coarse resolution

l  smooth terrain l  low error

l  Fine resolution l  steep terrain l  high error

Page 16: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

IBM-WRF Alone l  Very coarse resolution

l  grid-scale > mountain-scale (flat plate) l  low error

l  Coarse resolution l  large spacing l  high error (interpolation)

l  Fine resolution l  small spacing l  low error

Page 17: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

IBM-WRF Alone l  Very coarse resolution

l  grid-scale > mountain-scale (flat plate) l  low error

l  Coarse resolution l  large spacing l  high error (interpolation)

l  Fine resolution l  small spacing l  low error

Page 18: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

IBM-WRF Alone l  Very coarse resolution

l  grid-scale > mountain-scale (flat plate) l  low error

l  Coarse resolution l  large spacing l  high error (interpolation)

l  Fine resolution l  small spacing l  low error

Page 19: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

WRF to IBM-WRF l  Switch at intersection for best results l  Want to develop general guidelines for

this curve l  WRF starts blowing up near 300m resolution

on 2D GMAST

Page 20: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Complex terrain applications p Current implementation

for no-slip n  Good for urban

environments at ~1 m resolution

p Need log law wall stress for complex terrain

IBM-WRF for Oklahoma City

Page 21: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

WRF implementation of log law p Momentum equation in U direction

p Requires gradient in

Page 22: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

WRF implementation of log law

Page 23: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

IBM – log law implementation

0=== surfacesurfacesurface wvuuU

nU

ozhzw

2

1ln

⎟⎟

⎜⎜

⎛−=

=⋅

κµτ

No-Slip Shear Stress Reconstruction

Page 24: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

How to validate? p Small changes can make big difference

Page 25: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Test Case 1

p  Flat plate p Constant eddy

viscosity p  Top Rayleigh

damping layer p Constant shear

stress at wall p Analytical solution

Page 26: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Test Case 2

p  Flat plate p Constant eddy

viscosity p  Top Rayleigh

damping layer p  Log law at wall p Analytical solution

n  Below z1, velocity assumed logarithmic, above linear

n  Location of z1 determines slope

Page 27: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Test Case 2

p  Flat plate p Constant eddy

viscosity p  Top Rayleigh

damping layer p  Log law at wall p Analytical solution

n  Below z1, velocity assumed logarithmic, above linear

n  Location of z1 determines slope

Page 28: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Test Case 3

p  Flat plate p Constant eddy viscosity p  Top Rayleigh damping layer p  Log law at wall p  Pressure gradient forcing

Page 29: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

uG

uI τW

3D log law implementation

Page 30: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

τG

τI τW

3D log law implementation

Page 31: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Granite Mountain – IBM test case

Granite Mountain, Utah

Page 32: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

MATERHORN: addressing challenges in the “Terra incognita”

p Steep topography p  Turbulence modeling p  Land-surface fluxes – similarity theory

Meso-scale L ~ 2-2000 km

LES L < 2 km

“Terra incognita” Wyngaard (JAS 2004)

DRM and IBM-WRF

Page 33: MATERHORN The immersed boundary method for flow over ...dynamics/materhorn/PDF/T_Chow_Sep_2013.… · # Switch at intersection for best results # Want to develop general guidelines

Ongoing work p  IBM log law

n  3D implementation n  Validation

p Granite Mountain n  Semi-idealized n  Real case

p  Turbulence closure p Owens Valley