CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Netgen] Ellipsoids at an angle

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2010, 14:56
Default Ellipsoids at an angle
  #1
New Member
 
Stuart
Join Date: Oct 2010
Posts: 2
Rep Power: 0
beefstu is on a distinguished road
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
beefstu is offline   Reply With Quote

Old   October 27, 2010, 17:05
Default
  #2
New Member
 
Stuart
Join Date: Oct 2010
Posts: 2
Rep Power: 0
beefstu is on a distinguished road
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!
beefstu 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
Dynamic contact angle calculation in multiphaseInterFoam rajeshchem OpenFOAM 3 December 23, 2022 14:00
Dynamic contact angle issue: fluent UDF couldn't set the correct contact angle FelixJJ FLUENT 2 October 20, 2021 02:39
Winglet cant angle effects frossi FLUENT 0 March 31, 2017 19:35
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
Normal vector, slope and aspect angle g_niro Main CFD Forum 0 February 2, 2011 17:24


All times are GMT -4. The time now is 21:13.