> On 30 Mar 2020, at 12:57, Julian <julian.henneb...@googlemail.com> wrote: > > Hello, > > I am using gmsh for modelling 2D components and I am trying to find out how I > can set a thickness to the plate/shell elements. First I was thinking about > assigning regions of different thicknesses to different physical groups but > by this approach I can specify only a constant value which is not what I need. > > According to this conversation from the mailing list it should be possible. >
You can indeed interpolate a function on the 2D mesh; the API allows you to create a "post-processing view" for this quite easily (see e.g. demos/api/view.py). Christophe > Hi Mathieu, > Have a look at the Gmsh Tutorial 7: > http://geuz.org/gmsh/doc/texinfo/gmsh.html#t7_002egeo > HTH > Ruth > Dr. Ir. Ruth V. Sabariego > University of Liege, Electrical Engineering & Computer Science, > Applied & Computational Electromagnetics (ACE), > phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/ > > On 13 Oct 2011, at 12:27, Mathieu ARQUIER wrote: > > Hello, > > First of all, thank you very much for developing GMSH !!! I used it for > several years now as pre-processor to create meshes for my structural > calculation software and it works very well :). > Now, I want to go further and would like to create variable thickness shell > elements. So, I was wondering if there is a way to interpolate a scalar field > inside a 2D meshed surfaced (i.e. the thickness) ? Basically, I want to > define a surface with a variable thickness (let's say I know the value at > some nodes of its border), and, once the meshing has been done, I want to > retrieve the value of the interpolated thickness at each new created nodes > inside the surface in order to define variable thickness shell elements. > Do you see any way to do so ? > Thank you in advance ! > > Best regards, > > Mathieu ARQUIER > Structural Engineer > mathieu.arquier at gmail.com > > I checked the tutorial 7 he referred to. In my opionion this examples > controls the size of the elements by using a *.pos file and not controlling > the thickness. So my question is how I can assign a thickness for example to > a rectangle area as a linear function from 1 to 10 in x-direction and > constant in y-direction? > > Best regards > Julian > _______________________________________________ > 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 _______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh