Thermal gradients
How to create thermal gradients in different directions
# Walls:
INCLUDE_RIGHT_SIDEWALL = True
INCLUDE_LEFT_SIDEWALL = True
INCLUDE_TOP_SIDEWALL = False
INCLUDE_BOTTOM_SIDEWALL = False
# Hot and cold sides [m]:
COLD_SIDE_POSITION_RIGHT = False
COLD_SIDE_POSITION_TOP = True
HOT_SIDE_POSITION_LEFT = False
HOT_SIDE_POSITION_BOTTOM = True
# Phonon source:
PARTICLE_SOURCES = [Source(x=0, y=0, z=0,
size_x=WIDTH, size_y=0, size_z=THICKNESS,
angle_distribution="random")]

Last updated