Replies: 1 comment 3 replies
-
@alexr314 Thanks for the questions. WindNinja enforces conservation of mass on a 3-D grid. The model is described in detail in this paper: https://weather.firelab.org/windninja/publications/comparison.pdf The terrain is accounted for in the finite element method used to solve the governing equations on the 3-D grid. A "flow-through" or "open" boundary condition is used for all non-ground boundaries (the top and lateral boundaries of the domain) by setting Phi = 0. The H is like a source term that is a function of the divergence of the initial wind field. The initial wind field (denoted u0, v0, w0 in the source code) is a 3-D wind field that can come from a coarser weather model, point observations, or a user-specified domain-average wind field. In each of these cases, we use a log profile to fill the WindNinja 3-D grid vertically and interpolation to fill the grid horizontally for coarse weather model or point initializations. So the initial field is never fully uniform (there is always a vertical gradient). The three initialization options are referred to as "weather model initialization," "point initialization", and "domain average initialization" in the code. I hope this helps. Please let us know if you have additional questions or want more detail. |
Beta Was this translation helpful? Give feedback.
-
Hello WindNinja team,
I'm Dr. Alex Roman, I'm a physicist and ML consultant, and I'm working with Improving Aviation on using wind models to predict ember transport. I’m trying to understand in detail how WindNinja works.
Specifically, I'm trying to understand how WindNinja uses a scalar "wind potential" field to model the 3D effects of terrain.
As I understand it, WindNinja solves a 2D mass-consistent fluid model to find the 3D velocity vector (u_x, u_y, u_z) everywhere on a 2D surface a fixed distance above the surface of the terrain. What I have just described does not yet have any relation to the 3D topography, so WindNinja initially solves for the wind potential Phi using this equation: (borrowed from the source code:)
With boundary conditions:
(The ground condition makes sense, I don’t understand what the Dirichlet condition really means. I’m also uncertain about what boundary condition is used for the top, I assume it’s also Phi=0)
This requires us to have computed H. I’m unclear on what H is, I see that it is calculated in the source code as the divergence of the initial field
This relies upon the initial wind vector field, which is sometimes just a uniform field having which would make H uniformly 0. In this case the PDE for Phi would just be the Laplace equation, and with these boundary conditions I can’t see why the solution would be nontrivial. If we computed Phi and it was trivial, then I don’t see how the simulation uses any information about the topography.
In summary:
Please let me know in what ways this is not an accurate description of the method or what complexities I am missing.
My questions are:
Pardon me if the answers to any of these questions are already provided in some obvious way. I look forward to hearing from you.
Thanks in advance for your answers!
-- Alex
Beta Was this translation helpful? Give feedback.
All reactions