Re: [Gmsh] get mesh volume

2018-05-01 Thread Juan E. Sanchez
Hello, Thanks for the check, and the useful script. Upon further analysis, the circumcenter of many of the tetrahedron are outside their respective volumes. This is where the additional volume is coming from in my calculations. This is affecting the results of the control volume method I am

Re: [Gmsh] Build API Demo Linking Static Libraries

2018-05-01 Thread Christophe Geuzaine
> On 16 Apr 2018, at 20:16, Su Tian wrote: > > Hello All, > > I want to test the OCC and API capabilities using the demo ‘boolean’. I have > built OCC and Gmsh into static libraries. When preparing the CMake file for > building ‘boolean.exe’, do I need to link all OCC libraries explicitly?

Re: [Gmsh] Evolution of the Skin plugin

2018-05-01 Thread Christophe Geuzaine
HI Nicolas - Indeed, good idea. Note that you can do something similar at runtime: select "Draw only skin of 3D views" in the "Visibility" options of the view. (In a script: View.DrawSkinOnly = 1;) Christophe > On 17 Apr 2018, at 15:56, Karin&NiKo wrote: > > Dear Gmsh Gurus, > > Could it

Re: [Gmsh] ASCII mesh format

2018-05-01 Thread Christophe Geuzaine
Hi Yoann - the 2 files you sent are in format 2... > On 23 Apr 2018, at 15:25, Yoann LE BARS wrote: > > > Hello everybody out there! > > Well, my troubles are not entirely solved yet: when I look at the > MSH file in version 3, it seems to me that z values are not only zeros. > But, after

Re: [Gmsh] get mesh volume

2018-05-01 Thread Christophe Geuzaine
You can run this script, e.g. compute_volume.geo : Merge "3dblock.msh"; Plugin(NewView).Run; Plugin(ModifyComponents).Expression0 = "1"; Plugin(ModifyComponents).Run; Plugin(Integrate).Dimension = 3; Plugin(Integrate).Run; You'll get Info: Running '/Applications/Gmsh.app/Contents/MacOS/gms