lanl / palm_lanl

LANL Contributions to PArallelized Large-eddy simulation Model (PALM)
2 stars 5 forks source link

Namelist option for sinusoidally varying pressure gradients #40

Closed cbegeman closed 5 years ago

cbegeman commented 5 years ago

By listing a series of amplitude, frequency, and phases of tide constituents in the namelist file, the user can implement sinusoidally varying pressure gradients in the two horizontal dimensions. If Rayleigh damping is on, velocities are damped to those velocities in geostrophic balance with the pressure gradients.

Namelist variables dpdxy,dpdx,dpdxy,dpdx_freq,dpdy_freq,dpdx_phase,dpdy_phase are used as follows: https://github.com/xylar/palm_les_lanl/blob/50e5670fca86c1c8f2ce4c7ca71ac3578bebf14e/trunk/SOURCE/prognostic_equations.f90#L557-L558

cbegeman commented 5 years ago

@lconlon Do you want to review this PR which implements sinusoidally-varying pressure gradients?

cbegeman commented 5 years ago

@xylar Do you want to take a look at this before I merge?