CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

OpenFOAM - 2nd order of discretization?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2009, 07:15
Default OpenFOAM - 2nd order of discretization?
  #1
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 250
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
Hi all!

When FVM discretization is considered in OpenFOAM manuals, it is stated that linear variation of variable within CV represents 2nd order of accuracy:

f(x) = f(x0) + (x-x0) * (grad f(x))|x=x0

But ussualy

f(x) = f(x0) represents zero order of accuracy
f(x) = f(x0) + (x-x0) * (grad f(x))|x=x0 is of the 1st order of accuracy
....
and so on.

The same way we get first order temporal derivative:
dt(f)/dt = (f(t_n) - f(t_n-1)) / delta t

using only first two terms in Taylor series, and is necessary to use third term
to get second order approximation:

dt(f)/dt = (3/2*f(t_n) - 2*f(t_n-1) - 1/2*f(t_n-2)) / delta t

So what does actually mean "2nd order of accuracy" then?

Thank you for your attention! Waiting for your comments.
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IS calc. with 2nd order discret. always necessary? Azman FLUENT 2 March 14, 2013 04:28
2nd order discretization Pavel O FLUENT 0 September 28, 2009 09:15
Unstable flow simpleFoam 2nd order Valle OpenFOAM 0 August 26, 2009 08:12
2nd order time discretization with dynamic mesh Jack FLUENT 1 October 28, 2008 08:07
2nd Order Discretization and Streamwise Periodic Will FLUENT 0 August 29, 2008 12:01


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