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

coordinate transformation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2007, 02:22
Default coordinate transformation
  #1
Shuo
Guest
 
Posts: n/a
When doing calculation in the computational domain for the conservation laws (dU/dt + dF/dx + dG/dy = 0), what are the equations for transforming the flux vectors back to the physical domain(x,y)?. Also how to I attach images?
  Reply With Quote

Old   May 18, 2007, 09:55
Default Re: coordinate transformation
  #2
ag
Guest
 
Posts: n/a
Just compute the flux vectors using their definitions - you have p, u, and rho. Or are you talking about the derivatives of the flux vectors? In that case compute the derivatives in computational space and use the metrics to transform to physical space, i.e.

d()/dx = d()/dxi*(dxi/dx) Chain rule where xi is the appropriate metric term(s).
  Reply With Quote

Old   May 20, 2007, 22:09
Default Re: coordinate transformation
  #3
Shuo
Guest
 
Posts: n/a
I mean the equation for converting flux vector F from physical to computational domain is:

F_comp = JF_phy*d(zeta)dx + JG_phy*d(zeta)/dy

So how what is the equation for vice versa? F_comp to F_phy?
  Reply With Quote

Old   May 21, 2007, 09:54
Default Re: coordinate transformation
  #4
ag
Guest
 
Posts: n/a
If you can compute the fluxes directly in the physical domain given the q-variables then why do you need it? To derive it you will need to write the flux transformation for each of the computational fluxes and then solve simultaneously. This entails inverting the the matrix composed of the metric terms. The math is not particularly difficult but is tedious. I don't know of a good reference right off the top of my head, because the inverse transformation is rarely (never) used. The physical flux vectors are directly available once the q-vector is computed.
  Reply With Quote

Old   May 21, 2007, 22:02
Default Re: coordinate transformation
  #5
Shuo
Guest
 
Posts: n/a
You mean just do all calculations in the physical domain with varying grid spaces rather than converting the fluxes onto a rectangular computational grid and then transforming them back into physical space?.
  Reply With Quote

Old   May 22, 2007, 01:26
Default Re: coordinate transformation
  #6
Harish
Guest
 
Posts: n/a
I'm assuming you are using structured grids.If not discard this note.

You can solve the system of equations in orthogonal curvilinear form or curvilinear form.In the first case the velocity components in the computational space are the transformed velocity components.But in the case of curvilinear form the velocity components are cartesian components and you transform only the derivatives

df/dx=df/dx1*dx1/dx+df/dx2*dx2/dx

Anderson et. al (computational fluid mechanics and heat transfer)discusses this point in chapter 5.

If your grid is orthogonal,use the orthogonal curvilinear form (measure the deviation of g12),if not use the general curvilinear form.

  Reply With Quote

Old   May 22, 2007, 02:33
Default Re: coordinate transformation
  #7
Shuo
Guest
 
Posts: n/a
So the values of the flux vectors when using the general coordinate system dQ/d(tau) + dF/d(zeta) + dG/d(eta) are the same in both computational and Cartesian space?
  Reply With Quote

Old   May 22, 2007, 09:16
Default Re: coordinate transformation
  #8
Harish
Guest
 
Posts: n/a
In a generalized coordinate,you do not look at them as vectors but like each is a scalar ( Ex, FX etc.)
  Reply With Quote

Reply


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
Coordinate Transformation Problem nooredin Main CFD Forum 0 July 14, 2010 02:34
Coordinate transformation intern FLUENT 2 May 29, 2007 11:12
Coordinate Transformation Harish Main CFD Forum 0 February 9, 2006 15:04
Coordinate transformation for NS equations CFD Learner Main CFD Forum 2 June 2, 2004 19:44
cartesian to general coordinate transformation Keith Main CFD Forum 4 February 16, 2004 20:40


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