firetools / qgis2fds

An open source and free tool to export terrain elevation, landuse, and georeferencing to NIST FDS for computational fluid dynamics (CFD) wildfire or atmospheric pollutants dispersion simulations.
GNU General Public License v3.0
17 stars 13 forks source link

Landfire tiles not aligned with FDS mesh #56

Closed rmcdermo closed 1 year ago

rmcdermo commented 1 year ago

This may be related to other issues. But see the attached below. I create a simple case with 30 m resolution and export the FDS input file, run it, and then look at a z grid slice with latest Smokeview. If the bingeom is being created by generating vertices where the grid intersects with the DEM, then the tiles should exactly lie within an FDS grid cell. Note below that I have hidden the texture map generated by qgis2fds. What is being drawn are the triangles and the associated SURF_IDs in the bingeom.

Screenshot 2023-07-10 at 4 56 16 PM Screenshot 2023-07-10 at 4 56 38 PM
rmcdermo commented 1 year ago

Note: here is the case using the master branch (that is, without any of @johodges changes), the issue existed previously.

Screenshot 2023-07-11 at 9 53 59 AM
rmcdermo commented 1 year ago

I think we now understand what is happening here. Things are behaving as we expect. I was confused as to how bingeom was generated previously.