Presets/timing.report.xml

From AQUAgpusph
Jump to: navigation, search

Introduction

timing.report.xml is a preset used to print the simulation time data into the output screen, and into an output file as well. The variables printed are:

  1. Index of the time step, iter
  2. Time
  3. Time step

In the output screen, this information is printed in green color (if AQUAgpusph was compiled with ncurses support)

The output file, Timing.dat, is written in the same folder where AQUAgpusph has been launched, and therefore writing rights should be granted (a fatal error will result otherwise).

Usage

To use it the following tag should be added to include the preset:

<Include file="/usr/share/aquagpusph/resources/Presets/timing.report.xml" />

Where /usr/share/aquagpusph/ should be conveniently modified.

This preset should be loaded after cfd.xml.

Variables defined

This preset is not adding new variables (see Variables):

Definitions

This preset is not adding new definitions (see Definitions).

Tools

This preset is not adding new tools (see Tools).

Reports

As it has been above mentioned, two new reports are added by this preset:

NAME TYPE DESCRIPTION
Time control screen Print the index of the time step, as well as and to the output screen (see the introduction).
Time control file file Print the index of the time step, as well as and to the output file (see the introduction).