|November 19, 2012, 13:17||
viewing surface perpendicularly
Join Date: Mar 2012
Posts: 6Rep Power: 5
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.
|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|