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

derivatives on a curvilinear grid

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 18, 2018, 11:26
Default derivatives on a curvilinear grid
  #1
New Member
 
john clyne
Join Date: Nov 2018
Posts: 1
Rep Power: 0
clyne is on a distinguished road
Hello, can someone please shed some light on how to compute partial derivatives using finite differences on a 2D or 3D curvilinear mesh (hexahedral or quadrilateral cells)? I know only the coordinates and sample values at the mesh nodes.

thanks!
clyne is offline   Reply With Quote

Old   November 18, 2018, 18:44
Default
  #2
agd
Senior Member
 
Join Date: Jul 2009
Posts: 357
Rep Power: 18
agd is on a distinguished road
Look up body-fitted grids or curvilinear grids. The equations are transformed into computational space using the grid metrics. This is for structured grids. For unstructured grids you would need to use the directional derivative, which is the gradient projected alond a coordinate direction. There are various ways to compute the gradient, including Green-Gauss and least squares.
agd is offline   Reply With Quote

Old   November 19, 2018, 02:41
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,777
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Alternatively, you can define linear or quadratic shape functions over triangles in a FEM manner.
FMDenaro is offline   Reply With Quote

Reply

Tags
curvilinear coordinate, finite differences


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
PBC breaks down, is there a grid check tool? gerritgroot SU2 8 June 13, 2013 18:24
2d irregular grid Remy Main CFD Forum 1 December 22, 2008 04:49
Curvilinear Coordinates - (also for Harish) taw Main CFD Forum 1 November 3, 2008 05:44
Troubles modelling flow through a grid Hans Klaufus CFX 1 June 28, 2000 16:43
Numerical methods for discontinuous grid interfaces? Hansong Hang Main CFD Forum 12 September 16, 1998 22:26


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