Difference between revisions of "Presets/domain.xml"

From AQUAgpusph
Jump to: navigation, search
m
m
Line 21: Line 21:
 
</Variables>
 
</Variables>
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[Category:Presets]]
 +
[[Category:Variables]]

Revision as of 15:55, 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>