I have extended Topi's python script to be a simple visualizer of evac prt5 file. May I upload it here? Or share it on Github?
Now evac output data (prt5) can be alternatively visualized by pygame (SDL for python) in 2D style. This could be supplementary to smokeview for visualizing evac output data, and it is useful to draw the agents' compete tracjactory as many users required. Thank Salah Benkorichi for sending this thread to me.
In addition, I modified xyz.shape = (7,nplim) for evac prt5 data. In Topi's script it was initially given by xyz.shape = (3,nplim). Maybe xyz.shape = (3,nplim) is for Lagrangian Particles. We use xyz.shape = (7,nplim) for evac prt5 data. As below is the data format specified in dump_evac() in evac.f90. Comments are much welcome.
NPP = NPP + 1
TA(NPP) = HR%ILABEL
XP(NPP) = REAL(HR%X,FB)
YP(NPP) = REAL(HR%Y,FB)
ZP(NPP) = MIN( MAX(REAL(HR%Z,FB), EVAC_Z_MIN), EVAC_Z_MAX)
AP(NPP,1) = 180.0_FB*REAL(HR%Angle/Pi,FB)
AP(NPP,2) = 2.0_FB*REAL(HR%Radius,FB)
AP(NPP,3) = 2.0_FB*REAL(HR%r_torso,FB)
! Height of a human scaled by radius, default male 1.80 m
AP(NPP,4) = 1.80_FB*REAL(HR%Radius/0.27_EB,FB)
Maybe this small evac tool can be integrated in
BlenderFDS or any other open-source fds tools in the future.
Suggestions are much appreciated.