Neko
0.8.0rc2
A portable framework for highorder spectral element flow simulations

Point zones are subsections of the computational domain which are selected based on a given geometrical criterion. A point zone is defined by the point_zone_t
abstract type. Each point_zone_t
object has a unique name
attribute, and a mask
containing a list of linear indices referring to the GLL points whose coordinates verify the abovementioned geometrical criterion. Zones can then be used for different purposes, an example being applying a localized source term or probing a particular zone of interest.
There are three predefined shapes from which to initialize a point zone in the case file: boxes, spheres and cylinders. Each shape is described by its own subtype box_point_zone_t
, sphere_point_zone_t
and cylinder_point_zone_t
, extending the abstract class point_zone_t
.
A box is defined from its x,y
and z
boundaries.
A sphere is defined by its center and its radius.
A cylinder is defined by its end points and its radius.
The current version of Neko does not support userdefined shapes from the case file. That said, shapes can be defined manually into new types by extending point_zone_t
and implementing the abstract criterion
interface.
Point zones defined in the case file are stored in a point zone registry, neko_point_zone_registry
. The point zone registry allows for the retrieval of any point_zone_t
object when needed. Once a point_zone_t
object is retrieved, it can be used for e.g. applying a source term to a localized zone, as demonstrated below: