Wayne Gaudin, Andy Herdman
Initial port to OpenMP by Alexander Grund
CloverLeaf solves the compressible Euler Equations using a second order explicit finite volume formulation on a structured grid. It uses a strategy of domain decomposition and local halo exchange to function in a distributed compute environment and takes advantage of attached accelerators through the implementation of OpenMP.
All the input that is required to generate a CloverLeaf run is contained within the clover.in input file.
The logical mesh size is defined by the x_cells and y_cells input parameters.
The physical mesh size is defined by the xmin, xmax, ymin and ymax parameters.
The different ideal gas states are defined using the state keyword. State 1 is always the background material that will infill where either states are not defined.
e.g. state 1 density=0.2 energy=1.0 state 2 density=1.0 energy=2.5 geometry=rectangle xmin=0.0 ymin=0.0 xmax=5.0 ymax=2.0
The control parameters are used to set timestep frequency and end times.
e.g. initial_timestep=0.04 end_time=0.5There are a number of other inputs that can be used for fine control, profiling and visualization. The full description of these can be found in the links detailed below.
The most important output from CloverLeaf is the field summary print that details the average state variables of the system, which includes pressure, kinetic energy and internal energy.
Timestep information is also output every step.
VTK files can also be outputted to allow visualization but this is not recommended for benchmarking runs due to the overhead incurred.
The current version works on all tested OpenMP compiler implementations.
Last updated: $Date: 2013-10-24 13:40:22 -0700 (Thu, 24 Oct 2013) $