materials command
Purpose
Command for creating a list of material names.
Note
This command is supported by Aspherix GPU.Syntax
materials keyword value
List of available keywords:
Keywords |
Description |
|---|---|
list of names of the standard materials to be defined (at least one), the keyword
standard can also be omitted (see examples) |
|
list of names of the standard materials to be defined (at least one) |
Examples
materials {glass}
materials {glass, steel}
materials standard {glass, steel} custom {spray}
materials {glass, steel} custom {spray}
materials custom {spray} standard {glass, steel}
Description
This command allows to define the names of the standard and custom materials. The standard materials are used for modelling granules and walls, while the custom materials can be used for modelling special substances like liquid droplets, tracers, etc.
Custom materials behave differently depending on their exact type. Currently, the following types are available:
droplet: Droplets have only a single property, density, and only gravity and drag forces can affect the dynamics of custom material particles. Custom material particles disappear when they come in contact with standard materials (particles or walls), while they compenetrate other custom material particles.photon: Photons are not affected by any forces. The exact behavior upon contact with standard materials is defined by the material_interaction_properties command.
The list of standard materials can directly follow the materials command
(see first example) or follow the standard keyword (see third and fifth
examples); furthermore, it must contain at least one material name. The list of
custom materials must follow the custom keyword and can be empty.
The properties of the materials are defined with the material_properties command and the interaction between different materials with the material_interaction_properties command.
Restrictions
In case of restarting simulation, the number of materials in the list must match the number of materials specified in the restart file.
Default
none