CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

viewing surface perpendicularly

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2012, 12:17
Default viewing surface perpendicularly
  #1
New Member
 
Anonymous
Join Date: Mar 2012
Posts: 6
Rep Power: 14
CCarl is on a distinguished road
Hi,

I am writing some script (for now trying in GUI to make this work) to make cross sections in a bended tube, look at them perpendicular (to see a circle, not an ellipse) and write to a jpg file.

I don't succeed in positioning the camera in fluent to look at the plane from a perpendicular point of view.

My procedure is the following:
1. mathematically I can derive the tangent, normal and binormal of the centerline of the tube (frenet frame). The tube cross section is always perpendicular to this centerline.
2. make plane with point and tangent of centerline (this is ok, I get a tube cross section)
3. camera target: coordinates of middle point of cross section
4. camera position: target - normal of plane
5. camera upvector: a vector in the cross sectional plane (I use the binormal).

Doing this I don't get a perpendicular view on the cross section. Fluent shows an ellipse instead of a circle. When rotating the view manually I can get a "circle view". Also I see that setting an upvector changes the target.

Any suggestions/help?

Thanks!
CCarl is offline   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
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan OpenFOAM Meshing & Mesh Conversion 3 October 22, 2015 11:05
import solids Alessio85 STAR-CCM+ 5 November 11, 2011 13:16
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 12:43
Patran Volume Meshing Deb CFX 19 April 17, 2003 10:56
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin Kaushik FLUENT 1 May 8, 2000 06:47


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