CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

[Gmsh] Physical Tag To Mesh Elements

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 3, 2016, 12:43
Default [Gmsh] Physical Tag To Mesh Elements
  #1
New Member
 
Francesco L. Romeo
Join Date: Jun 2016
Location: Milan, Italy
Posts: 5
Rep Power: 3
FrancescoLRomeo is on a distinguished road
Send a message via Skype™ to FrancescoLRomeo
Hi,

I am using Gmsh for creating structured 2d meshes of quadrilaters (by defining Transfinite Lines and then Transfinite Surfaces).
Is it possible (and if yes, how?) to assign a "Physical Tag" to a specific group of elements of the mesh? and how about specific edges of the mesh?
Indeed, my goal is to export the ".msh" output file (version 2.2) and to let the (external) solver know if some elements of the mesh must be considered as obstacles in a fluid flow.
I know how to assign Physical Tags to Geometrical Elementary Entities... but not to Mesh Elements. Is this possible?
I would like not to modify manually the ".msh" file to define these tags.

Thanks,
Best Regards,

Francesco L. Romeo

p.s. I would prefer not to insert holes in the mesh to define the obstacles, because my solver uses a "direct addressing mode" (indirizzamento diretto) for Carthesian 2d meshes...
FrancescoLRomeo is offline   Reply With Quote

Reply

Tags
gmsh, mesh 2d, mesh element, physical groups, physical tag

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
[ICEM] Mesh along axis for a wedge gives elements with extreme aspect ratio sangrampp ANSYS Meshing & Geometry 0 November 17, 2010 07:57
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 13:28.