Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Welberg123

    Finite Differences

    Thanks all for the answers, *alfa was a typo when I wrote it here, in my program it was written correctly. I've been looking deeper into the physics and I made a couple of mistakes with the boundary conditions, here's the updated code: program Telegraph integer*4 Nspatial...
  2. Welberg123

    Finite Differences

    Doesn't work either[sad]
  3. Welberg123

    Finite Differences

    Doesn't work either[sad] I'm sure it's a silly mistake that's causing the results to be incoherent, but I cannot find it
  4. Welberg123

    Finite Differences

    Thanks for the answer. If I start the temporal loop (j index) at j=1, the result still doesn't make sense. I also tried to add a reflexion boundary condition to avoid those two values: do j=1, 2 u(i,j)=u(i,-j) enddo but still doesn't work. Could you please be more specific...
  5. Welberg123

    Finite Differences

    Hi, I'm trying to write a program in Fortran77 to solve the telegraph's equation using Finite Differences, but there seems to be a problem somewhere in the code. This is what I got so far: Explanation of the idea Code: As you can see, the result is nonsensical (I guess due to some...

Part and Inventory Search

Back
Top