Re: [Gmsh] gmsh and Plot3d interactions MISCOMMUNICATION 101

2020-12-28 Thread Christophe Geuzaine
> On 28 Dec 2020, at 01:43, Miroslav Grulovic wrote: > > Hello Christophe, merry Christmas, hope you are safe. > > I am sorry but appears that there is some sort of miscommunication btw us. > Reading in and creating p3d files in GMSH works well, bu that is not issue. > Problem is once p3d

Re: [Gmsh] gmsh and Plot3d interactions MISCOMMUNICATION 101

2020-12-28 Thread Miroslav Grulovic
Hello Christophe, merry Christmas, hope you are safe. I am sorry but appears that there is some sort of miscommunication btw us.Reading in and creating p3d files in GMSH  works well, bu that is not issue.Problem is once p3d wile is read in GMSH and then saved as NASTRAN bdf, GMSH does not

Re: [Gmsh] gmsh and Plot3d interactions

2020-12-02 Thread Christophe Geuzaine
> On 27 Nov 2020, at 11:20, Christophe Geuzaine wrote: > > > >> On 26 Nov 2020, at 20:00, Miroslav Grulovic wrote: >> >> Hello there >> >> Ia am involved in little project using NASA PMARC14 software, and recently >> noticed some Plot3D capabilities which are aso build in GMSH. However I

Re: [Gmsh] gmsh and Plot3d interactions

2020-11-29 Thread Miroslav Grulovic
Hello Christophe, thanks for prompt response and hope you are safe. That is unfortunate, and if possible change will be awesome.I do not really understand idea of gitlab, since I am not familiar with application and their actions.Also capability to create structured mesh and export it in

Re: [Gmsh] gmsh and Plot3d interactions

2020-11-27 Thread Christophe Geuzaine
> On 26 Nov 2020, at 20:00, Miroslav Grulovic wrote: > > Hello there > > Ia am involved in little project using NASA PMARC14 software, and recently > noticed some Plot3D capabilities which are aso build in GMSH. However I have > noticed that GMSH ( version 4.5.6 ) perfectly read p3d files

Re: [Gmsh] [Gmsh ]One layer of solid elements through thickness instead of two

2020-10-09 Thread Pawel Kudela
Dear Christophe, Thank you very much for the answer and great work behind gmsh software! Regards, Pawel Polish Academy of Sciences Institute of Fluid-Flow Machinery Centre for Mechanics of Machines Mechanics of Intelligent Structures Department Fiszera 14 St, 80-231 Gdansk tel. +48 58 5225

Re: [Gmsh] [Gmsh ]One layer of solid elements through thickness instead of two

2020-10-08 Thread Christophe Geuzaine
> On 8 Oct 2020, at 08:37, Pawel Kudela wrote: > > Dear Gmsh community, > > Do you know how to force gmsh to produce only one layer of hexahedral > elements through the thickness of the thin-walled structure like in the > attached example? I want to have only one layer of linear elements

[Gmsh] [Gmsh ]One layer of solid elements through thickness instead of two

2020-10-08 Thread Pawel Kudela
Dear Gmsh community, Do you know how to force gmsh to produce only one layer of hexahedral elements through the thickness of the thin-walled structure like in the attached example? I want to have only one layer of linear elements which will be than converted to higher order spectral element

Re: [Gmsh] GMSH units

2020-09-24 Thread Max Orok
Hi Zuheyr, You can use the option Geometry.OCCInputScaling: Geometry.OCCScaling Scale STEP, IGES and BRep models by the given factor when importing them with the OpenCASCADE kernel Default value: 1 Saved in: General.OptionsFileName Given in the geometry options list:

[Gmsh] GMSH units

2020-09-24 Thread Zuheyr Alsalihi
Dear Prof. Geuzaine and gmsh experts, I am using gmsh-4.5.6-Linux64. If I read a CAD step file in mm, and if I want to make a mesh in meters, what should I do? Thank you so much for reading. Best, Zuheyr ___ gmsh mailing list gmsh@onelab.info

Re: [Gmsh] gmsh 4.5.6: Creating a mesh from .vtk files - Surface is not remeshing but only the Volume

2020-06-23 Thread Christophe Geuzaine
> On 23 Jun 2020, at 10:16, Lisa Pankewitz wrote: > > Hi Christophe, > > Thanks for the clarification, I misunderstood. > > Could you maybe point me to a tutorial or an example that elaborates a bit > more on how I would now tag the surfaces manually based on the vtk providing > the

Re: [Gmsh] gmsh 4.5.6: Creating a mesh from .vtk files - Surface is not remeshing but only the Volume

2020-06-23 Thread Lisa Pankewitz
Hi Christophe, Thanks for the clarification, I misunderstood. Could you maybe point me to a tutorial or an example that elaborates a bit more on how I would now tag the surfaces manually based on the vtk providing the boundaries? I assume you tagged the surfaces and volume afterwards in order

