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

1D Euler Equation by Finite Difference Scheme

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2014, 01:53
Default 1D Euler Equation by Finite Difference Scheme
  #1
New Member
 
Cat
Join Date: Aug 2014
Posts: 6
Rep Power: 11
Catkun is on a distinguished road
Hi guys,

I have been writing some code to numerically solve 1D Euler's equation by using the WENO scheme. Supposed we are given the initial condition, I can compute the U_t by using a fifth order WENO scheme. Then I can compute U(x,t+1). However, to compute U(x,t+2) I need to know F(U(x,t+1)). I don't know how to obtain those value. Could anyone tell me how to obtain them or give me a good reference? Thanks a lot.
Catkun is offline   Reply With Quote

Old   August 19, 2014, 04:18
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,813
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
from the intial condition U(x,t0) you reconstruct numerically the flux F[U(x,t0)], right? Hence, the same you have to do when U(x,t0+dt) is available
Catkun likes this.
FMDenaro is offline   Reply With Quote

Old   August 19, 2014, 18:54
Default
  #3
New Member
 
Cat
Join Date: Aug 2014
Posts: 6
Rep Power: 11
Catkun is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
from the intial condition U(x,t0) you reconstruct numerically the flux F[U(x,t0)], right? Hence, the same you have to do when U(x,t0+dt) is available
Hi FMDenaro,

Sorry for not making the problem clear. My actual question is how to reconstruct the flux given the U.
Catkun is offline   Reply With Quote

Old   August 20, 2014, 03:27
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,813
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Catkun View Post
Hi FMDenaro,

Sorry for not making the problem clear. My actual question is how to reconstruct the flux given the U.

There is no unique answer, it depends on the scheme you wanto to use.
As reference, have a look to the book of Leveque on hyperbolic systems
FMDenaro is offline   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
Compact finite difference arunsmec Main CFD Forum 5 August 18, 2013 05:20
Finite Difference in MATLAB Help abe_cooldude Main CFD Forum 0 May 28, 2010 02:32
finite difference vs. finite volume?? morteza08 Main CFD Forum 2 May 25, 2010 16:59
Finite difference schemes on non uniform grid charlie ryan Main CFD Forum 3 October 18, 2007 11:32
Finite Volume Vs Finite Difference Mukkarum Main CFD Forum 3 February 8, 2003 11:16


All times are GMT -4. The time now is 21:57.