- Check your installation
- Running examples
- Building compact discrete domains
- Introduction to input file (You are here)
- 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
- Building a very simple tensile test
- Using numerical sensor
This page describes the usage of input file
A granoo computation is described through input
*.inp files. These files
are written in the xml
language. Input files simply describe in a chronological order the main steps of
your computation. A step is called PlugIn in the granoo terminology. Input files
contain three sections : the
Processing section corresponds to the main time loop required by the time scheme.
It means that the PlugIn written in this section are triggered at each time step during
the simulation. The
PostProcessing PlugIn are triggered just one
time before and after the time loop respectively.
Note that these three sections must be embedded in a
<GranOO.../> xml tag.
This tag is used to define global settings of simulation such as time step, iteration number,
number of thread involved in the computation, etc…
Below, you will find a simplified version of an input file that corresponds to the
granular rain example available in the
somewhere/tags/2.0/Example/Granular/Rain/ path. Please, observe the general structure
and go to the next tutorial step to learn more about input file.