Re: [Gmsh] gmsh 4.5.6: Creating a mesh from .vtk files - Surface is not remeshing but only the Volume

2020-06-23 Thread Christophe Geuzaine
> On 22 Jun 2020, at 19:14, Lisa Pankewitz wrote: > > Dear Christophe, > > thanks so much for your helpful and fast response. It is really appreciated! > > Just to double check: Does that mean that the assignment of surface names > with the syntax I used before does not work any longer in

Re: [Gmsh] Gmsh binary with OpenMP enabled

2020-05-18 Thread Christophe Geuzaine
> On 14 May 2020, at 23:12, Tian Xia wrote: > > Hi, > > I am using the Python API of Gmsh, which depends on the dynamic link library. > If I'd like to enable OpenMP, I will need to rebuild from the source after > installing a few dependencies. Would it be possible to release the library >

Re: [Gmsh] gmsh-sdk installation question

2020-05-14 Thread Peter Johnston
+61 7 373 57656 Email p.johns...@griffith.edu.au<mailto:c.l.br...@griffith.edu.au> From: Kenneth Assogba Sent: Thursday, 14 May 2020 10:21 PM To: Peter Johnston Cc: g...@geuz.org Subject: Re: [Gmsh] gmsh-sdk installation question Good morning, I had th

[Gmsh] Gmsh binary with OpenMP enabled

2020-05-14 Thread Tian Xia
Hi, I am using the Python API of Gmsh, which depends on the dynamic link library. If I'd like to enable OpenMP, I will need to rebuild from the source after installing a few dependencies. Would it be possible to release the library with OpenMP under http://gmsh.info/bin/? Thanks! -- Tian

Re: [Gmsh] gmsh-sdk installation question

2020-05-14 Thread Kenneth Assogba
/.bashrc - test if all is ok python3 gmsh-4.5.6-Linux64-sdk/share/doc/gmsh/demos/api/t1.py Best regards, Kenneth, On Thu, May 14, 2020 at 1:22 PM Peter Johnston wrote: > Hello, > > I have a question about gmsh/gmsh-sdk installation under python - I > realise this is not a gmsh questi

[Gmsh] gmsh-sdk installation question

2020-05-14 Thread Peter Johnston
Hello, I have a question about gmsh/gmsh-sdk installation under python - I realise this is not a gmsh question exactly, so hope it is OK. I was trying to install gmsh and gmsh-sdk on a computer running ubuntu 18.04 using 'pip3 install gmsh' (I also tried 'pip3 install gmsh-sdk'). On my mac

Re: [Gmsh] GMsh python API: all all point tags of volume

2020-05-05 Thread Christophe Geuzaine
> On 5 May 2020, at 06:15, Tian Xia wrote: > > Hi, > > First of all, I'd like to thank you for the great software. It saved me a lot > of time. > > I am trying to define a mesh size field based on the distance to the volume. > I knew that there is a command "PointsOf(volume #)" for geo

[Gmsh] GMsh python API: all all point tags of volume

2020-05-04 Thread Tian Xia
Hi, First of all, I'd like to thank you for the great software. It saved me a lot of time. I am trying to define a mesh size field based on the distance to the volume. I knew that there is a command "PointsOf(volume #)" for geo file. Is there a similar function in the python API? Thanks! --

[Gmsh] gmsh and guacamole

2020-03-26 Thread Vicini Alessandro
Premise: I don't know if this problem is directly related with gmsh or not. When I remotely access my office pc using guacamole (these are times of smart working) and I try to launch gmsh, I get the error ''LoadLibrary failed with error 87: parameter not correct''. Any hint? Thank you.

Re: [Gmsh] gmsh python module

2020-02-26 Thread Christophe Geuzaine
Dear Francis, Setting ENABLE_WRAP_PYTHON=ON will build the Python wrappers of the *private* Gmsh API using swig, i.e. wrap all the development C++ headers. This is for Gmsh developers. What you want is the stable public Python API. This doesn't require swig: just build the dynamic Gmsh

[Gmsh] gmsh python module

2020-02-26 Thread Francis Giraldeau
Hello! I just compiled gmsh with ENABLE_WRAP_PYTHON=ON. This seems to install the module gmshpy. However, the Python demos are importing the gmsh module, which is not installed, so I'm a bit confused. How do we install the actual Python gmsh module? Thanks! -- Francis

Re: [Gmsh] Gmsh OCC class Physical Groups

2020-02-20 Thread Rinaldi Polese Petrolli
Already figured it out, all I needed to da was declare the physical groups again after applying the cut :) Em qua., 19 de fev. de 2020 às 23:39, Rinaldi Polese Petrolli < rinaldi.petro...@wsdg.com> escreveu: > Hi, > > Hope everything is good. I'm working merging two meshes into one via the >

Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format

