|
[Sponsors] |
![]() |
![]() |
#2 |
New Member
Join Date: Feb 2021
Posts: 13
Rep Power: 5 ![]() |
first decide which finite difference you need for d/dx. stencil size - number of nodes - one sided or central. then plug in for inner derivative and apply. then plug in for outer derivative and apply. alternative is: work out full terms first, then apply. what is the purpose of this?
|
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,830
Rep Power: 73 ![]() ![]() ![]() |
Quote:
If you want to use the divergence form you simply write 0.5*(f(i+1)**3-f(i-1)**3)/h where f is a vector where you previously computed the discrete derivative du/dx. Conversely you can expand the derivative in a quasi-linear form. |
||
![]() |
![]() |
![]() |
Tags |
finite difference |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
dissipative and dispersive error of finite difference methods | shubiaohewan | Main CFD Forum | 7 | June 21, 2013 09:12 |
Control volume based finite difference method? | mukut.medhi | Main CFD Forum | 3 | August 24, 2012 10:01 |
Finite Difference Vs. Finite Volume | elankov | Main CFD Forum | 43 | December 18, 2010 16:30 |
Finite Difference - Nonuniform mesh | Excom | Main CFD Forum | 2 | May 11, 2009 18:08 |
Equations for finite difference, element & volume | W.L.C. | Main CFD Forum | 9 | April 3, 2001 12:08 |