Thank you for very quick answer!

It fixes the issue, now I have perfectly conforming meshes.

But maybe this is a thought for additional feature? It would be very convenient to pass as a command line argument the physical volume identifier, and have GMSH export corresponding mesh with adjacent physical surfaces? The example I sent in was quite simple, but real cases I am working on contains a lot of surfaces, which I suspect could be selected/deselected more efficient than commenting and un-commenting physical definitions.

Best,
Uģis

On 03/06/16 17:36, Theler German Guillermo wrote:
Hi

Try comenting the definition of one physical volume and exporting one
mesh, then uncomment the first volume and comment the second and export
the second mesh. Make sure Mesh.SaveAll = 0 (see
http://gmsh.info/doc/texinfo/gmsh.html#Mesh-options-list )



--
--
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
[email protected]
www.cites-gss.com - www.gruposancorseguros.com

On Fri, 2016-06-03 at 09:33 +0200, Uģis Lācis wrote:
Hi everyone,

I am using GMSH to generate a 3D mesh to solve fluid and solid equations
in FreeFem++ in a coupled manner. So far I have generated two different
*.geo files for fluid and solid part, and that has produced reasonable
results for me up till now.

However, when investigating the produced meshes in a close up, it seems
that the generated meshes does not conform exactly... there are some
tiny differences at some points. I would like to get rid of those.

I have generated a single .geo file for both domains (see example
attached), but I am not able to export two separate mesh files - one for
physical volume "50" (and adjacent physical surfaces), and other for
physical volume "51" (and adjacent physical surfaces).

For me the task seems simple. Is there an easy/automatic way to do that
using gmsh?

I could of course write a script, that takes the whole mesh and extracts
the needed elements to other file, but for me it makes sense that such
functionality would be present within GMSH already.

I am using GMSH version 2.12.0.

Best regards,
Ugis
________________________________
  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.
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh


_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to