2019-11-25 Thread Marco Tiberga
...@uliege.be] Sent: maandag 25 november 2019 14:16 To: Marco Tiberga Cc: gmsh@onelab.info; Max Orok Subject: Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format > On 25 Nov 2019, at 12:03, Marco Tiberga wrote: > > Dear Christophe, > > Unfortunately, I cannot try with the

Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format

2019-11-25 Thread Marco Tiberga
rga; gmsh@onelab.info Subject: Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format Hi guys, I have fixed a small (but that could lead to a crash) bug related to pvtu export yesterday. Could you check if this fixes your issue? If not, could you send a (simple) dataset together with a scr

Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format

2019-11-25 Thread Christophe Geuzaine
48 > To: Max Orok > Cc: Marco Tiberga; gmsh@onelab.info > Subject: Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format > > > Hi guys, > > I have fixed a small (but that could lead to a crash) bug related to pvtu > export yesterday. Could you check if this fixes you

Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format

2019-11-23 Thread Christophe Geuzaine
Best regards, > > Marco > > > > From: Max Orok [mailto:mo...@mevex.com] > Sent: woensdag 20 november 2019 22:48 > To: Marco Tiberga > Subject: Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format > > > > Hi Marco, > > > > Would it b

Re: [Gmsh] Gmsh crashes exporting vec fields in .pvtu format

2019-11-22 Thread Max Orok
lly try to export it in pvtu, Gmsh > crashes. > > So, I suspect the problem is in the export of .pos view to pvtu format. > > > > Hope these are useful examples. > > > > Best regards, > > Marco > > > > *From:* Max Orok [mailto:mo...@mevex.com]

[Gmsh] Gmsh crashes exporting vec fields in .pvtu format

2019-11-20 Thread Marco Tiberga
Good evening, I would like to report a bug I found. I needed to export a vector field in pvtu format (via File -> Export). However, Gmsh crashes as soon as it starts the export process. This does not happen when I export scalar fields. However, I knew I was once able to do it. So, I went back

Re: [Gmsh] Gmsh Pyhon API + matplotlib cause unreadable msh files and Segmentation fault

2019-10-31 Thread Christophe Geuzaine
Durand > > --- > Baptiste Durand > Doctorant – Laboratoire Navier > baptiste.dur...@enpc.fr – 01 64 15 37 21 (06 58 88 05 41) – > linkedin.com/in/baptistedurand > > De: cgeuza...@uliege.be > À: "Baptiste DURAND" > Cc: gmsh@onelab.info > Envoyé: Ven

Re: [Gmsh] Gmsh Pyhon API + matplotlib cause unreadable msh files and Segmentation fault

2019-10-25 Thread cgeuzaine
nd > > --- > Baptiste Durand > Doctorant – Laboratoire Navier > baptiste.dur...@enpc.fr – 01 64 15 37 21 (06 58 88 05 41) – > linkedin.com/in/baptistedurand > > ___ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh

[Gmsh] Gmsh Pyhon API + matplotlib cause unreadable msh files and Segmentation fault

2019-10-25 Thread Baptiste DURAND
Dear all, I'm used to using gmsh through the python API, on Ubuntu 18.04. With the version 4.4 of gmsh , I am faced with an unwanted behaviour when I try to import both gmsh and matplotlib into the same script. Firstly, if matplotlib is imported before gmsh , a Segmentation fault error

Re: [Gmsh] Gmsh API Licensing

2019-10-23 Thread Juan Sanchez
> > > -- > > Prof. Jean-Francois Remacle > > Universite catholique de Louvain (UCL) > > Ecole Polytechnique de Louvain (EPL) - Louvain School of Engineering > > Institute of Mechanics, Materials and Ci

Re: [Gmsh] Gmsh API Licensing

2019-10-23 Thread Christophe Geuzaine
ttp%3A%2F%2Fonelab.info%2Fmailman%2Flistinfo%2Fgmshdata=02%7C01%7C%7Cb101a29215ba47ac826908d756634794%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637072856733757404sdata=r70BRWIL4zq6j2kflMfw37tpJZiuMsYWbLdOczPGYsw%3Dreserved=0 > > > > --

Re: [Gmsh] Gmsh API Licensing

2019-10-23 Thread Christophe Geuzaine
Jean-Francois Remacle > Universite catholique de Louvain (UCL) > Ecole Polytechnique de Louvain (EPL) - Louvain School of Engineering > Institute of Mechanics, Materials and Civil Engineering (iMMC) > Center for Systems Engineering and Applied Mechanics (CESAME) > Tel : +32-10-472352 -- M

[Gmsh] [gmsh] retrieving point coordinate

2019-10-23 Thread Vicini Alessandro
Hello, is it possible in a geo file to retrieve the value of a given point coordinate (say for example I want to assign the x coordinate of Point(n) to a variable…). Thank you. A.V. ___ gmsh mailing list gmsh@onelab.info

Re: [Gmsh] Gmsh API Licensing

