Skip to content

Schottky and ohmic contact #462

Answered by fhagemann
rajxabc asked this question in Q&A
Feb 20, 2025 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

This looks good, in principle.
Code-wise, the only thing you could do is to use a ConstantImpurityDensity, if you just have a p-type bulk.
This is because they impurity density is only applied to the semiconductor, not the contacts or surroundings:

using SolidStateDetectors
using Unitful
using Plots

T = Float32
sim = Simulation{T}(SSD_examples[:InfiniteParallelPlateCapacitor])
sim.detector = SolidStateDetector(sim.detector, SolidStateDetectors.ConstantImpurityDensity{T}(-1e14))

calculate_electric_potential!(
    sim,
    convergence_limit = 1e-6,
    max_tick_distance = (0.002, 1, 1) .* u"cm",
    min_tick_distance = (1e-7, 1, 1) .* u"m",
    refinement_limits = [0.005, 0.001],
    depl…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rajxabc
Comment options

Answer selected by rajxabc
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants