We've used two boundary conditions so far:
Now, let's look at the last boundary condition you'll need for the final goal of computing the technique which will create the perfect hamburger: a radiative end to a section.
If one section of an object is exposed to the outside environment, then it can radiate away heat to the environment -- or absorb heat from the environment. We'll adopt the simple assumption that the object radiates and emits like a blackbody.
Let's look again at one small section of a metal rod. The section has a width dx and a cross-section area A. We are interested in the amount of heat flowing through this little section of the rod. We'll use the convention that rate at which energy flows through the section, q(x), is positive if the energy flows in the positive X direction. The units of q are
Joules q = heat flow = ----------- s * m^2
The energy radiated away from this little section depends on the temperature of the section and the area of the end.
A is area of the end of the segment (m^2) σ is the Stefan-Boltzmann constant (J / s*m^2*degK^4) T is the temperature of the material (degK)
Of course, radiation from the outside world can also be absorbed by this exposed tip.
The amount of energy it absorbs is
A is area of the end of the segment (m^2) σ is the Stefan-Boltzmann constant (J / s*m^2*degK^4) T is the temperature of the outside world ext (degK)
Eventually, you will face a challenge: compute the temperature throughout a hamburger patty as it sits on a hot grill. This is a three-dimensional situation, so it's a bit more complicated than any of the models you have run so far. You can still apply the same rules, though.
It may make sense to break up your calculations into several groups, depending on the situation of each piece of meat.
When you move to 3-D calculations, you will find that the conditions for numerical stability become more severe: you may have to use very small timesteps and/or space-steps to prevent instabilities from ruining your results.
Now, in order to make a hamburger which a person would really want to eat, it is necessary to flip it over at least once (and perhaps several times) on the grill; otherwise, one side burns while the other one remains nearly frozen.
Q: How can you incorporate a "flip" into your simulation?