2.2.19 region

User-defined geometry.

Syntax:

region      id style args

Examples:

region      box block 0 25 0 10 0 25 
region      wall1 polygon p1 15 0 0 p2 15 10 0 p3 10 10 0 p4 10 0 0

Description:

If the style block is used, xlo, ylo, and zlo will define the lower bound of the simulation box.

If the style polygon is used, user needs to construct the polygon one point by one point. The sequence of the firs three points determines the normal direction of the surface:

n = -(pt2 --pt1)×-(pt3---pt1)
|(pt2 - pt1)× (pt3 - pt1)|

Restriction:

Reset the time step.