How to create and mesh an ellipsoid

How to create and mesh an ellipsoid

Postby djseal76 » Thu Jan 23, 2014 2:26 am

Hello all,

I want to create an ellipsoid and mesh the modell.

When I mesh the surf 2 there is an error:

ERROR: Unmeshed Surface 2 contains mesh entities.
ERROR: Mesh of Surface 2 is invalid.

I think the error based on curve 4 but I can't delete curve 4.

Here is my skript:

reset
create vertex 0 0 0
create vertex -3 0 0
create vertex 0 -2 0
create curve vertex 2 vertex 3 vertex 1 ellipse
Curve 1 copy reflect x
create curve vertex 2 5
create surface curve 1 to 3
delete vertex 1 3
regularize curve 2 1
sweep surface 1 xaxis angle 360
separate surf 2
regularize vol 1
vol all scheme tetmesh
mesh surf 2

If anyone has an idea of how to do this it would be greatly appreciated. I am a new CUBIT/Trelis user.
djseal76
 
Posts: 4
Joined: Wed Jan 22, 2014 10:46 am

Re: How to create and mesh an ellipsoid

Postby corey_ernst » Wed Feb 05, 2014 6:14 pm

I think you are getting a mesh after all, despite the errors. Trelis is just erroring because it fails to mesh with the default triangle meshing scheme, tridelaunay. Then it tries the surface meshing scheme triadvance, which succeeds. Here are a couple of ways to do it:

#1 Explicitly specify meshing scheme triadvance instead of the
default scheme of tredelaunay

reset
create vertex 0 0 0
create vertex -3 0 0
create vertex 0 -2 0
create curve vertex 2 vertex 3 vertex 1 ellipse
Curve 1 copy reflect x
create curve vertex 2 5
create surface curve 1 to 3
delete vertex 1 3
regularize curve 2 1
sweep surface 1 xaxis angle 360
separate surf 2
regularize vol 1
vol all scheme tetmesh
surface all scheme triadvance
mesh surf 2

#Mesh half the model, then copy-reflect

reset
create vertex 0 0 0
create vertex -3 0 0
create vertex 0 -2 0
create curve vertex 2 vertex 3 vertex 1 ellipse
Curve 1 copy reflect x
create curve vertex 2 5
create surface curve 1 to 3
delete vertex 1 3
regularize curve 2 1
sweep surface 1 xaxis angle 180
regularize vol 1
vol all scheme tetmesh
mesh vol all
volume 1 copy reflect z
merge all
list tet
corey_ernst
 
Posts: 9
Joined: Tue Jan 07, 2014 4:27 pm


Return to Creation and Modification

Who is online

Users browsing this forum: No registered users and 0 guests

cron

Search / Mark

User Control Panel

Login

Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 guests (based on users active over the past 5 minutes)
Most users ever online was 58 on Mon Jun 26, 2017 4:19 pm

Users browsing this forum: No registered users and 0 guests