Layout3DΒΆ
Type: | section |
---|---|
Appearance: | simple |
A Layout3D
section for a 3D geometry looks like this:
Layout3D {
UnitOfLength = 1e-9
BoundaryConditions {
Boundary {
Direction = Horizontal
Class = Transparent # Periodic
}
Boundary {
Direction = Vertical
Class = Transparent
}
}
Extrusion {
Objects {
# 2D definitions (x-y-coordinates)
Polygon {
Name = "ComputationalDomain"
DomainId = 1
Priority = -1
Points = [0 0, 500 0, 500 500, 0 500]
}
Polygon {
Name = "Triangular Object"
DomainId = 2
Priority = 1
Points = [100 100, 400 100, 100 400]
}
}
# extrusion to 3D (z-direction)
MultiLayer {
LayerInterface {
BoundaryClass = Transparent
ExteriorDomainId= 10
}
Layer {
Thickness = 40
DomainIdMapping = [1 11, 2 12]
}
Layer {
Thickness = 20
DomainIdMapping = [1 11, 2 13]
}
LayerInterface {
BoundaryClass = Transparent
ExteriorDomainId= 11
}
}
}
}
The 3D layout consists of a 2D part (where different shapes are 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). In the different layers of the extrusion, different domain identifiers can be attributed to the extruded shapes. 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.
Please also consult the geometry tutorial which comes with the software distribution for a detailed description of the layout format.