CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Creating patches in OpenFOAM

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2020, 07:08
Default Creating patches in OpenFOAM
New Member
Shahid Khan
Join Date: Jan 2020
Posts: 10
Rep Power: 2
shahidkhan is on a distinguished road
I have a geometry of human airway tree. I have done the meshing using snappyhexmesh flange tutorial. Now I need to create patches to define boundary conditions.
When I am doing 'autopatch' it is creating too many surfaces which I don't need. I need patches only at trachea inlet and outlet.
Please help me in solving the issue.
I am attaching mesh for your convenience.

Screenshot from 2020-02-03 17-35-52.jpg
shahidkhan is offline   Reply With Quote

Old   February 5, 2020, 01:46
Senior Member
linnemann's Avatar
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 521
Rep Power: 23
linnemann will become famous soon enough

Use paraview to select the cells you want to use and export to stl.

Then use surfaceToPatch command to make the stl into a boundary condition.

See this post.

Splitting the Boundaries

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote


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
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 15:39
Courant number, patches, etc oort OpenFOAM 1 July 24, 2009 18:05

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