[Gmsh] Assigning integer/string to elements in a physical entity?

Theler German Guillermo gtheler at cites-gss.com
Thu Jul 30 14:09:58 CEST 2015


Can you send a minimal working example of a .geo file and the output you
expect?

--
Germán Theler :: CTO Ingeniería & TICs

CITES – Centro de Innovación Tecnológica Empresarial y Social S.A.
Dirección General Sancor Seguros
Grupo Sancor Seguros
tel +54 3493 –428 500 – Int.: 3374
gtheler at cites-gss.com
www.cites-gss.com - www.gruposancorseguros.com



On Mon, 2015-07-27 at 15:16 -0500, Kyle Hoffman wrote:
> Hello,
>
>
> I am trying to mesh a model of a room in GMSH to be used for thermal
> analysis. To do this I need to assign characteristics for different
> materials (e.g. walls, air, window, etc.) to define boundaries and
> subdomains.  I am looking for a way to assign an integer or string to
> elements that can be seen in the geo file. Is there a way to do this
> in GMSH? If possible, it would be easiest if there was a way to assign
> this value to elements when adding Physical Surfaces and Volumes.
>
>
>  The goal is to then take the geo file and convert it to an xml to be
> used by FENICS.I am aware of the method using DOLFIN-CONVERT, but the
> re-numbering of the physical entities in the geo file is not ideal for
> repeatability and tracking the material (subdomain) of each entity. So
> if there was a way to assign a value, defined by the user, to physical
> entities when they are added that would be ideal.
>
>
> Thanks,
>
> Kyle Hoffman
>
>
>
________________________________
 Imprima este mensaje sólo si es absolutamente necesario.
Para imprimir, en lo posible utilice el papel de ambos lados.
El Grupo Sancor Seguros se compromete con el cuidado del medioambiente.



************AVISO DE CONFIDENCIALIDAD************

El Grupo Sancor Seguros comunica que:

Este mensaje y todos los archivos adjuntos a el son para uso exclusivo del destinatario y pueden contener información confidencial o propietaria, cuya divulgación es sancionada por ley. Si usted recibió este mensaje erróneamente, por favor notifíquenos respondiendo al remitente, borre el mensaje original y destruya las copias (impresas o grabadas en cualquier medio magnético) que pueda haber realizado del mismo. Todas las opiniones contenidas en este mail son propias del autor del mensaje. La publicación, uso, copia o impresión total o parcial de este mensaje o documentos adjuntos queda prohibida.

Disposición DNDP 10-2008. El titular de los datos personales tiene la facultad de ejercer el derecho de acceso a los mismos en forma gratuita a intervalos no inferiores a seis meses, salvo que acredite un interés legítimo al efecto conforme lo establecido en el artículo 14, inciso 3 de la Ley 25.326. La DIRECCIÓN NACIONAL DE PROTECCIÓN DE DATOS PERSONALES, Organo de Control de la Ley 25.326, tiene la atribución de atender las denuncias y reclamos que se interpongan con relación al incumplimiento de las normas sobre la protección de datos personales.