fds2ascii - multiple mesh data conversion

667 views
Skip to first unread message

Paulo Bufacchi

unread,
Feb 1, 2021, 3:17:22 PM2/1/21
to FDS and Smokeview Discussions
Howdy y'all.

I ran a FDS simulation with 69 meshes and it ended smoothly.
I included a slice command for velocity, which I can see in SmokeView without any problem.
Then, I used fds2ascii 69 times to get a complete data set of the slice. Although it works fine, it is very time consuming. I tried many options in fds2ascii and it seems to not work with multiple meshes at once. 
I searched the guides for fds2ascii but I couldn't find any help there.

Has someone faced this issue before and knows how to handle it?

Thanks in advance,

Paulo




Randy McDermott

unread,
Feb 1, 2021, 3:25:40 PM2/1/21
to FDS and Smokeview Discussions
Paulo,

Various groups are working on more modern post-processing toolkits.  They may chime in.  At the moment, what I do is brute force write Matlab scripts to loop over the meshes and then use Simo's slread.m script to read the individual slice files.  It's ugly, but here is an example I'm currently working on to read HRRPUV slices for the CSIRO grassland fires.


Like I said, there are other options out there in various states of useability.   Maybe someone else will point you to them.

Randy

--
You received this message because you are subscribed to the Google Groups "FDS and Smokeview Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fds-smv+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fds-smv/9206a03c-03db-4a0a-8e37-147ab3809f47n%40googlegroups.com.

Jonathan Hodges

unread,
Feb 2, 2021, 6:48:26 AM2/2/21
to FDS and Smokeview Discussions
Hello Paulo. I've developed a post processing toolbox for FDS in python which helps streamline this process. Rather than looping over fds2ascii, it reads the data directly from the binary files. See the message at the link below for more information. Let me know if you have any issues getting started.


Thanks,

Jonathan

Jan Vogelsang

unread,
Feb 17, 2021, 4:54:44 AM2/17/21
to FDS and Smokeview Discussions
Good Morning Paulo,
we developed a fast and easy-to-use Python Package to read in all kinds of FDS Data at the Jülich Research Center (IAS-7) in the FireDynamics division.
It automatically reads in all the slice data inside of your meshes written out by FDS.
I am currently working on a routine to automatically combine all slice data across the meshes so you won't have to mess with all these meshes yourself.

The package is called "fdsreader" and is available on PyPi (pip install fdsreader).
For more information on the package and documentation as well as usage examples, please visit its Github page here:

The package is currently under active development. While it does already support all datatypes and is able to read in all kinds of data FDS produces,
we are still improving its convenience by adding handy functions. If you need any help with the package or need any additional functionality, please
create an issue on GitHub and I will work on your request asap.

Greetings,
Jan

Leobardo Valera

unread,
Feb 17, 2021, 11:08:21 AM2/17/21
to fds...@googlegroups.com
Hello Jan,

I installed fdsreader using pip3 install fdsreader, but when I loaded the class I got the following error:
capture.png


Thanks in advance for your help

- Leo -


Jan Vogelsang

unread,
Feb 19, 2021, 4:05:39 AM2/19/21
to FDS and Smokeview Discussions
Hello Leo,

as the error states, the package depends on the module "typing_extensions" (which will provide you type hints at runtime).
You can simply install that module using "pip3 install typing_extensions".

However I did also update the fdsreader package to include all dependencies automatically so you do not have to mess with those.
Just upgrade the fdsreader package using "pip3 install --upgrade fdsreader".

Greetings,
Jan
Reply all
Reply to author
Forward
0 new messages