There is something I do not fully understand when we manually derive the weak form, when we start with a PDE, like the heat equation for instance.
I do understand that we start with the PDE, multiply both sides by a test function “v”, and integrate over the whole volume. Then, whenever we see double spatial derivatives, we integrate by parts to get rid of them, and we use the fact that the test function “v” vanishes on those boundaries. So far so good.
However I see that “v” does not seem to vanish. For example for the heat equation with Fourier heat conduction plus convection, the weak form contains a term with v in a surface integral, which is the boundaries of the heated object. Here v is non zero. Why, how is that possible? Why don’t we set it to 0 there also, if we had set it to 0 in the integration by parts process before?
Here’s the term of the weak form I’m talking about for the convection case: v * h * (T - T_room) * ds(exposed_surface)
. Here h is the usual convective coefficient, T is the unknown function to be solved for, and v is the test function. How on Earth is v non zero on this surface?