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

Nonlinear derivative in finite difference

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By acf46545
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2021, 09:24
Default Nonlinear derivative in finite difference
  #1
New Member
 
Box
Join Date: Feb 2021
Posts: 4
Rep Power: 5
BoxQwerty is on a distinguished road
How to write this in finite difference?

k.jpeg
BoxQwerty is offline   Reply With Quote

Old   February 23, 2021, 10:24
Default
  #2
New Member
 
Join Date: Feb 2021
Posts: 13
Rep Power: 5
acf46545 is on a distinguished road
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?
BoxQwerty likes this.
acf46545 is offline   Reply With Quote

Old   February 23, 2021, 13:49
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by BoxQwerty View Post
How to write this in finite difference?

Attachment 82923



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.
BoxQwerty likes this.
FMDenaro is offline   Reply With Quote

Reply

Tags
finite difference


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
dissipative and dispersive error of finite difference methods shubiaohewan Main CFD Forum 7 June 21, 2013 10:12
Control volume based finite difference method? mukut.medhi Main CFD Forum 3 August 24, 2012 11:01
Finite Difference Vs. Finite Volume elankov Main CFD Forum 43 December 18, 2010 17:30
Finite Difference - Nonuniform mesh Excom Main CFD Forum 2 May 11, 2009 19:08
Equations for finite difference, element & volume W.L.C. Main CFD Forum 9 April 3, 2001 13:08


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