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

Importing 2D geometry to OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2023, 19:15
Smile Importing 2D geometry to OpenFoam
  #1
New Member
 
Emre
Join Date: Sep 2023
Posts: 3
Rep Power: 2
ecetinkaya is on a distinguished road
Hello, I created a 2D geometry through blender, but when I import it as a stl file, the file cannot be printed because it is not 3D. Is there a way to throw a 2D sketch to openfoam? I don't want to make it 3D because then the flow area is changed and my geometry is a putnam nozzle. For example, I found an excel file on the internet on how to adapt the 2d airfoil to the blockmesh, but my geometry is a nozzle. I would be very grateful if you could give me an idea on how to do it. Thanks.
ecetinkaya is offline   Reply With Quote

Old   September 2, 2023, 12:47
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 736
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
OpenFoam has no concept on 2D simulations (as points in the mesh always have an x, y and z coordinate).

Extrusion from 2D to 3D in such a way that the flow is unchanged is thus required.

The are at least two possibilities:

1/ ask the mesher to mesh with one (single) cell in the extrusion direction. I imagine (though I never used) snappyHexMesh to be able to do so. See also https://snappyhexmesh-gui.readthedoc...appy_gui.html#

2/ generate a 2D mesh and extrude by hand using the OpenFoam extrudeMesh utility https://www.openfoam.com/documentati...trudeMesh.html
dlahaye is offline   Reply With Quote

Reply


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
Getting Started with OpenFOAM wyldckat OpenFOAM 25 August 14, 2022 13:55
[ANSYS Meshing] Importing Geometry for analysis in Ansys AQWA AlexK ANSYS Meshing & Geometry 1 October 29, 2017 09:19
Issues Importing Geometry (Hyperloop Design) iiwolf ANSYS 1 December 2, 2015 18:25
Can OpenFOAM currently import CAD geometry? Davitt OpenFOAM Pre-Processing 2 November 2, 2015 07:46
importing geometry into starccm krishna086 STAR-CCM+ 0 November 28, 2010 21:54


All times are GMT -4. The time now is 21:56.