Presets/energy.report.xml

From AQUAgpusph
Jump to: navigation, search

Introduction

energy.report.xml is a preset used to print the Energy components (see energy.xml) into the output screen, and into an output file as well. More specifically, at the screen the following variables will be printed (in blue color if AQUAgpusph was compiled with ncurses support):

  1. Internal energy ( )
  2. Entropy ( )
  3. Kinetic energy ( )
  4. Potential energy ( )
  5. External forces work ( )

While in the output file Energy.dat the following energy components will be written in a tabulated file:

  1. Simulation time ( )
  2. Time step ( )
  3. Internal energy ( )
  4. Entropy ( )
  5. Kinetic energy ( )
  6. Potential energy ( )
  7. External forces work ( )
  8. Internal energy variation rate ( )
  9. Entropy variation rate ( )
  10. Kinetic energy variation rate ( )
  11. Potential energy variation rate ( )
  12. External forces work variation rate ( )

The output file, Energy.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/energy.report.xml" />

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

This preset should be loaded after energy.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
Energy screen Print the energy components at the output screen (see the introduction).
Energy file file Print the energy components (and their variation rates) at the output file (see the introduction).