CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Problem with a leapfrog scheme for wave equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2010, 09:19
Default Problem with a leapfrog scheme for wave equation
  #1
New Member
 
O.F.
Join Date: Jun 2010
Posts: 1
Rep Power: 0
Shiranui is on a distinguished road
Hi,

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 :
http://img688.imageshack.us/img688/9277/mode3.jpg

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.

Olivier.

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.
Shiranui is offline   Reply With Quote

Reply

Tags
leapfrog numerical scheme


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: scalar transport equation problem Benny FLUENT 5 March 22, 2018 13:28
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Second order scheme with buoyantSimpleFoam mighelone OpenFOAM Running, Solving & CFD 2 September 26, 2012 10:28
Problem with Joulebs effect source term in the energy equation galaad OpenFOAM Running, Solving & CFD 0 January 19, 2006 12:01


All times are GMT -4. The time now is 12:37.