You can use Gmsh but you must force the Frontal algorithm.
Options->Mesh->General->3D algorithm->Frontal

You can also force the algorithm in the geo file with
Mesh.Algorithm3D=4;

Have a loop at the attached example
Mesh.Algorithm3D = 4 ;

Regards,
Ruth





On 31/03/11 18:21, Nolwenn de Carlan wrote:
Hello everybody,

I try to connect a structured grid with an unstructured one in 3D, without any success for the moment... (I found in the archives something concerning the same question, but it is from March 2000)
Can gmsh do this? If yes, how can this be done?
If no, can someone tell me if there is another tool to create hybrid 3D mesh ?

Best regards

Nolwenn
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh

-- 
Dr. Ir. Ruth V. Sabariego
University of Liege, Dept. of Electrical Engineering & Computer Science, 
Applied & Computational Electromagnetics (ACE),
phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/

Mesh.Algorithm3D = 4 ;

lc = .2 ;
x = .0;                                  
Point(1) = {0,0,0,lc};                                          
Point(2) = {1,0,0,lc};                                          
Point(3) = {1,1,0,lc};                                          
Point(4) = {0,1,0,lc};                                          
Line(1) = {4,3};                                          
Line(2) = {3,2};                                          
Line(3) = {2,1};                                          
Line(4) = {1,4};                                          

Line Loop(5) = {2,3,4,1};                                          
Plane Surface(6) = {5};                                          
ndiv = 10 ; Transfinite Line{1:4} = ndiv ;
Transfinite Surface{6};

Extrude {0,0.0,1}{ Surface{6}; Layers {ndiv};
 //Recombine;
}

Dilate {{.5, .5, .5}, 2} {
  Duplicata{Surface{6};}
}

Extrude {0,0.0,2}{ Surface{29};}
Delete{Volume{2};}

Surface Loop(56) = {55, 42, 29, 46, 50, 54};
Surface Loop(57) = {28, 15, 6, 19, 23, 27};
Volume(58) = {56, 57};
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to