Objects are used to describe the geometry of the simulation domain and to specify initial and boundary conditions. There are four basic object types, box, sphere, cylinder and halfspace. Additional geometries and obstacles can be created with the CSG operations union, difference and intersection. There exists one restriction for obstacle cells, namely two opposite faces are not allowed to touch fluid cells.
As already mentioned in section , objects are just another type of blocks. The commands given in table can be used inside any object-block.
Now we describe the differences between the object-types.
north | |
south | |
west | |
east | |
top | |
bottom |
poly { points 8,<0.0,0.0,0.0>, <1.0,0.0,0.0>, <1.0,1.0,0.0>, <0.0,1.0,0.0>, <0.0,0.0,1.0>, <1.0,0.0,1.0>, <1.0,1.0,1.0>, <0.0,1.0,1.0> vertices 36,0,1,2,3,0,-1, 1,5,6,2,1,-1, 4,5,6,7,4,-1, 0,4,7,3,0,-1, 3,2,6,7,3,-1, 0,1,5,4,0,-1 }
The blocks union, difference and intersection define a CSG-operation on two of the objects described above. Such an operation is defined as a block in which two object-blocks are defined, for example
union { box { ... } box { ... } }
The cells of the first given object are called and the cells of the second are called . Then, the CSG-commands define the following cells:
union | |
difference | |
intersection |