CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   FVM Flux interpolation in Curvilinear Coordinates (http://www.cfd-online.com/Forums/main/12618-fvm-flux-interpolation-curvilinear-coordinates.html)

 DSS November 29, 2006 05:57

FVM Flux interpolation in Curvilinear Coordinates

Hi All,

I am in process of developing a Finite Volume code. I am successsfull in a simple pure cartesian code. Now, when I attempted to extend it to curvilinear coordinates, I am struct with how to do the flux interpolation.

I was thinking if it is sane to just adopt the formulation into

dW/dx + dF/d(epsilon) + dG/d(eta) = Q

Where the flux terms contain the relevant transformations.

Is it valid? Because, physically, the equations are a bit different, as the face areas are now unity (computational space).

For the flux interpolation, if it is a simple averaging (less accurate), it is straight forward. But, if it involves some higher order interpolation schemes, how is the accuracy quantified? Wont the accuracy of the Jacobians, and terms like dx/d(epsilon) affect the accuracy of the solution altogether?

 Mar November 30, 2006 05:15

Re: FVM Flux interpolation in Curvilinear Coordina

Starting from dQ/dt +dF/dx +dG/dy=0

You have to transform the d/dx and d/dy derivatives in terms of the derivatives in the curvilinear coordinate(let's say csi and eta) system using the rules of derivation of composite functions. After that you can resonstruct a conservative form:

dQ*/dt + dF*/dcsi + dG*/deta=0

Where Q*=Q/J F*=Fdy/deta - Gdxdeta G*=-Fdy/dcsi +Gdx/dcsi

where J is the jacobian of the transformation.

Integrating in the control volume you can recover your Finite volume approach.

 DSS November 30, 2006 05:29

Re: FVM Flux interpolation in Curvilinear Coordina

Thank you very much for clarifying my small doubt.

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