CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

Gmsh problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2015, 13:26
Default Gmsh problem
  #1
New Member
 
Join Date: Dec 2015
Posts: 1
Rep Power: 0
liub is on a distinguished road
Hi all!

I created a 3d hexa mesh in Gmsh, exported it as .msh

>> gmsh file.geo -3 -f msh

and now I am trying to convert it to .xml.

>> dolfin-convert file.msh file.xml

But something is going wrong:

Converting from Gmsh format (.msh, .gmsh) to DOLFIN XML format
*** Unable to find cells of supported type.


Please help me!


Here is my code:

sc_out=0.13;

Point(1) = {0,0, 0,sc_out};
Point(2) = {0.75,-0.1, 0,sc_out};
Point(3) = {1,-0.3, 0,sc_out};
Point(4)={0.65,-0.8,0,sc_out};
Point(5) = {0,-1, 0,sc_out};
Point(6)={-0.65,-0.8,0,sc_out};
Point(7) = {-1,-0.3, 0,sc_out};
Point(8) = {-0.75,-0.1, 0,sc_out};


Spline(100) = {1,2,3,4,5,6,7,8,1};

Line Loop(1)={100};

Dilate {{0, -0.4, 0}, 0.78} {
Duplicata { Line{100}; }
}

Line Loop(102) = {101};
Plane Surface(103) = {1, 102};
Recombine Surface{103};

Extrude {0, 0, 1} {
Surface{103};
Layers{9};
Recombine;
}

Physical Volume(116) = {1};
Physical Surface(117) = {115};
Physical Surface(118) = {103};
Physical Surface(119) = {114};
Physical Surface(120) = {110};


liub 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
[Gmsh] gmsh problem djamel OpenFOAM Meshing & Mesh Conversion 0 January 7, 2014 13:02
[Gmsh] Ubuntu 12.10 Gmsh installation problem sudo OpenFOAM Meshing & Mesh Conversion 0 November 7, 2013 12:47
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


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