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

Lax-Wendroff solve hyperbolic equations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2003, 05:53
Default Lax-Wendroff solve hyperbolic equations
  #1
zyf
Guest
 
Posts: n/a
I'm trying to solve a standard hyperbolic equations with lax-wendroff method, but after two thousand timesteps, got divergence result. I'm not sure if the BC manipulation is right.

du/dt+a*dv/dz=0

dv/dt+a*du/dz=0

with a=5000.here 'u' is velocity, 'v' is stress. t:[0,nt] z:[0,nz]

set B.C.:at point z=0, u=0

at point z=nz, v=0

I.C.: u=0;v=0;except at point uz=nz/2, u=1.

difference with Lax-Wendroff method. because 'a=5000', so set 'dt/dz=1e-4' to stablize L-W method.

at boudnary set

u(-1,t)=-u(1,t)

v(-1,t)=2*v(0,t)-v(1,t)

u(nz+1,t)=2*u(nz,t)-u(nz-1,t)

v(nz+1,t)=-v(nz-1,t)

does the boudnary setting right?

thanks . Zyf
  Reply With Quote

Reply


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
Solver Equations Carola CFX 9 August 12, 2003 09:27
trying to solve 2d compressible euler equations dave Main CFD Forum 4 July 16, 2003 10:08
How to solve equations from Penalty FEM in Fluids? Yiling Main CFD Forum 4 March 25, 2003 17:43
Agglomeration multigrid to solve Euler equations Jian Xia Main CFD Forum 3 January 11, 2000 19:07
extremely simple problem... can you solve it properly? Mikhail Main CFD Forum 40 September 9, 1999 10:11


All times are GMT -4. The time now is 16:56.