|
From: Andy A. <ad...@sc...> - 2014-07-28 12:23:47
|
Hi Fabian, Our main expert on gmsh, Bartek, is on vacation for a couple of weeks. If we have other experts, I would like to here from them; otherwise, you'll need to wait for the help. -- Andy Adler <ad...@sc...> +1-613-520-2600x8785 On 28 July 2014 04:59, BRAUN Fabian <Fab...@cs...> wrote: > Hi all, > > > > I am about to create a 3D model of a human thorax including electrodes > (using place_elec_on_surf). > > For simulation purposes I need to refine the mesh locally at certain > locations inside the thorax where organ movements take place (e.g. aorta and > heart regions have 10-fold finer mesh than the other elements). > > > > In Netgen I can achieve this by generating a “..msz” file (as also discussed > here: > http://www.cfd-online.com/Forums/openfoam-meshing-open/111305-netgen-refinement-regions.html). > > > > However, if I understood correctly, the place_elec_on_surf command uses gmsh > in the last step to generate the volume mesh. Thus I will need to tell gmsh > to do this refinement. > > There are several ways of specifying the mesh size in gmsh: > http://geuz.org/gmsh/doc/texinfo/gmsh.html#Specifying-mesh-element-sizes, > however not all are supported when using the Netgen meshing algorithm. > > > > So far I’ve tried to use the default option > (Mesh.CharacteristicLengthFromPoints)by adding a grid of points (similar to > what one does for the .msz file in Netgen) at the end of the .geo file which > is passed to gmsh (by slightly modifying the gmsh_stl2tet.m file): > > Point(1)={x1,y1,z1,MaxSizeLocalRefined}; > > … > > Point(N)={xN,yN,zN,MaxSizeLocalRefined}; > > Unfortunately, this does not seem to work as I cannot see any changes in the > result. > > > > Does anyone have more experience with local mesh refinement in gmsh? > > > > Thanks for your useful hints in advance. > > Best regards, > > Fabian > > > > PS: I’m running Matlab R2013b, Eidors vDev (latest SVN commit: Rev4619), > gmsh 2.8.5 and Netgen 5.1 on a Win64 machine > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > eidors3d-help mailing list > eid...@li... > https://lists.sourceforge.net/lists/listinfo/eidors3d-help > |