Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

3D coil - mesh generation problems

Please login with a confirmed email address before reporting spam

Hello,

I am trying to make a model of a 3D coil. To generate the geometries, I use the comsol script function helix3 as follow: h = helix3(0.003,30,4,5.25*4,50).

The geometries are generated without errors. To import them, I went to file -> impot -> geometry objects.

Now, when I try to generate a mesh (with any element size) I get this error:

Error: 4028
Failed to generate mesh for face.
- Face: 1
Failed to insert point.
- s1 value: 0.443619
- s2 value: 1
An empty cavity was generated.

details:

Exception:
com.femlab.jni.FlNativeException: An empty cavity was generated
Messages:
An empty cavity was generated

Failed to insert point
- s1 value: 0.443619
- s2 value: 1

Failed to generate mesh for face
- Face: 1

Stack trace:
at delaunaytri.cpp, row 636, ()
at delaunaytri.cpp, row 867, ()
at mesh3init.cpp, row 3769, ()
at com.femlab.mesh.Mesh.init(Native Method)
at com.femlab.mesh.Mesh.init(Unknown Source)
at com.femlab.mesh.MeshInitRunnable.run(Unknown Source)
at com.femlab.server.FlRunner.run(Unknown Source)
at com.femlab.util.i.run(Unknown Source)
at com.femlab.util.ae.run(Unknown Source)

I try to increase the helix resolution from 50 to 100 and to 250 without any result. I found out that if I increase the wire diameter from 2mm to, let say 2cm, comsol manage to generate the mesh. However, the must have 2mm diameter.

Has anyone an idea how I could solve my problem? any help will be appreciated.

best regards,

D. D.

0 Replies Last Post 30 avr. 2010, 16:51 UTC−4
COMSOL Moderator

Hello A R

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.