reduced heat demo diffusivity to keep sim stable
@@ -7,7 +7,7 @@ class HeatEquilibriumDemo(App):
App.__init__(self, 'Heat Relaxation',
'A horizontal plate at the top is heated and a sphere at the bottom is cooled.',
stride=10)
- self.heat = world.add(Heat(Domain([64, 64]), diffusivity=1))
+ self.heat = world.add(Heat(Domain([64, 64]), diffusivity=0.2))
world.add(HeatSource(box[44:46, 0:64], rate=1))
world.add(ColdSource(Sphere([20, 32], 4), rate=1), physics=GeometryMovement(lambda t: Sphere([self.y, self.x], 4)))
self.add_field('Temperature', lambda: self.heat.temperature)
