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

Hyperbolic equation in conservative form

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2018, 13:58
Default Hyperbolic equation in conservative form
  #1
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
say, for the most common hyperbolic equation

\partial_{t}u + \partial_{x}[f(u)] = 0

Let's be specific, say

f(u) = v(u)u

(it's the LWH traffic model) where the v(u) is a function of u, which is v(u) = v_0 u(1-u/c) and the v_0 = const, u is the density of car flow.

To solve this equation, of course I have to find out the CFL condition, but for the conservative form, the coefficient in front of convective term is 1 which means dt is bounded by 1; however it seems the "wave velocity" should be \frac{\partial f}{\partial u} which aka phase velocity. But this requires to use the product rule of the derivative and it kind of like break the conservative form and it becomes

\partial_{t}u + v\partial_{x}u + u\partial_{x}v = 0,

and now the velocity used for computing CFL should be v. But when actually solve this equation, should I back to the conservative form, or just stay with the one after product rule?

And a more general question: for conservative form, how should I determine the CFL condition? What if I have a complex f(u) and not sure which one is the velocity I should use for CFL condition? Is it still the phase velocity I mentioned above? or is it something else?
TurbJet is offline   Reply With Quote

Old   February 20, 2018, 14:20
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
When you consider d/dx f(u) = df/du *du/dx you express the quasi-linear form of the conservation law

du/dt + f'(u) du/dx =0

Have a look to the traffic flow equation problem described in the book of Leveque (page 203).
FMDenaro is offline   Reply With Quote

Old   February 20, 2018, 15:57
Default
  #3
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
When you consider d/dx f(u) = df/du *du/dx you express the quasi-linear form of the conservation law

du/dt + f'(u) du/dx =0

Have a look to the traffic flow equation problem described in the book of Leveque (page 203).
Thx for the recommendation. I ran through the section, what I get is that, we can only determine the time step size by taking the quasi-linear form of hyperbolic equation; but when we are trying to solve the equation itself, we typically go back to the conservative form...
TurbJet is offline   Reply With Quote

Old   February 20, 2018, 16:00
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by TurbJet View Post
Thx for the recommendation. I ran through the section, what I get is that, we can only determine the time step size by taking the quasi-linear form of hyperbolic equation; but when we are trying to solve the equation itself, we typically go back to the conservative form...
The quai linear form is useful to determine the solution in terms of the characteristic lines. Numerically, the conservative form is strongly adviced.
FMDenaro is offline   Reply With Quote

Old   February 20, 2018, 16:03
Default
  #5
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
The quai linear form is useful to determine the solution in terms of the characteristic lines. Numerically, the conservative form is strongly adviced.
To determine the time step size, use f'(u), right?
TurbJet is offline   Reply With Quote

Old   February 20, 2018, 16:26
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by TurbJet View Post
To determine the time step size, use f'(u), right?

You need to determine the max value of convective velocity
FMDenaro is offline   Reply With Quote

Old   February 20, 2018, 16:31
Default
  #7
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
You need to determine the max value of convective velocity
this is where I am not sure: to determine the max convective velocity, use f'(u), correct?
TurbJet is offline   Reply With Quote

Old   February 20, 2018, 22:51
Default
  #8
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 343
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
Quote:
Originally Posted by TurbJet View Post
this is where I am not sure: to determine the max convective velocity, use f'(u), correct?
Yes, f'(u) is the local wave speed.
praveen is offline   Reply With Quote

Old   February 21, 2018, 04:40
Default
  #9
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by TurbJet View Post
this is where I am not sure: to determine the max convective velocity, use f'(u), correct?

Just consider that the path-lines dx/dx=u does not coincide with the characteristic lines dx/dt=f'(u). That modifies the geometric meaning of the CFL
FMDenaro is offline   Reply With Quote

Old   February 21, 2018, 20:03
Default
  #10
Senior Member
 
Join Date: Oct 2017
Location: United States
Posts: 233
Blog Entries: 1
Rep Power: 10
TurbJet is on a distinguished road
Quote:
Originally Posted by praveen View Post
Yes, f'(u) is the local wave speed.
appreciate it!
TurbJet 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
Problem with Velocity Poisson Equation and Vector Potential Poisson Equation mykkujinu2201 Main CFD Forum 1 August 12, 2017 14:15
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
what is form of momentum equation in case of cavitation in nozzle & how it is solved arindamsantra7 Fluent Multiphase 0 August 11, 2014 04:32
Conservative form and non-conservative form of NS ARohit Main CFD Forum 1 March 11, 2013 08:57
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 00:05.