2019-10-22 Thread Jean-François Remacle
Le 21 oct. 2019 à 22:11, Niloufar mailto:faghihi.nilou...@gmail.com>> a écrit : Hi, I am a new user of Gmsh and I have a question regarding its licensing. I was wondering whether the Gmsh API is also under the GPL license meaning that I can not use the Gmsh API in a closed-source Python

Re: [Gmsh] Gmsh API Licensing

2019-10-22 Thread Germán Theler
; right? > > Thank you, > Niloufar > ___ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh > ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh

[Gmsh] Gmsh API Licensing

2019-10-21 Thread Niloufar
Hi, I am a new user of Gmsh and I have a question regarding its licensing. I was wondering whether the Gmsh API is also under the GPL license meaning that I can not use the Gmsh API in a closed-source Python code. Is that right? Thank you, Niloufar

Re: [Gmsh] Gmsh Issue for constraint volume meshing

2019-10-18 Thread Christophe Geuzaine
> On 14 Oct 2019, at 11:35, Sanghavi, Chaitanya > wrote: > > > > Dear Sir, > > Good morning, > > I would like to generate a 3D mesh for a cube from a predefined 2D surface > mesh on one of the faces of the 3D cube. > > This is very similar to the post below, and I was made aware

Re: [Gmsh] Gmsh - Error in Compound line

2019-08-21 Thread Christophe Geuzaine
> On 4 Aug 2019, at 19:16, Eduardo wrote: > > Hi all > > I Have a file in .iges, this geometry has 6 surfaces. The trouble is with a > internal line, this line I need change for only one line with a Compound > comand. But I cannot do that. > How could I work with comand Compound in this

Re: [Gmsh] gmsh compile

2019-08-14 Thread Max Orok
Hi Mauro, Don't give up on the SDK! I think this may be a problem with the linker being unable to find the library. It would help if you post your exact error messages. Here is an older post related to VS issues that might help you out: https://gitlab.onelab.info/gmsh/gmsh/issues/551 *From

Re: [Gmsh] gmsh compile

2019-08-13 Thread Max Orok
If you really need to compile Gmsh from source, this readme file is a good place to start: https://gitlab.onelab.info/gmsh/gmsh/blob/master/README.txt However, if you only want to use the Gmsh API, you could take a look at: https://gitlab.onelab.info/gmsh/gmsh/blob/master/demos/api/README.txt

[Gmsh] gmsh compile

2019-08-13 Thread Mauro Corbo
hello,could I get a detailed description how compile gmsh under Vs2012 or later. I tried load CMAKE, but missing libraries error occur. Moreover,Could i know where find alla madatory libraries? Regards Mauro ___ gmsh mailing list gmsh@onelab.info

Re: [Gmsh] Gmsh license exception question

2019-07-23 Thread Christophe Geuzaine
Hi Alex, > On 22 Jul 2019, at 23:53, Alexander Lindsay wrote: > > I am one of the primary developers of the moose framework, and we are curious > about adding some meshing utilities that would leverage the relatively new > gmsh c++ API. However, we are licensed under LGPL v2.1, so as it

[Gmsh] Gmsh license exception question

2019-07-22 Thread Alexander Lindsay
I am one of the primary developers of the moose framework , and we are curious about adding some meshing utilities that would leverage the relatively new gmsh c++ API. However, we are licensed under LGPL v2.1, so as it stands now we cannot link to to the

Re: [Gmsh] Gmsh - Transfinite

2019-07-16 Thread NITESH SINGH
It can be done From: gmsh on behalf of Eduardo Sent: 16 July 2019 07:01:27 To: g...@geuz.org Subject: [Gmsh] Gmsh - Transfinite Hy My name is Eduardo I am trying to set or put a 3 element on the edge. (odd number) but I cannot do that. All the time I only do

Re: [Gmsh] Gmsh - Transfinite

2019-07-16 Thread Eduardo
do Serenza > > Em ter, 16 de jul de 2019 às 03:48, Alessandro Vicini < > alessandro.vic...@sitael.com> escreveu: > >> >> >> With transfinite line you set the number of nodes, not elements. So if >> you set an odd number, you will get an even number of elements. &g

Re: [Gmsh] Gmsh - Transfinite

2019-07-16 Thread Eduardo
ro Vicini < alessandro.vic...@sitael.com> escreveu: > > > With transfinite line you set the number of nodes, not elements. So if you > set an odd number, you will get an even number of elements. > > > > A. > > > > > > *Da:* gmsh *Per conto di * > Eduardo > *Inviato:

[Gmsh] Gmsh - Transfinite

2019-07-15 Thread Eduardo
Hy My name is Eduardo I am trying to set or put a 3 element on the edge. (odd number) but I cannot do that. All the time I only do even number. Why I can not choose odd number of element on the edge in 2d plate. I use transfinite line. Best Regards Eduardo S.

Re: [Gmsh] [gmsh] "silly" question

