Replies: 2 comments
-
I think the ERF code (https://github.com/erf-model/ERF) has some support for terrain with variable dz's. @AMLattanzi can probably chime in. |
Beta Was this translation helpful? Give feedback.
-
The ERF code noted by Weiqun does employ terrain-following height coordinates. This coordinate system allows for mesh deformation only in the z-direction; see Eqs. 2-4 and Eqs. 8a-8f of Sullivan (2014) for more details. In the ERF code, we store the physical z height and then compute all metric terms that enter the governing equations from that data structure --- i.e., If you wanted to do something more general, I believe you could store the |
Beta Was this translation helpful? Give feedback.
-
Hello,
Does AMReX provide support for body-fitted, curvilinear meshes?
We could probably store the X, Y, Z coordinates as a field on each patch, but, I think we would need to override the field-interpolation function accordingly. Is that something that is supported in AMReX?
Thank you for all your help.
Beta Was this translation helpful? Give feedback.
All reactions