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

Problem with a leapfrog scheme for wave equation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
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
Problem with Joulebs effect source term in the energy equation galaad OpenFOAM Running, Solving & CFD 0 January 19, 2006 13:01


All times are GMT -4. The time now is 15:58.