PinholeΒΆ

Learning targets

  • Transparent boundary conditions in 3D

  • Layered exterior domain

This example constructs a nano-scale circular hole in a thin layer (e.g. metal) on top of a substrate.

_images/ex3d_pinhole_mesh.png

.jcm Input File

  • layout.jcm [ASCII]

     1Layout3D {
     2  UnitOfLength = 1e-09
     3  
     4  MeshOptions {
     5    MaximumSideLength = 50
     6  }
     7  BoundaryConditions {
     8    Boundary {
     9      Direction = All
    10      Class = Transparent 
    11     
    12    }
    13  }
    14  Extrusion {
    15    Objects {
    16      
    17      Polygon { 
    18        Name = "ComputationalDomain/Background" 
    19        DomainId = 1
    20        Priority = -1 
    21        Points = [-200 -200, 200 -200, 200 200, -200 200]         
    22      } 
    23      
    24      Circle {
    25        Name = "Circle" 
    26        DomainId = 2
    27        Radius = 100
    28        RefineAll = 2
    29      }
    30    }
    31    
    32    MultiLayer {
    33      MeshOptions {
    34        MaximumSideLengthZ = 50
    35      }    
    36      Layer {
    37        Thickness = 100
    38        DomainId = 1
    39      }
    40      Layer {
    41        Thickness = 20
    42        DomainIdMapping = [1 2 
    43                           2 3]
    44      }
    45      LayerInterface {
    46        GeometryValues = [
    47        Circle/Radius = 80
    48        ]
    49        GlobalZ = 10
    50      }
    51      Layer {
    52        Thickness = 100
    53        DomainIdMapping = [1 3]
    54      }
    55    }  
    56  }
    57}