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

Finite Difference for Laplace Operators

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 17, 2016, 07:16
Default Finite Difference for Laplace Operators
  #1
New Member
 
Join Date: Feb 2016
Posts: 13
Rep Power: 2
Snow360 is on a distinguished road
Hi,

I am working on the finite volume method on a clustered Cartesian grid for school. I am using a finite difference function I made previously to get the operators for u,v,d u/v d x/y for solving the Poisson equation.

The function evaluates the taylor expansion for each point of stencil x of phi about x0 and returns the coefficient matrix

[phi^0] \: \: \: \: \: \: \: [phi_i-1]
[phi^1] = A* [phi_i ]
[phi^2] \: \: \: \: \:\: \: [phi_i+1]

I am looking for the zeroth derivative of the phi as I am trying to use this to interpolate the value itself. How do I go about this? I have the values of phi on other points, but not on x0 itself.

Any help would be great
Snow360 is offline   Reply With Quote

Old   May 17, 2016, 11:06
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 2,695
Rep Power: 33
FMDenaro will become famous soon enoughFMDenaro will become famous soon enough
the zeroth derivative of phi in x0 is phi(i) ...

f(i+1) -f(i) = h* df/dx|i + h^2/2*d2f/dx^2|i + ...
f(i+1)-f(i) = -h* df/dx|i + h^2/2*d2f/dx^2|i


deltaf = A * derivatives + hot ->
derivatives = A^-1*deltaf - A^-1*hot

A is 2x2. Then, you disregard A^-1*hot and you get the vector derivatives_n which approximates the exact derivative



FMDenaro is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The fundamental difference between Finite Difference and Finite Volume Methods vikramaditya91 Main CFD Forum 3 January 14, 2016 05:13
Finite element vs. finite difference Francisco Saldarriaga Main CFD Forum 23 December 17, 2014 09:21
Finite difference method kaliramesh FLUENT 1 January 16, 2014 13:55
Finite difference can be non-conservative? gregmason Main CFD Forum 2 July 8, 2009 11:53
Fininte difference and Finite element Technique Mahendra Singh Mehra FLUENT 3 December 23, 2005 00:49


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