lanl / palm_lanl

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

Ambient density for sloped ocean cases #48

Closed cbegeman closed 5 years ago

cbegeman commented 5 years ago

Modifies buoyancy term in the rotated domain case (sloped ocean case) so that density differences are computed between simulated in situ density and an ambient density defined using initial far-field temperature and salinity and the hydrostatic density profile in the middle of the domain rho_ambient(T(nzb),S(nzb),p(x_{mid},z). The middle of the domain in the sloped ocean case has the surface pressure, surface_pressure, a namelist option.

Also modifies the hydrostatic pressure z-profile in the sloped ocean case to include rotation of the gravity vector.

cbegeman commented 5 years ago

@xylar Can you find time to review this? It shouldn't take you too long and it would be great to have a second set of eyes on it.

xylar commented 5 years ago

Yep, definitely. Hopefully, later this week.

cbegeman commented 5 years ago

@xylar thanks!

xylar commented 5 years ago

Merge whenever you like.