Re: [Gmsh] Boundary Layer around hemi sphere in a cube

2017-10-10 Thread Christophe Geuzaine
> On 30 Sep 2017, at 11:33, Nilanka Indunil Kumari Ekanayake > wrote: > > Hi, > > I've created the following mesh. For the boundary layer I've used extrude > command. As I need to define physical volume for the farfield (bounded by the > box and hemisphere). Here I considered two volumes cr

Re: [Gmsh] Doubt about gmsh

2017-10-10 Thread Christophe Geuzaine
> On 5 Oct 2017, at 16:03, Luca Azzolin wrote: > > Dear Mr./Mrs., > > I have been using gmsh to mesh this biventricle_together.stl file. The things > that I wanted to do are: > - fill the gap between the external boundary and the 2 internal boundaries > with 3D elements ( so that I will have

Re: [Gmsh] 2d to 3d mesh with same node numbering on the surfaces

2017-10-10 Thread Christophe Geuzaine
> On 10 Oct 2017, at 16:06, Robin Martens wrote: > > Hello, > > I have a 2d mesh of a volume made with GMSH. I load it with merge and mesh it > to make it a 3d mesh. > But the numbering of the nodes on the surface will change. I know the > numbering is done inside GMSH but maybe one of you k

Re: [Gmsh] Problem trying to remove a surface with gmsh; bug?

2017-10-10 Thread Christophe Geuzaine
> On 10 Oct 2017, at 23:40, joel gervais wrote: > > Dear Christophe, > > Thanks for this great software. > Some .geo files I wrote many weeks ago lead to errors with the new version > 3.0.5 of gmsh. > It seems that something has changed between version 2.8.4 and 3.0.5 on > windows 7 64 bits

Re: [Gmsh] GMSH Source: MLine vs. MEdge

2017-10-10 Thread phillip mobley
Hello Christophe, Thank you again for responding to my message. I see now, a MLine is used for the 1D case and a MEdge is used in the 2D case.So since I am dealing exclusively with 2D meshes, would I really need the MLine class? Or will there be cases when a 2D mesh uses the MLine class? I belie

Re: [Gmsh] 2D Meshing using API. SPoint2 or SPoint3

2017-10-10 Thread phillip mobley
Hello Christophe, thank you for taking the time to send a response. My suspicion was correct then. As much as I would like to use GMSH as a library, I am not so sure it is the best idea for a user experience. I am creating this project as open source and I would like anyone to be able to compile

Re: [Gmsh] GMSH Source: MLine vs. MEdge

2017-10-10 Thread Christophe Geuzaine
> On 10 Oct 2017, at 18:58, phillip mobley wrote: > > Hello Christophe, > > Thank you again for responding to my message. > > I see now, a MLine is used for the 1D case and a MEdge is used in the 2D > case.So since I am dealing exclusively with 2D meshes, would I really need > the MLine cl

Re: [Gmsh] 2D Meshing using API. SPoint2 or SPoint3

2017-10-10 Thread Christophe Geuzaine
> On 10 Oct 2017, at 18:54, phillip mobley wrote: > > Hello Christophe, > > thank you for taking the time to send a response. > > My suspicion was correct then. As much as I would like to use GMSH as a > library, I am not so sure it is the best idea for a user experience. I am > creating th

[Gmsh] 2d to 3d mesh with same node numbering on the surfaces

2017-10-10 Thread Robin Martens
Hello, I have a 2d mesh of a volume made with GMSH. I load it with merge and mesh it to make it a 3d mesh. But the numbering of the nodes on the surface will change. I know the numbering is done inside GMSH but maybe one of you knows a trick. Hope someone could help me with this. Kind regards,

Re: [Gmsh] cannot bind multiple regions to single tag

2017-10-10 Thread Christophe Geuzaine
> On 6 Oct 2017, at 17:04, Lik Chuan Lee wrote: > > Hi, > > When I tried to join 2 volumes by "BooleanUnion" in the last line of the > following code, it has an error "cannot bind multiple regions to single tag > 15". Does anybody know what that error means? > > Thanks. > > > SetFactory("

Re: [Gmsh] 2D Meshing using API. SPoint2 or SPoint3

2017-10-10 Thread Christophe Geuzaine
> On 8 Oct 2017, at 04:35, phillip mobley wrote: > > Hello all, > > I am attmepting to extract the code from the GMSH API that will be able to > create a 2D mesh. After looking through the code for a couple of days now, I > have a question about how the code is structed. > > So far, I have

Re: [Gmsh] GMSH Source: MLine vs. MEdge

2017-10-10 Thread Christophe Geuzaine
Hi Phillip, No, MLine is a mesh element of type line (a "1D" element). MEdge is a topological edge, joining two vertices. There is currently no documentation of the API; one of our objectives for Gmsh 4.0 is to design and distribute a high-level C API. This will not expose any of the internal

Re: [Gmsh] How to generate periodic grids when importing step geometry ?

2017-10-10 Thread Christophe Geuzaine
> On 10 Oct 2017, at 13:16, Benedikt Oswald wrote: > > Dear gmsh, > > assume I have created a geometry in FreeCAD, > > exported it as a STEP file and imported > > into gmsh. If you use FreeCAD, import directly the .brep file in Gmsh - it's much more efficient than STEP, and you will avoid

[Gmsh] How to generate periodic grids when importing step geometry ?

2017-10-10 Thread Benedikt Oswald
Dear gmsh, assume I have created a geometry in FreeCAD, exported it as a STEP file and imported into gmsh. How do I ensure conformal boundary meshes for periodic analysis when I generate the mesh in gmsh ? Thanks for some hints, Benedikt -- ---