Put and apply the Dirichlet gauge transform for constant drift . Taking derivatives directly removes the advection term and gives the damped heat equation . Thus , while the two Dirichlet boundary conditions become and .
The Dirichlet heat kernel on an interval and its damped version areThe method of images gives an alternative, often better at short times:To determine the boundary signs, multiply the equation for by the backward heat kernel and use integration by parts in . Since the kernel vanishes at , the surviving boundary expression is . Consequently an integral representation containing only the given data isThis is a Dirichlet boundary-forcing heat-kernel formula. For the short-time Gaussian decay makes the forcing integral well defined. The endpoint values are interior limits of the complete formula: evaluating a termwise sine series at an endpoint before taking the time integral loses the nonzero boundary values. At the initial corners a continuous classical solution requires and ; otherwise the same formula describes the solution away from those corners.
Here is a second integral representation, useful when the integral transforms are explicit. Extend by zero after ; the values of the extension cannot affect a solution at . Write their Laplace transforms as and set using the principal square root. The transformed Dirichlet Green function for isIt vanishes at both endpoints and its first derivative in jumps by , which verifies the sign of its unit source. The resolvent kernel for Dirichlet advection-diffusion on an interval gives the transformed solutionThe Bromwich inversion formula therefore yieldsThe square-root notation creates no genuine branch singularity here: all three kernels are even in . Their only spatial resolvent operator poles are . This transformed formula and the causal heat kernel formula represent the same solution in the usual smooth-data class.
Use the Bromwich inversion formula in the real variable , with :When the relevant Laplace transforms and spatial integral transforms are explicit, every sample of this integrand can be evaluated directly, without a time-stepping approximation to the partial differential equation. Split the initial condition integral at : the two pieces of are linear combinations of , so truncated spatial exponential transforms suffice. For real data the negative-frequency half is the complex conjugate of the positive-frequency half.
A practical numerical integration is to truncate to , apply an adaptive quadrature rule, and independently increase and refine the quadrature. Choose large enough to remain to the right of all singularities, but avoid an unnecessarily large . Evaluate hyperbolic function ratios in scaled form; for example,This prevents overflow when is large. The boundary contributions at an interior point are damped by or , with . Near an endpoint more frequencies are needed; at the endpoint itself use the prescribed Dirichlet boundary condition. The initial condition resolvent has a generally only tail. Treat its oscillatory tail accurately, subtract a known transform with the same leading term, or evaluate that contribution separately with the heat kernel.
An equally useful check is the eigenfunction expansion. DefineThe causal modal formula isIt follows either from the heat kernel formula or directly from integration by parts against a sine eigenfunction. Exponential-transform formulas evaluate the time integral explicitly when available. The initial condition contribution has a Gaussian function cutoff in for each positive time. Nonzero endpoint forcing produces a more slowly convergent sine series tail. A boundary lifting gives , where has zero Dirichlet boundary conditions and forcing ; expanding gives better convergence and imposes the endpoint values exactly. At very small times the method of images is often more efficient than retaining many modes.
Check convergence by increasing both the frequency cutoff and quadrature resolution, and compare with a separately truncated causal modal or image-kernel evaluation. Causality in finite-time Laplace contour inversion means a leftward contour deformation must respect both resolvent operator poles and growth of the transformed data. In particular, the transform of data extended by zero after can grow like in the left half-plane: for one cannot close that contour indiscriminately and discard its large arc. The modal forcing integral with upper limit avoids this causality error.
Articles by others on the same topic
There are currently no matching articles.