2019-05-29 Thread Max Orok
Hi Alessandro, The most straightforward way I can think of would be to use a CAD program to make the 3D letters, export the model as STEP and then mesh that. Tinkercad is one free option (I think you need to make an account). There is an interesting script on Prof. Geuzaine's site (upper left

[Gmsh] [gmsh] "silly" question

2019-05-29 Thread Alessandro Vicini
I would like to generate a 3d mesh for the volume obtained by extrusion of a text. So what I need to do is to import the text (as an image?) in gmsh, convert it somehow in a 2d geometry and then extrude it... Is this possible? Thank you. Alessandro

Re: [Gmsh] gmsh Digest, Vol 196, Issue 22

2019-05-21 Thread Ziad Boutanios
Hi Felix, All the following result in syntax errors: BoundaryLayer Field = 1 2; BoundaryLayer Field = 1,2; BoundaryLayer Field = {1,2}; Adding the following 3 lines you suggested removed all BLs: Field[3] = Min; Field[3].FieldsList = {1, 2}; Background Field = 3; The mesh I got with

Re: [Gmsh] Gmsh Mesh Version - Python API

2019-05-13 Thread Nathan J. Neeteson
re.ulg.ac.be] On Behalf Of Rinaldi Polese Petrolli Sent: May 13, 2019 8:51 AM To: gmsh@onelab.info Subject: Re: [Gmsh] Gmsh Mesh Version - Python API Found how to fix it, thanks! Em seg, 13 de mai de 2019 às 10:57, Rinaldi Polese Petrolli mailto:rinald...@gmail.com>> escreveu: Hello, Hope this

[Gmsh] Gmsh Mesh Version - Python API

2019-05-13 Thread Rinaldi Polese Petrolli
Hello, Hope this message finds you well. I'm writing to ask how to change the mesh version that the Python API outputs from 4.1 to 2.2. I've found a previous question where the line Mesh.MshFileVersion = 2.2 was stated to fix this, however when adding that to my script the version remais 4.1.

Re: [Gmsh] Gmsh Mesh Version - Python API

2019-05-13 Thread Rinaldi Polese Petrolli
Found how to fix it, thanks! Em seg, 13 de mai de 2019 às 10:57, Rinaldi Polese Petrolli < rinald...@gmail.com> escreveu: > Hello, > > Hope this message finds you well. I'm writing to ask how to change the > mesh version that the Python API outputs from 4.1 to 2.2. I've found a > previous

Re: [Gmsh] [Gmsh API] OpenCASCADE and mesh files usage

2019-04-22 Thread Christophe Geuzaine
No, cut() will only work on OpenCASCADE geometrical entities (CAD entities), not STL meshes. Christophe > On 22 Apr 2019, at 18:10, Valentin Boltach wrote: > > Good day to all. > There was a problem: I want to prepare a model for further analysis, in > particular, cut the cylinder from stl

[Gmsh] [Gmsh API] OpenCASCADE and mesh files usage

2019-04-22 Thread Valentin Boltach
Good day to all. There was a problem: I want to prepare a model for further analysis, in particular, cut the cylinder from stl model (as a part of Constructive Solid Geometry). Judging by the existing examples, the order is as follows: gmsh.initialize() gmsh.open(filepath) model = gmsh.model

Re: [Gmsh] gmsh produces an overrefinement mesh

2019-04-08 Thread Christophe Geuzaine
> On 8 Apr 2019, at 15:45, Octavio Castillo Reyes > wrote: > > Thank you for your answer. > > The overrefinement is on points 9, 10, 11, 12, where a size dg*4 is set. > However, if I remove the attractor field, the elements are larger at those > points. I do not know what I'm forgetting.

Re: [Gmsh] gmsh produces an overrefinement mesh

2019-04-08 Thread Christophe Geuzaine
> On 8 Apr 2019, at 12:39, Octavio Castillo Reyes > wrote: > > Dear all, > > I'm working with a tetrahedral mesh and I would like to add refinement on > regions near to some points. However, I do not understand why gmsh produces a > mesh over refined (whole domain, which is not

[Gmsh] gmsh produces an overrefinement mesh

2019-04-08 Thread Octavio Castillo Reyes
Dear all, I'm working with a tetrahedral mesh and I would like to add refinement on regions near to some points. However, I do not understand why gmsh produces a mesh over refined (whole domain, which is not desirable). I attach an example of my .geo file to this email. I hope you have an

Re: [Gmsh] Gmsh merge several partial meshes to a complete mesh

2019-03-28 Thread Christophe Geuzaine
> On 27 Mar 2019, at 20:02, Johannes_ACKVA wrote: > > Hi Christoph, > > """ > We could also add an option to "force" MED meshes to be loaded in the > same model, whatever the name. Would that be useful? > """ > > that would be VERY useful. Thank you when doing it! > The latest development

Re: [Gmsh] Gmsh merge several partial meshes to a complete mesh

