godisreal / test-crowd-dynamics

Testing Result of Crowd Evacuation Behavior by Using FDS+Evac
4 stars 2 forks source link

Reuse evac.f90 in a new program without fds #15

Open godisreal opened 2 years ago

godisreal commented 2 years ago

Is it possible to reuse evac.f90 in another program without fds? I start a trial here. The compilation is through, but there is a segmentation error SIGSEGV (Invalid memory reference). Does anyone know how to solve this problem?
@tkorhon1 @chraibi

godisreal commented 2 years ago

To generate a proper evacuation flow field I have tried Possion solver and the result is fairly good. Suppose there is no fire and smoke simulation, and no need to use fds to compute evacuation flow filed (eff), and only a Possison solver is enough to generate eff for evac simulation. Currently the major work is to rewrite main.f90 to reorganize all sub-routines only for evac use. The mesh type in fds is simply used and initialized, but all the mesh-related calculation is stopped in main.f90. Is that a good way?