erf-model / ERF

Energy Research and Forecasting Model
https://erf.readthedocs.io/en/latest/
Other
26 stars 40 forks source link

Primitive External Dirichlet w/ SlipWall #1863

Closed AMLattanzi closed 1 month ago

AMLattanzi commented 1 month ago

This PR extends the external Dirichlet condition for primitive variables to the SlipWall condition. Previously, this was only implemented for a NoSlipWall. Now, if a user provides a theta_in=300 but does not provide a rho_in, the code will enforce the Dirichlet condition for theta by utilizing the rho from just inside the domain (which is FOEXTRAP).