Difference between revisions of "Presets/domain.xml"
From AQUAgpusph
(Moving from Presets/domain to here) |
m |
||
Line 13: | Line 13: | ||
Where <tt>/usr/share/aquagpusph/</tt> should be conveniently modified. | Where <tt>/usr/share/aquagpusph/</tt> should be conveniently modified. | ||
− | After that, the domain should be defined setting the associated variables. For instance (extracted from the [[souto_etal_2012_standingwave|Standing Wave example]]): | + | After that, the domain should be defined setting the associated variables. For instance (extracted from the [[Examples/2D/souto_etal_2012_standingwave|Standing Wave example]]): |
<syntaxhighlight lang="xml"> | <syntaxhighlight lang="xml"> |
Revision as of 14:52, 18 March 2015
Introduction
domain.xml is a preset used to define a computational domain, such that all the particles (fluids and boundaries are considered) outside such domain will be transformed in fixed particles with null mass.
Usage
To use it the following tag should be added to include the preset:
<Include file="/usr/share/aquagpusph/resources/Presets/cfd.xml" />
Where /usr/share/aquagpusph/ should be conveniently modified.
After that, the domain should be defined setting the associated variables. For instance (extracted from the Standing Wave example):
<Variables> <Variable name="domain_min" type="vec" value="-0.4, -0.21" /> <Variable name="domain_max" type="vec" value="2.4, 1.26" /> </Variables>