Hello,
Is there a way to get the mesh volume calculated by gmsh?
My simulator is calculating a volume of 1.09e-15 for the attached
structure, but it should be 1e-15.
Before I added these flags
Mesh.OptimizeNetgen=1;
Mesh.OptimizeThreshold=1;
I was getting 1.17e-15.
I am summing the volume f
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
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
Hello,
Does anyone know how to get gmsh to output a mesh, where all
tetrahedra meet the Delaunay condition of having their circumcenter
inside their volume? For my example, it seems like this condition is
not being met, even though I have tried these options:
Mesh.OptimizeNetgen=1;
Mesh.OptimizeT
Hi Juan - Indeed, Gmsh does not guarantee that the Delaunay criterion is
satisfied.
Christophe
> On 3 May 2018, at 22:00, Juan Sanchez wrote:
>
> Hello,
>
> Does anyone know how to get gmsh to output a mesh, where all
> tetrahedra meet the Delaunay condition of having their circumcenter
> i