|
[Sponsors] |
March 28, 2023, 09:20 |
How to set internal boundary in OpenFOAM
|
#1 |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 |
I am simulating a flow field using pimpleFoam. I want to set an "internal boundary" inside the geometry and specify the velocity on the "internal boundary". Is there a way to do this?
|
|
March 29, 2023, 04:50 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Yes. Use e.g,. topoSet to get you faces and create a faceSet. After that use createPatch to create a new patch with the faceSet you created previously. You will see the new patch in constant/polyMesh/boundaries. Finally, specify the new boundary conditions for your new patch(s) inside your files (0/*)
__________________
Keep foaming, Tobias Holzmann |
|
March 29, 2023, 09:29 |
|
#3 | |
Member
Ching Liu
Join Date: Sep 2017
Posts: 52
Rep Power: 9 |
Quote:
actions ( { name baffleFace; type faceSet; action new; source labelToFace; value (???); } ); In value, I need to input the face ID. Do you know how to get the face ID of an internal face? The boxToFace seems not to work if I just want to find one face. |
||
Tags |
internal boundary, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 17, 2020 00:44 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |