# Ellipsoids at an angle

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

 October 25, 2010, 14:56 Ellipsoids at an angle #1 New Member   Stuart Join Date: Oct 2010 Posts: 2 Rep Power: 0 Hi all, I'm trying to mesh an ellipsoid positioned at an angle but cant seem to get it to work. The .geo that I'm trying is as follows: Code: ```algebraic3d solid ellips1 = ellipsoid (0.0,0.0,0; 3.9392310120488321,0,0.69459271066772166; 0,4,0; 1.7364817766693041,0,9.8480775301220795); tlo ellips1;``` To explain what i did, basically its fine generating an ellipsoid on one of the axes so to try to rotate it slightly, I used trigonometry to work out the new positions of the axes of the ellipsoid, hence the long floats, this should be rotated by 10deg anticlockwise which seems to be what it has done except it has huge holes in it and won't mesh! For information, the formulae used are as follows: Code: `ellipsoid (0.0,0.0,0; 4sin(80),0,4cos(80); 0,4,0; 10cos(80),0,10sin(80));` I would appreciate any pointers! Many thanks Stu

 October 27, 2010, 17:05 #2 New Member   Stuart Join Date: Oct 2010 Posts: 2 Rep Power: 0 ok solved this myself - was being foolish with the vectors, the 10cos(80) should have been negative, was a self-inflicted error, nothing to do with Netgen!

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post JoaoMiranda OpenFOAM Running, Solving & CFD 3 August 26, 2014 11:29 hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50 sebastian_vogl OpenFOAM Running, Solving & CFD 3 June 22, 2009 12:25 zonexo Main CFD Forum 2 September 9, 2005 06:40 kiran FLUENT 0 September 10, 2004 08:18

All times are GMT -4. The time now is 18:55.