1D advection with damping/forcing

  • Thread starter Thread starter Tunneller
  • Start date Start date
  • Tags Tags
    1d
Tunneller
Messages
3
Reaction score
0
Hi,

I'm looking for a solution to

u_t + A u_x + B (u - f) = 0

where f is a given function linear in x and constant in t.

u(x,0) = f(x)

u(0,t) = f(0)

A and B constant. Does this equation have a name? It's almost the inviscid Burger, but has the damping term (B u) and force term (B f).

Also, any ideas on a solution? I've tried method of characteristics but I trip over the third term and/or the boundary conditions

Regards, John
 
Physics news on Phys.org
Your PDE is first order, so you need only one boundary condition.

The general solution to your PDE is as follows

u(t,x) = -e^{-Bt}[\int_0^tBf(A\xi-At+x)e^{B\xi}d\xi -F(-At+x)],

where F is an arbitrary function.

If the boundary condition is u(x,0) = f(x) then

u(t,x) = -e^{-Bt}[\int_0^tBf(A\xi-At+x)e^{B\xi}d\xi -f(-At+x)]
 
Wow! That's a lot more elegant than what I eventually struggled through... :-)

Using a Laplace' transform on the time, then I solved the ODE in x and transformed back. That did use both the boundaries though...

I think the reason I have two boundary statements is that I forgot to mention it is u(x,0) for x>0 and u(0,t) for t>0 so effectively forms a single boundary condition on the "quarter-plane". The solution takes one form for x-vt >0 and another for x-vt<0.

Appreciate the help, regards, John
 
Are there any good visualization tutorials, written or video, that show graphically how separation of variables works? I particularly have the time-independent Schrodinger Equation in mind. There are hundreds of demonstrations out there which essentially distill to copies of one another. However I am trying to visualize in my mind how this process looks graphically - for example plotting t on one axis and x on the other for f(x,t). I have seen other good visual representations of...
Back
Top