1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Forward Finite Differene Method

  1. Sep 3, 2011 #1
    1. The problem statement, all variables and given/known data

    For a given function u=u(x,t), start with Taylor series to implement the forward finite difference method to the heat conduction equation in non-dimensional form

    [itex]\frac{\partial u}{\partial t}=\frac{\partial ^2u}{\partial x^2}[/itex]

    by using the following steps:

    a) Obtain the first three truncated terms for each derivative in Eq. (1), using the method discussed in class. Your answer should be in terms of the step sizes [itex]\Delta t[/itex] and [itex]\Delta x[/itex]. Use subscript i for x and superscript n for t to represent the nodes.

    b) From your answers in Part a), determine the order of the truncation error in terms of the step sizes.

    c) As an example, given the function

    [itex]u=(2^x)sin(t)[/itex]

    In which the non-dimensional time t is in radians, calculate the exact value of the truncation error for [itex]\partial u/ \partial t[/itex] at node (i,n+1) where non-dimensional variables have values x=0.22100 and t=1.0472. Use [itex]\Delta t=0.015[/itex] and [itex]\Delta x=0.22[/itex].

    d) Calculate the value of the leading truncated term and compare to the exact value of the truncation error.

    Keep 5 significant digits in your numerical answers.

    2. Relevant equations

    [itex]\frac{\partial u}{\partial t}=\frac{\partial ^2u}{\partial x^2}[/itex]

    Taylor series:

    [itex]u(x_0+\Delta x)=u(x_0)+\frac{\Delta x}{1!}u'(x_0,u(x_0))+\frac{\Delta x^2}{2!}f''(x_0,u(x_0))+\frac{\Delta x^3}{3!}u'''(x_0,u(x_0))+…[/itex]

    3. The attempt at a solution

    I tried to solve this problem a couple times already but upon my last attempt I realized that I was not answering what the problem was asking for. I'm stuck on understanding the part a). Here's what I'm thinking…I'm suppose to take the derivative terms of the Taylor series and substitute in the forward finite difference form for each term. However, the [itex]\Delta x[/itex] terms will cancel. This does not seem correct. I'm not sure what the problem means when it says to start with the Taylor series to implement the forward finite difference method. Also, the first sentence of part a) had me confused. Could someone provide some clarification to this problem so that I may work on the other parts.
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?



Similar Discussions: Forward Finite Differene Method
  1. Finite Group (Replies: 0)

Loading...