Exawind / amr-wind

AMReX-based structured wind solver
https://exawind.github.io/amr-wind
Other
103 stars 78 forks source link

Hurricane Temperature forcing #980

Closed gdeskos closed 4 months ago

gdeskos commented 4 months ago

Implementing a hurricane forcing term for the temperature equation

mchurchf commented 4 months ago

Yorgos, thanks for implementing this. My main comment is do we really need this forcing to be something that is specified separate from hurricaneForcing. I'd just make this temperature forcing come on always if hurricane forcing is specified, but it can default that dT/dr = 0, so if the user doesn't input it, it has no effect. Also, dT/dr is a constant in this implementation. Is that true of dV/dR? To be more realistic, we should be able to specify dV/dR and dT/dR as functions of z, if not also functions of time (but that could come as a new pull request soon).

gdeskos commented 4 months ago
  1. Agree that this is ugly, but I am not sure if we can initialize the hurricane forcing for temperature from within ICNS. You see the way source terms are setup at the moment they require to separate them by the equation they are applied to. If dT/dr is zero then no need to add a source term to the potential temperature equation. 2.dT/dr is a constant for simplicity. It should be (like dV/dR) a function of z. This is easy to change. Do you have an idea of how dT/dr varies vertically (based on the data that Miguel shared with us?)