CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] Physical Tag To Mesh Elements

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2016, 12:43
Default Physical Tag To Mesh Elements
  #1
New Member
 
Francesco L. Romeo
Join Date: Jun 2016
Location: Milan, Italy
Posts: 6
Rep Power: 10
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FFD shape deformation for 3D wing not changing the mesh lwc24 SU2 Shape Design 5 August 1, 2019 15:17
Gambit problems Althea FLUENT 22 January 4, 2017 03:19
[Gmsh] Nasa Nozzle: Plot 3D -->gmsh -->fluent - no physical groups Nico89 OpenFOAM Meshing & Mesh Conversion 1 June 14, 2016 05:40
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09


All times are GMT -4. The time now is 16:59.