CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

Gmsh - 2D mesh Extrusion Boundary Conditions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2019, 09:22
Default Gmsh - 2D mesh Extrusion Boundary Conditions
  #1
New Member
 
Vitor Heitor Cardoso
Join Date: Jan 2019
Location: Rio de Janeiro
Posts: 10
Rep Power: 7
heitorvitorc is on a distinguished road
Dear Community,

Good afternoon,

Is there a way to convert a "physical line" boundary condition into a "physical surface" one? I have a very complex geometry of a real porous media, and I am capable of generate a 2D mesh for Ansys and/or FENIcS, but I must compare the values with finite volume method, which will require OpenFOAM simulation.

I can extrude the mesh easily, but I cannot automatically create all the physical surfaces and the physical volume for the single-layered extruded mesh.

Best regards,

Vitor Cardoso
heitorvitorc is offline   Reply With Quote

Old   May 14, 2019, 08:36
Default
  #2
Senior Member
 
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13
Flowkersma is on a distinguished road
Hi Vitor,

You could import the same mesh to OpenFOAM that you used in Ansys/FEniCS simulations. OpenFOAM supports several mesh formats such as Ansys/Fluent (.ans/.msh). Otherwise, extrude your GMSH surface mesh one cell in the third direction. The extrusion function returns an array with the surface indices which you can use to define the physical surfaces.

Best, Mikko
Flowkersma is offline   Reply With Quote

Reply

Tags
extrude mesh, gmsh, mesh 2d to 3d, mesh generation, openfoam

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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 10:00
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 06:08
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20


All times are GMT -4. The time now is 09:38.