- Check your installation
- Running examples
- Building compact discrete domains
- Introduction to input file
- Plugins and input files
- Initialize project
- Initialize your first custom plugin
- Implement your first custom plugin
- Run your first project
- granoo-viewer usage
- Inputs/Outputs with GranOO (You are here)
- Building a very simple tensile test
- Using numerical sensor
This page describes the different file formats for importing/exporting data with granoo
The internal file formats : *dd files
GranOO uses several file formats. The list below details their respective interests.
*.gddformat is a complete backup of a domain. It contains the whole data of a simulation. If you want to monitor a simulation this kind of file is perfect. However, this format is not well adapted to exchange between different computers or different granoo versions. In addition, because all data are present, these files can be very large.
*.agddis a simple ascii file format. Note that this format is only adapted to spherical discrete element domains.
*.agddis a very good portable format to exchange between different computers or different granoo versions… but it contains only a geometrical description of the domain ! Note that
*.agddcan easily be self written. The listing below shows the composition of a
*.agddfile. Please remove the comments if you want to use this file,
*.agdddoes not support any comment.
*.lgddis a simple ascii file format that may be used for any cases.
*.lgddformat is a portable format well adapted to exchange between different computers or different granoo versions. Note that
*.lgddcontains only a geometrical description of domains. The main difference with the
*.lgddsupports any discrete element shapes.
These three file formats may be used to read or write domains.
Exporting data to paraview
The standard plugin
_ExportPVD can be used to export data for the well known data visualization
tool paraview. Just insert the following line in your
This plugin creates an
output.pvd file in the output directory of your simulation. This file
can be opened by paraview. To show correctly this file, you must first load and execute
the paraview plugin
ExtractData.py located in the
Tool/Paraview/Macro directory of your
Exporting raw data for specific post-treatment
You probably want to monitor the evolution of specific parameters during a simulation. GranOO embeds the concepts of numerical sensors that helps you for this task. The numerical sensors will be treated in detail later in this tutorial.