2019-03-27 Thread Johannes_ACKVA
Hi Christoph, """ We could also add an option to "force" MED meshes to be loaded in the same model, whatever the name. Would that be useful? """ that would be VERY useful. Thank you when doing it! The 1st option which you mention - to store each mesh with the same name - ist not really

Re: [Gmsh] Gmsh merge several partial meshes to a complete mesh

2019-03-27 Thread Christophe Geuzaine
Hi Johannes, The mesh import procedure for MED files is a bit particular, as MED files can store multiple meshes, each with their own name. Gmsh tries to handle this gracefully by creating one model per mesh name. In your case each file stores a single mesh, with its own name. As in the case

Re: [Gmsh] gmsh 4.2 and step files

2019-03-07 Thread Christophe Geuzaine
> On 7 Mar 2019, at 13:43, Giorgio Palma wrote: > > Dear All, > I found a strange behaviour in the latest version of gmsh when opening a stl > file. When I open the attached file with an older version (like 4.1.5) > everything it's fine, all the geometry pieces are in the right place. Gmsh

Re: [Gmsh] Gmsh with petsc/slepc 3.10?

2019-02-27 Thread Ruth Vazquez Sabariego
i.cnrs.fr> ___ gmsh mailing list gmsh@onelab.info<mailto:gmsh@onelab.info> http://onelab.info/mailman/listinfo/gmsh ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh

[Gmsh] Gmsh with petsc/slepc 3.10?

2019-02-27 Thread Christophe Trophime
Hi, did someone tried to rebuild Gmsh with petsc/slepc 3.10? Is it working? Best C Christophe TROPHIME Research Engineer CNRS - LNCMI 25, rue des Martyrs BP 166 38042 GRENOBLE Cedex 9 FRANCE Tel : +33 (0)4 76 88 90 02 Fax : +33 (0) 4 76 88 10 01 Office U 19 M@il :

Re: [Gmsh] Gmsh-4.0.4 Volume mesh issue

2019-02-05 Thread Christophe Geuzaine
reported a similar behaviour? > If necessary, I can provide you with a failing test case. > > Regards, > Simone G. > From: Christophe Geuzaine > Sent: Monday, November 12, 2018 3:33:25 PM > To: Simone GREMMO > Cc: gmsh@onelab.info > Subject: Re: [Gmsh] Gmsh-4.0.4 Volume me

Re: [Gmsh] GMSH parsing is very slow

2019-01-31 Thread Al Sc
Dear Max, thanks for your support! However, Christophe Geuzaine already solved this issue for me -- see other thread << [Gmsh] "Re: GMSH parsing is very slow" >>. Sorry for the confusion. Best regards, A. S. Am Do., 31. Jan. 2019 um 15:16 Uhr schrieb Max Orok : > Hello, > > Are you referring

Re: [Gmsh] GMSH parsing is very slow

2019-01-31 Thread Max Orok
Hello, Are you referring to an input geo file which is taking so long? What sort of operations are you doing in the file? Sincerely, Max On Thu, Jan 31, 2019 at 8:21 AM Al Sc wrote: > Dear Sir or Madam, > > some gmsh-file of mine (roughly 10 lines) takes extremely much time to > load:

[Gmsh] GMSH parsing is very slow

2019-01-31 Thread Al Sc
Dear Sir or Madam, some gmsh-file of mine (roughly 10 lines) takes extremely much time to load: Just the parsing of gmsh (in both version 3.x.x and 4.x.x) takes about 45 minutes to 1 hour. However, in contrast, the parsing of the resulting mesh, which is of similar complexity, takes only some

[Gmsh] GMSH. Mesh 2D

