ExtrusionΒΆ

Type:section
Appearance:optional
Excludes:CoordinateSystem

The Extrusion section describes the extrusion of 2D objects to the third dimension. A 3D layout for JCMgeo consists of a 2D shapes defined in an x-y-coordinate system and a Extrusion section which defines how the 2D shapes are extruded in the third dimension (z-coordinate). An arbitrary number of layers (Layer) with given layer heights (thickness in z-direction, Thickness) is stacked upon each other in positive z-direction. In the different layers of the extrusion, different domain identifiers can be attributed to the extruded shapes using the parameter DomainIdMapping. Also extrusions with non-rectangular side-walls are possible which allows for the creation of, e.g., corner roundings in z-direction, spherical shapes, etc. For this, parameterized geometry values from the 2D layout can be specified at the interfaces between adjacent layers (LayerInterface) using the parameters GeometryValues.

By default the extrusion starts at z=0 in the global coordinate system. To shift the extrusion stack, the global z position of an interface between two layers can be set by GlobalZ within a LayerInterface section.

Please also consult the geometry tutorial which comes with the software distribution for a detailed description of the layout format.

A Layout section for a 3D geometry looks like this:

Layout {
  UnitOfLength = 1.0e-9
  Polygon {
    Name = "ComputationalDomain"
    Points = [-250.0 -250.0, 250.0 -250.0, 250.0 250.0, -250.0 250.0]
    DomainId = 101
    Priority = -1
  }
  Circle {
    Name = "Cone"
    DomainId = 102
    Priority = 1
    Radius = 90.0
  }
  Extrusion {
    LayerInterface {
      BoundaryClass = Transparent
      ExteriorDomainId = 1
    }
    Layer {
      Thickness = 500.0
      DomainIdMapping = [101 1, 102 2]
    }
    LayerInterface {
      BoundaryClass = Transparent
      ExteriorDomainId = 1
    }
  }
}

This example corresponds to a cylinder of height 500nm with a radius of 90nm, enclosed in a cubic computational domain with side length 500nm. The cylinder has a domain identifier of 2, the surrounding, subspace, and superspace carry the domain identifier 1. (Within the 500nm thick layer, the extruded circle region of the layout with identifier 102 is mapped to the (3D) domain identifier 2, the background identifier is mapped from 101 to the identifier 1.)