Giter Club home page Giter Club logo

prt5parser's Introduction

GitHub license Twitter DOI

Purpose

This program reads a prt5-file (tested with FDS Version 5.5 and FDS 6.0) and writes the pedestrian's trajectories to an output file in the following format

index frame x y z

compile

f95  -cpp -DOS  -o parser read_prt5.f90

or

gfortran   -DOS  -o parser read_ptr5.f90

where OS is whether UNIX or WIN depending on your system. Passing this preprocessor directive is important, because in the code the output file is sorted using system-specific commands (sort, move, ...)

With Visual Studio the definition of OS is by passing a /D. See the documentation here.

usage

In a terminal give

./parser input_filename.ptr5 output_filename.txt

Requirements

There are no special requirements. Obviosly you will need to have a fortran compiler installed. :-)

In Debian/Ubuntu

 sudo apt-get install gfortran

should be enough.

Plot scripts

For convenience some plot scripts are provided in the directory scripts.

Does it work?

This parser has been tested with GNU Fortran (Ubuntu/Linaro 4.4.4-14 ubuntu5.1) and Debian 7.2. See also the examples in the directory ptr5_files.

I have no idea if it will work when compiled with other compilers. Since, I do not use FDS, I don't even know if this parser ALWAYS works.

If you have a file that makes it fail, please open an issue.

Check also the example and the movie in the wiki showing an evacuation of a stadium vometory.

prt5parser's People

Contributors

chraibi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

prt5parser's Issues

Other information

body size, angle and colors may be good for visualisation. These can be extracted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.