FireDynamics / fdsreader

Python reader for FDS data
GNU General Public License v3.0
47 stars 20 forks source link

Problem at "get_nearest_patch" #84

Open JSoini opened 3 weeks ago

JSoini commented 3 weeks ago

I am quite new to FDS and totally new to FDSreader, which seems really useful tool. Thanks for sharing it to community!

I am trying to get the nearest patch of obstruction for point to add DEVC to that point. I need to write correct IOR to DEVC, so I have to find which face is the nearest one.

Below is small test code, where I tested multiple points (green ones in picture) around obstruction, but "get_nearest_patch" will find the same patch (bottom patch marked as red in picture) for all points. Is it bug or am I doing something wrong?

I attached also small test model (fds-file) and Python script.

Many thanks for the help. FDSreaderTest.txt

obst3.txt

points_around_obstruction test_code_at_debugging_mode