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

About the flux in FVM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2015, 16:57
Default About the flux in FVM
  #1
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
Currently I am reading some example code of 1D euler equation with FVM.

I wonder is that in FVM, the state at the boundary of a cell should be equal to the center value ? or it has to be interpolate using a slope computed by neighbored cells so that it is not equal to the cell center?
Tommy Chen is offline   Reply With Quote

Old   March 25, 2015, 17:03
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,775
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Tommy Chen View Post
Currently I am reading some example code of 1D euler equation with FVM.

I wonder is that in FVM, the state at the boundary of a cell should be equal to the center value ? or it has to be interpolate using a slope computed by neighbored cells so that it is not equal to the cell center?

the time update is provided in terms of volume average, therefore you have to expresse a functional relation between average and pointwise value for computing the flux. For example, the Burgers equation is solved for the average u_bar but the flux is u^2/2. Therefore you need a reconstruction u=u(u_bar). Assuming u=u_bar in the center of the FV is a second order accurate reconstruction. Higher order reconstruction is more complex
FMDenaro is offline   Reply With Quote

Old   March 25, 2015, 17:07
Default
  #3
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
the time update is provided in terms of volume average, therefore you have to expresse a functional relation between average and pointwise value for computing the flux. For example, the Burgers equation is solved for the average u_bar but the flux is u^2/2. Therefore you need a reconstruction u=u(u_bar). Assuming u=u_bar in the center of the FV is a second order accurate reconstruction. Higher order reconstruction is more complex
So the state could be either treated equal to the cell center value everywhere inside the cell, or computed by a reconstruction approach, depending on the requirement of accuracy. Did I understand it correctly ?
Tommy Chen is offline   Reply With Quote

Old   March 25, 2015, 17:12
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,775
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Tommy Chen View Post
So the state could be either treated equal to the cell center value everywhere inside the cell, or computed by a reconstruction approach, depending on the requirement of accuracy. Did I understand it correctly ?

yes, correct
FMDenaro is offline   Reply With Quote

Old   March 25, 2015, 21:44
Default
  #5
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
yes, correct
Thank you !

Very clear explanation , really helpful !
Tommy Chen is offline   Reply With Quote

Old   March 26, 2015, 16:36
Default
  #6
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Also consider that u=u_bar is second order in the cell center only. If, on a cell face, you compute the velocity as u_f = u_bar (the average value in the cell), you ar at most first order accurate. If you pick the wrong cell for such interpolation (i.e., downwind) you are not even first order.
sbaffini 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
Instability introduced by using mutRoughWallFunctions? AlexC OpenFOAM Running, Solving & CFD 1 March 18, 2014 14:14
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Problem setting with chtmultiregionFoam Antonin OpenFOAM 10 April 24, 2012 09:50
FVM Flux interpolation in Curvilinear Coordinates DSS Main CFD Forum 2 November 30, 2006 04:29
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09


All times are GMT -4. The time now is 18:08.