2019-01-19 Thread Evgenius
Good Day. You can correct mesh algorithm "Packing of parallelograms" ? See attach. Thanks. -- Evgenius Point(1) = { 1.931493, 0.15, 0.2, 0.0 }; Point(2) = { 1.810872, 0.15, 0.2, 0.0 }; Point(3) = { 1.810872, 0.1, 0.2, 0.0 }; Point(4) = { 1.931493, 0.1, 0.2, 0.0 }; Point(5) = { 1.810872, 0.05,

[Gmsh] Gmsh subscription fails

2018-12-07 Thread Zuheyr Alsalihi
Hello, My gmsh group subscription attempts constantly fail: gmsh Subscription results reCAPTCHA validation failed: missing-input-response gmsh list run by gmsh-owner at onelab.info gmsh administrative interface (requires authorization) Overview of all onelab.info mailing lists Any help please?

Re: [Gmsh] Gmsh-4.0.4 Volume mesh issue

2018-11-13 Thread Simone GREMMO
Cc: gmsh@onelab.info Subject: Re: [Gmsh] Gmsh-4.0.4 Volume mesh issue Dear Simone, Indeed, Gmsh 4.0.0 -> 4.0.4 do not have the ability to automatically create hybrid tetrahedral+pyramidal meshes (your surface contains quadrangles). The latest snapshot (future Gmsh 4.0.5 or Gmsh 4.1) has a new

Re: [Gmsh] Gmsh SDK on Pypi

2018-11-04 Thread Christophe Geuzaine
> On 31 Oct 2018, at 17:18, Marek Wojciechowski wrote: > > Hi! > > I released on Pypi a small python installer for Gmsh SDK. The aim is to > install SDK in a pythonic way, i.e. via ``pip`` command. > > Python users can now install SDK with simple: > >$ pip install --upgrade gmsh-sdk >

[Gmsh] Gmsh SDK on Pypi

2018-10-31 Thread Marek Wojciechowski
Hi! I released on Pypi a small python installer for Gmsh SDK. The aim is to install SDK in a pythonic way, i.e. via ``pip`` command. Python users can now install SDK with simple: $ pip install --upgrade gmsh-sdk and things are just ready to use: $ gmsh --help $ python -c "import

Re: [Gmsh] GMSH fails lot of tests after building

2018-10-15 Thread Christophe Geuzaine
> On 15 Oct 2018, at 21:55, Oleg Kmechak wrote: > > Hello, > > I builded up gmsh from gitlab repository, and a lot of tests failed. But on > another computer I builded it up and it passed all test. I can't figure out > what wrong is going on with this setup. > Minimal Cmake configuration(I

[Gmsh] GMSH fails lot of tests after building

2018-10-15 Thread Oleg Kmechak
Hello, I builded up gmsh from gitlab repository, and a lot of tests failed. But on another computer I builded it up and it passed all test. I can't figure out what wrong is going on with this setup. Minimal Cmake configuration(I tried to turn off as many as possible options, cos I only care about

Re: [Gmsh] Gmsh 4 format - How to associate elements with physical entities

2018-10-07 Thread Santiago Serebrinsky
O, sure. On Sun, Oct 7, 2018 at 7:06 AM Christophe Geuzaine wrote: > > > > On 7 Oct 2018, at 10:30, Santiago Serebrinsky > wrote: > > > > Hi all, > > > > With Gmsh 2.2 format, it was very easy to tell which elements were > associated with each of the PhysicalEntities. Such tag was present

Re: [Gmsh] Gmsh 4 format - How to associate elements with physical entities

2018-10-07 Thread Christophe Geuzaine
> On 7 Oct 2018, at 10:30, Santiago Serebrinsky wrote: > > Hi all, > > With Gmsh 2.2 format, it was very easy to tell which elements were associated > with each of the PhysicalEntities. Such tag was present in the line > describing the element data. > > With Gmsh 4, I could not find such

[Gmsh] Gmsh 4 format - How to associate elements with physical entities

2018-10-07 Thread Santiago Serebrinsky
Hi all, With Gmsh 2.2 format, it was very easy to tell which elements were associated with each of the PhysicalEntities. Such tag was present in the line describing the element data. With Gmsh 4, I could not find such association. Every element is part of a block with a given tagEntity, but I

Re: [Gmsh] Gmsh Boolean Subtraction on .stl Files

2018-10-06 Thread Christophe Geuzaine
Dear Fariba, This is not supported : the boolean operations are only supported for OpenCASCADE (CAD) entities. Christophe > On 5 Oct 2018, at 20:56, Mohammadi, Fariba wrote: > > Hi, > > I am trying to do Boolean subtraction on two surface meshes. My mesh files > are in .stl format. In

[Gmsh] Gmsh Boolean Subtraction on .stl Files

2018-10-05 Thread Mohammadi, Fariba
Hi, I am trying to do Boolean subtraction on two surface meshes. My mesh files are in .stl format. In Gmsh, I tried to define each mesh as volume using Modules>Geometry>Elementary entities>Add>Volume. It created a .geo file containing my .stl file name as a command and used that as the script

Re: [Gmsh] gmsh-4.0.1 : error during cmake

2018-10-02 Thread Christophe Geuzaine
> On 27 Sep 2018, at 07:35, Ashwini D R wrote: > > > >as per the trailing mail, > CGNS is installed and CMake logs did not give any info about why the CGNS is > not picked up. CMake error and output logs are attached with this mail. > Please help in resolving the issue > > Thanks and

Re: [Gmsh] gmsh crashing with no error message

2018-09-26 Thread Max Orok
Hi Dominic, This looks like undefined behaviour, in that the format specifier should be correct to prevent crashing. The program is likely trying to dereference 4, which is probably a segmentation fault. Sincerely, Max Orok On Wed, Sep 26, 2018 at 8:26 AM Dominic North wrote: > Hi Everyone, >

[Gmsh] gmsh crashing with no error message

2018-09-26 Thread Dominic North
Hi Everyone, I hope you can help please! Gmsh is crashing whenever an error occurs - the whole program stops working and a Windows error message appears saying: "gmsh.exe has stopped working." This happens even on this one-line script ("testFile.geo", in the same directory as gmsh.exe):

Re: [Gmsh] gmsh-4.0.1 : error during cmake

2018-09-26 Thread Christophe Geuzaine
> On 25 Sep 2018, at 12:18, Ashwini D R wrote: > > Hi > > Thanks for the help ! > gmsh was installed successfully, However i have trouble generating the cgns > file. > > cmake -DENABLE_HXT=0 -DENABLE_CGNS=1 .. > Do you have the CGNS library installed on your system? If you do, check

Re: [Gmsh] gmsh-4.0.1 : error during cmake

2018-09-25 Thread Ashwini D R
Hi Thanks for the help ! gmsh was installed successfully, However i have trouble generating the cgns file. cmake -DENABLE_HXT=0 -DENABLE_CGNS=1 .. make make install /gmsh-4.0.1-source/Gmsh401/gmsh spices.geo -1 -format cgns -o /Mesh/spices.cgns Error : This version of Gmsh was compiled

Re: [Gmsh] gmsh-4.0.1 : error during cmake

2018-09-24 Thread Christophe Geuzaine
HXT is not yet support with Visual C++ : just disable it (cmake -DENABLE_HXT=0) > On 24 Sep 2018, at 13:59, Max Orok wrote: > > Hi Ashwini, > > Is there any more information about your build, like build options, system > info, etc? > > Sincerely, > Max Orok > > On Mon, Sep 24, 2018 at

Re: [Gmsh] gmsh 4.0.1 mesh file write bug

2018-09-24 Thread Max Orok
/Gmsh.app/Contents/MacOS/gmsh > Info: Launch date: Mon Sep 24 09:35:54 2018 > Info: Command line : /Applications/Gmsh.app/Contents/MacOS/gmsh > > ___ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh

[Gmsh] gmsh 4.0.1 mesh file write bug

2018-09-24 Thread Rob Govers
: Build date : 20180907 Info: Build host : gmsh.info Info: Packager : geuzaine Info: Executable : /Applications/Gmsh.app/Contents/MacOS/gmsh Info: Launch date: Mon Sep 24 09:35:54 2018 Info: Command line : /Applications/Gmsh.app/Cont

Re: [Gmsh] Gmsh produces meshes with different number of elements

2018-08-09 Thread Felix Salazar
great tool and I congratulate > the developers. > >>> > >>> I'm working with tetrahedral meshes and I have noticed that for the > same script, gmsh produces different meshes, that is, the number of > elements or nodes is di

Re: [Gmsh] Gmsh produces meshes with different number of elements

2018-08-09 Thread Felix Salazar
s without making changes to the .geo file, does anyone have any idea how to fix it? >>> >>> Thank you very much >>> >>> O. >>> ___ >>> gmsh mailing list >>> gmsh@onelab.i

Re: [Gmsh] Gmsh produces meshes with different number of elements

2018-08-09 Thread Christophe Geuzaine
eshes, that is, the number of elements or >>> nodes is different. This is without making changes to the .geo file, does >>> anyone have any idea how to fix it? >>> >>> Thank you very much >>> >>> O. >>> ___

Re: [Gmsh] Gmsh produces meshes with different number of elements

2018-08-09 Thread Juan E. Sanchez
. This is without making changes to the .geo file, does anyone have any idea how to fix it? Thank you very much O. ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh ___ gmsh

[Gmsh] Gmsh output mesh statistics in script (not in GUI)

2018-07-27 Thread Hector Espinoza
Hello: I am using gmsh 3.0.6 to produce a 3D mesh in an complex geometry and I would like to do the following steps to be sure I am producing a good mesh: 1) Generate a 2D surface mesh 2) Output statistics of the 2D mesh (gamma quality) 3) Apply some smoothing/optimization to the 2D surface mesh

Re: [Gmsh] Gmsh input writer for LS-DYNA

2018-07-26 Thread Christophe Geuzaine
> On 23 Jul 2018, at 08:52, Zhidong Han wrote: > > Hi, > > I have made some changes to the code to support LS-DYNA. Is it possible to > include the changes in Gmsh? Sure : create an account in our gitlab and submit a merge request. See https://gitlab.onelab.info/gmsh/gm

[Gmsh] Gmsh input writer for LS-DYNA

2018-07-23 Thread Zhidong Han
Hi, I have made some changes to the code to support LS-DYNA. Is it possible to include the changes in Gmsh? Thanks. Best regards, Zhidong ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh

Re: [Gmsh] Gmsh Tutorial 1 fails...?

2018-06-24 Thread Christophe Geuzaine
> On 24 Jun 2018, at 18:50, Zuheyr Alsalihi wrote: > > Dear gmsh Community, > > I am using the following executable downloaded today, 24/06/2018: > gmsh-3.0.6-Linux64/bin/gmsh > > > I copied and pasted the t1.geo from Prof. Geuzaine's gmesh Website which is > attached. > I seem to do a

  1   2   3   >