CFD Online Logo CFD Online URL
Home > Forums > FLUENT

viewing surface perpendicularly

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

LinkBack Thread Tools Display Modes
Old   November 19, 2012, 13:17
Default viewing surface perpendicularly
New Member
Join Date: Mar 2012
Posts: 6
Rep Power: 5
CCarl is on a distinguished road

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?

CCarl is offline   Reply With Quote


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
Error : Self intersecting surface mesh, computing intersections & Error : Impossible velan Open Source Meshers: Gmsh, Netgen, CGNS, ... 3 October 22, 2015 11:05
import solids Alessio85 STAR-CCM+ 5 November 11, 2011 14:16
boundaries with gmshToFoam‏ ouafa Open Source Meshers: Gmsh, Netgen, CGNS, ... 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 10:17.