Re: [Gmsh] [Gmsh-announce] New Gmsh release: 2.14.1
On 30/10/16 09:49, Christophe Geuzaine wrote: > New in 2.14.1: fixed regression in periodic meshes; small bug fixes and code > cleanups. > > Downloads, mailing lists, etc.: http://gmsh.info > > > ___ > gmsh-announce mailing list > gmsh-annou...@onelab.info > http://onelab.info/mailman/listinfo/gmsh-announce Hello, It seems that the 2.14.1 archive (from http://gmsh.info/src/gmsh-2.14.1-source.tgz) is updated every day as the nightly 'gmsh-svn-source.tgz' archive. For instance, today the folder inside the archived is named 'gmsh-2.14.1-svn-20161102-source'. Is it an expected behaviour ? Regards, Florian Blachère ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
Re: [Gmsh] [Gmsh-announce] New Gmsh release: 2.14.1
> On 2 Nov 2016, at 09:24, Florian Blachère > wrote: > > On 30/10/16 09:49, Christophe Geuzaine wrote: >> New in 2.14.1: fixed regression in periodic meshes; small bug fixes and code >> cleanups. >> >> Downloads, mailing lists, etc.: http://gmsh.info >> >> >> ___ >> gmsh-announce mailing list >> gmsh-annou...@onelab.info >> http://onelab.info/mailman/listinfo/gmsh-announce > Hello, > > It seems that the 2.14.1 archive (from > http://gmsh.info/src/gmsh-2.14.1-source.tgz) is updated every day as the > nightly 'gmsh-svn-source.tgz' archive. For instance, today the folder > inside the archived is named 'gmsh-2.14.1-svn-20161102-source'. > > Is it an expected behaviour ? Hi Florian - No, it was a bug due a bad symlink. Thanks for letting us know: it should now be fixed. > > Regards, > Florian Blachère > > ___ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine Free software: http://gmsh.info | http://getdp.info | http://onelab.info ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
Re: [Gmsh] Question about gmsh
> On 22 Oct 2016, at 04:09, Mayank Jog wrote: > > Hello, > I have been using "simnibs" software which uses gmsh to calculate electric > fields over a 3D mesh/geometry (human head). > It outputs a final .msh file, that contains the electric field information, > and can be viewed using gmsh. > > My issue is, I want to convert this file to a list where each line = > [coord location, electric field value ] How do I go about doing it? > > The ultimate goal is to regrid this data onto a regular cartesian grid to do > some funky postprocessing (fourier transforms, followed by funky stuff). Here's an example: Merge "tutorial/view3.pos"; Plugin(CutBox).X0=0; Plugin(CutBox).Y0=0; Plugin(CutBox).Z0=0; Plugin(CutBox).X1=1; Plugin(CutBox).Y1=0; Plugin(CutBox).Z1=0; Plugin(CutBox).X2=0; Plugin(CutBox).Y2=1; Plugin(CutBox).Z2=0; Plugin(CutBox).X3=0; Plugin(CutBox).Y3=0; Plugin(CutBox).Z3=1; Plugin(CutBox).NumPointsU=20; Plugin(CutBox).NumPointsV=20; Plugin(CutBox).NumPointsW=20; Plugin(CutBox).ConnectPoints=0; Plugin(CutBox).Boundary=0; Plugin(CutBox).View=0; Plugin(CutBox).Run; Save View[1] "points.txt"; > I tried saving the .msh file as a .txt ** , and then reading it line by > line.I was thinking of replacing each triangular element with its > centroid. However, I don't know how to proceed with other elementsplease > help me out > > Thank you! > Mayank > > ** "Post processing Generic txt" option in "save as" in gmsh > ___ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine Free software: http://gmsh.info | http://getdp.info | http://onelab.info ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
Re: [Gmsh] Problem about 'Plugin Crack'
> On 25 Oct 2016, at 16:12, Xiaoxin Lu wrote: > > Dear GMSH users and developers, > > I have a question about 'Plugin crack' command. > In the manual, it is said that 'The elements touching the crack on the > “negative” side are modified to use the newly generated vertices'. > I was wondering how to define the 'negative' side for 2D crack. Is it defined > by NormalX, Normal Y and Normal Z, which are the components of normal vector > of the crack surface? No, Normal{X,Y,Z} is only used to explicitly provide for "1D cracks" (curves) the normal to the surface in which these cracks live. For 2D cracks the normal is computed as usual, based on the orientation of the triangles/quadrangles. > Thank you very much. > > Best ragards, > Xiaoxin > > ___ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine Free software: http://gmsh.info | http://getdp.info | http://onelab.info ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
Re: [Gmsh] Question about gmsh
If the data is given node-based, this can be done more or less easily with awk. If the data is cell-centered (as it seems to be the case from your description) probably a more complex solution will be needed. Can you give us an example .msh file you want to convert to plain ASCII columns? -- jeremy On Fri, 2016-10-21 at 19:09 -0700, Mayank Jog wrote: > Hello, > > I have been using "simnibs" software which uses gmsh to calculate > electric fields over a 3D mesh/geometry (human head). > > It outputs a final .msh file, that contains the electric field > information, and can be viewed using gmsh. > > > My issue is, I want to convert this file to a list where each line = > [coord location, electric field value ] How do I go about doing it? > > > The ultimate goal is to regrid this data onto a regular cartesian grid > to do some funky postprocessing (fourier transforms, followed by funky > stuff). I tried saving the .msh file as a .txt ** , and then reading > it line by line.I was thinking of replacing each triangular > element with its centroid. However, I don't know how to proceed with > other elementsplease help me out > > > Thank you! > > Mayank > > ** "Post processing Generic txt" option in "save as" in gmsh > ___ > 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] A problem about the format convertion of geometry file in matlab
Dear sir, I have built a 3D geometry model with script and used the extrude keyword. The file is attached. But the meshing result will be different from the result of which I save the file attached as geo file first, and then do meshing. As I am using the matlab to built the geometry model and to do meshing, and I want to use the geo file format, could you tell me that if there is some method to convert the attached file into geo file by matlab? Thank you very much! With best wishes! Yours sincerely, Longlong LI 3D Description: 3D ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh
[Gmsh] 2.14.1 tarball change
Hello, The FreeBSD package for gmsh is currently failing, because the tarball for this release has changed. fetch: http://gmsh.info/src/gmsh-2.14.1-source.tgz: size mismatch: expected 10862009, actual 10860112 *** Error code 1 Were there changes other than the renaming of the top level directory? I don't have an old tarball to do a diff. Thanks, Joseph signature.asc Description: PGP signature ___ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh