-
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.
Implement SF6 etching and Bosch process example
- Loading branch information
Showing
6 changed files
with
235 additions
and
4 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
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,8 @@ | ||
project(boschProcess LANGUAGES CXX) | ||
|
||
add_executable(bosch "boschProcess.cpp") | ||
target_link_libraries(bosch PRIVATE ViennaPS) | ||
|
||
add_dependencies(ViennaPS_Examples bosch) | ||
# viennacore_setup_bat(bosch ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) | ||
configure_file(config.txt ${CMAKE_CURRENT_BINARY_DIR}/config.txt COPYONLY) |
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,75 @@ | ||
#include <geometries/psMakeHole.hpp> | ||
#include <models/psIsotropicProcess.hpp> | ||
#include <models/psSF6O2Etching.hpp> | ||
#include <psProcess.hpp> | ||
#include <psUtils.hpp> | ||
|
||
namespace ps = viennaps; | ||
|
||
template <class NumericType, int D> | ||
void etch(ps::SmartPointer<ps::Domain<NumericType, D>> domain, | ||
ps::utils::Parameters ¶ms) { | ||
auto model = ps::SmartPointer<ps::SF6Etching<NumericType, D>>::New( | ||
params.get("ionFlux"), params.get("etchantFlux"), | ||
params.get("meanEnergy"), params.get("sigmaEnergy"), | ||
params.get("ionExponent")); | ||
ps::Process<NumericType, D>(domain, model, params.get("etchTime")).apply(); | ||
} | ||
|
||
template <class NumericType, int D> | ||
void deposit(ps::SmartPointer<ps::Domain<NumericType, D>> domain, | ||
NumericType time, NumericType rate) { | ||
domain->duplicateTopLevelSet(ps::Material::Polymer); | ||
auto model = | ||
ps::SmartPointer<ps::IsotropicProcess<NumericType, D>>::New(rate); | ||
ps::Process<NumericType, D>(domain, model, time).apply(); | ||
} | ||
|
||
template <class NumericType, int D> | ||
void ash(ps::SmartPointer<ps::Domain<NumericType, D>> domain) { | ||
domain->removeTopLevelSet(); | ||
} | ||
|
||
int main(int argc, char **argv) { | ||
constexpr int D = 3; | ||
using NumericType = double; | ||
|
||
ps::Logger::setLogLevel(ps::LogLevel::INFO); | ||
omp_set_num_threads(16); | ||
|
||
// Parse the parameters | ||
ps::utils::Parameters params; | ||
if (argc > 1) { | ||
params.readConfigFile(argv[1]); | ||
} else { | ||
std::cout << "Usage: " << argv[0] << " <config file>" << std::endl; | ||
return 1; | ||
} | ||
|
||
// geometry setup | ||
auto geometry = ps::SmartPointer<ps::Domain<NumericType, D>>::New(); | ||
ps::MakeHole<NumericType, D>( | ||
geometry, params.get("gridDelta") /* grid delta */, | ||
params.get("xExtent") /*x extent*/, params.get("yExtent") /*y extent*/, | ||
params.get("holeRadius") /*hole radius*/, | ||
params.get("maskHeight") /* mask height*/, 0., 0 /* base height */, | ||
false /* periodic boundary */, true /*create mask*/, ps::Material::Si) | ||
.apply(); | ||
|
||
const NumericType depositionRate = params.get("depositionRate"); | ||
const NumericType depositionTime = params.get("depositionTime"); | ||
const int numCycles = params.get<int>("numCycles"); | ||
|
||
int n = 0; | ||
etch(geometry, params); | ||
for (int i = 0; i < numCycles; ++i) { | ||
geometry->saveSurfaceMesh("boschProcess_" + std::to_string(n++) + ".vtp"); | ||
deposit(geometry, depositionTime, depositionRate); | ||
geometry->saveSurfaceMesh("boschProcess_" + std::to_string(n++) + ".vtp"); | ||
etch(geometry, params); | ||
geometry->saveSurfaceMesh("boschProcess_" + std::to_string(n++) + ".vtp"); | ||
ash(geometry); | ||
} | ||
|
||
geometry->saveSurfaceMesh("boschProcess_final.vtp"); | ||
} |
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,21 @@ | ||
# Geometry | ||
gridDelta = 1.0 | ||
xExtent = 50.0 | ||
yExtent = 50.0 | ||
holeRadius = 10.0 | ||
maskHeight = 10.0 | ||
|
||
# all flux values are units 1e16 / cm² | ||
ionFlux=10. | ||
etchantFlux=50. | ||
|
||
ionExponent=200 | ||
meanEnergy=100 # eV | ||
sigmaEnergy=10 # eV | ||
|
||
etchTime = 10.0 | ||
|
||
depositionRate = 0.2 | ||
depositionTime = 10.0 | ||
|
||
numCycles = 5 |
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
File renamed without changes.