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

[mesh manipulation] How to create a subpatch from a patch

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 9, 2015, 13:36
Default How to create a subpatch from a patch
  #1
New Member
 
Marcel Vonlanthen
Join Date: Nov 2012
Location: Zurich, Switzerland
Posts: 28
Rep Power: 13
Sylv is on a distinguished road
Dear Foamer,

I have the mesh of a hilly terrain (very similar to the tutorial of moveDynamicMesh). The mesh is composed by the following boundaries:
  • north
  • south
  • east
  • west
  • top
  • ground
I want to extract from "ground" a sub-patch named "hill". To do this, I am thinking about using createPatch, but I need a faceSet with ONLY patch faces, and this is very problematic. My strategy was to use toposet like this:

  • create a cellSet with boxToCell. The box enclosed the faces that will be part of "hill" (easy)
  • create a faceSet with cellToFace (easy)
From this faceSet, I have to remove the internal faces. How can I do that?

Or is there a better option?

Cheers,
Marcel
Sylv is offline   Reply With Quote

 


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
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 05:37
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 15:33
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
Cyclic Boundary Condition Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Running, Solving & CFD 36 July 2, 2012 12:23
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 15:46.