Presets/energy.xml
From AQUAgpusph
Contents
Introduction
energy.xml is a preset used to compute the fluid energy components. If you wish to print the results in the screen and in an output file include energy_report.xml as well.
This tool is computing the energy components variation rates:
And then it is integrating them in time.
Usage
To use it the following tag should be added to include the preset:
<Include file="/usr/share/aquagpusph/resources/Presets/energy.xml" />
Where /usr/share/aquagpusph/ should be conveniently modified.
This preset should be loaded after cfd.xml.
Variables defined
When this preset is loaded some variables are generated (on top of the default variables of AQUAgpusph):
NAME | TYPE | LENGTH | DESCRIPTION |
var | vec | 1 | desc. |
Tools
The following tools are set to be executed each time step, just before the "t = t + dt" tool. (see Tools and cfd.xml to learn more about this):
NAME | TYPE | DESCRIPTION |
tool | kernel | desc. |