-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added individual rates/masks in single process
- Loading branch information
=
committed
Nov 22, 2024
1 parent
ac62472
commit 19c95f9
Showing
806 changed files
with
266,442 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
from argparse import ArgumentParser | ||
|
||
# parse config file name and simulation dimension | ||
parser = ArgumentParser( | ||
prog="boschProcessEmulate", | ||
description="Run a Bosch process on a trench geometry.", | ||
) | ||
parser.add_argument("-D", "-DIM", dest="dim", type=int, default=2) | ||
parser.add_argument("filename") | ||
args = parser.parse_args() | ||
|
||
# switch between 2D and 3D mode | ||
if args.dim == 2: | ||
print("Running 2D simulation.") | ||
import viennaps2d as vps | ||
else: | ||
print("Running 3D simulation.") | ||
import viennaps3d as vps | ||
|
||
params = vps.ReadConfigFile(args.filename) | ||
vps.Logger.setLogLevel(vps.LogLevel.INFO) | ||
|
||
geometry = vps.Domain() | ||
vps.MakeTrench( | ||
domain=geometry, | ||
gridDelta=params["gridDelta"], | ||
xExtent=params["xExtent"], | ||
yExtent=params["yExtent"], | ||
trenchWidth=params["trenchWidth"], | ||
trenchDepth=params["maskHeight"], | ||
taperingAngle=0.0, | ||
baseHeight=0.0, | ||
periodicBoundary=False, | ||
makeMask=True, | ||
material=vps.Material.Si, | ||
).apply() | ||
|
||
direction = [0.0, 0.0, 0.0] | ||
direction[vps.D - 1] = -1.0 | ||
|
||
depoModel = vps.IsotropicProcess(params["depositionThickness"]) | ||
|
||
# Define directional rate | ||
etchDir = vps.RateSet( | ||
direction=direction, | ||
directionalVelocity=params["ionRate"], | ||
isotropicVelocity=0.0, | ||
maskMaterials=[vps.Material.Mask] | ||
) | ||
|
||
# Define isotropic rate | ||
etchIso = vps.RateSet( | ||
direction=direction, | ||
directionalVelocity=0.0, | ||
isotropicVelocity=params["neutralRate"], | ||
maskMaterials=[vps.Material.Mask, vps.Material.Polymer] | ||
) | ||
|
||
# List of rate sets | ||
etchRatesSet = [etchDir, etchIso] | ||
|
||
# Create the DirectionalEtching process with multiple rate sets | ||
etchModel = vps.DirectionalEtching(rateSets=etchRatesSet) | ||
|
||
numCycles = 4 #int(params["numCycles"]) | ||
n = 0 | ||
|
||
geometry.saveSurfaceMesh("boschProcessC_{}".format(n)) | ||
geometry.saveVolumeMesh(f"boschProcessC_{n}") | ||
n += 1 | ||
|
||
vps.Process(geometry, etchModel, params["etchTime"]).apply() | ||
geometry.saveSurfaceMesh("boschProcessC_{}".format(n)) | ||
geometry.saveVolumeMesh(f"boschProcessC_{n}") | ||
n += 1 | ||
|
||
for i in range(numCycles): | ||
# Deposit a layer of polymer | ||
geometry.duplicateTopLevelSet(vps.Material.Polymer) | ||
vps.Process(geometry, depoModel, 1.).apply() | ||
geometry.saveSurfaceMesh("boschProcessC_{}".format(n)) | ||
geometry.saveVolumeMesh(f"boschProcessC_{n}") | ||
n += 1 | ||
|
||
# Etch the trench | ||
vps.Process(geometry, etchModel, params["etchTime"]).apply() | ||
geometry.saveSurfaceMesh("boschProcessC_{}".format(n)) | ||
geometry.saveVolumeMesh(f"boschProcessC_{n}") | ||
n += 1 | ||
|
||
# Ash the polymer | ||
geometry.removeTopLevelSet() | ||
geometry.saveSurfaceMesh("boschProcessC_{}".format(n)) | ||
geometry.saveVolumeMesh(f"boschProcessC_{n}") | ||
n += 1 | ||
|
||
geometry.saveVolumeMesh("finalC") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.