|June 22, 2010, 09:19||
Problem with a leapfrog scheme for wave equation
Join Date: Jun 2010
Posts: 1Rep Power: 0
I have coded the 1D acoustical wave equation (actually, I coded the two Euler equations that one must combine to obtain the wave equation) using a finite differences leapfrog scheme (three time steps).
But when I try to excite a resonant mode by implementing a sinusoidal source, one value over two is zero.
For exemple, this is what i obtain for the third mode :
The shape of the signal is correct, the position of the nodes and anti-nodes is good, but where do these oscillations come from ?! Does someone know ? Thanks.
PS : sorry if my english is not perfect because I'm french. I hope my problem was understandable.
Last edited by Shiranui; June 22, 2010 at 10:56.
|leapfrog numerical scheme|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Second order scheme with buoyantSimpleFoam||mighelone||OpenFOAM Running, Solving & CFD||2||September 26, 2012 10:28|
|Re: scalar transport equation problem||Benny||FLUENT||4||May 9, 2010 22:12|
|mass flow in is not equal to mass flow out||saii||CFX||2||September 18, 2009 08:07|
|Calculation of the Governing Equations||Mihail||CFX||5||July 25, 2008 17:29|
|Problem with Joulebs effect source term in the energy equation||galaad||OpenFOAM Running, Solving & CFD||0||January 19, 2006 12:01|