5
$\begingroup$

I know using topoSet and subsetMesh along the lines of the mesh/moveDynamicMesh/simpleHarmonicMotion tutorial, one can cut holes into a mesh and obtain new patches. How can something similar be achieved with a vanishing hole, i.e. can a set of internal faces be turned into two touching patches with opposite orientation?

$\endgroup$
3
  • $\begingroup$ also asked at cfd-online.com/Forums/openfoam-meshing/… $\endgroup$ Jul 6, 2012 at 10:34
  • $\begingroup$ When you write "vanishing hole" do you mean that you would like to dynamically select a set of faces within a single mesh, that should be cut out as the static cells in this tutorial? What do you need exactly? $\endgroup$
    – tmaric
    Jul 7, 2012 at 10:10
  • $\begingroup$ @tomislav-maric turns out my vocabulary was missing the word baffle... in that case the solution involves calling createBaffles instead of subsetMesh $\endgroup$ Jul 9, 2012 at 7:28

1 Answer 1

4
$\begingroup$

I think what you're looking for is the createBaffles utility:

Use topoSet to create a faceZone, then run something like

createBaffles nameOfFaceZone '(nameOfMasterPatch nameOfSlavePatch)' -overwrite

The patches have to exist already, for which createPatches can come in handy.

$\endgroup$
10
  • $\begingroup$ Could you elaborate? $\endgroup$ Jul 7, 2012 at 15:58
  • $\begingroup$ I think the question was more one about nomenclature. The information kar was missing was the name of the utility (or that the OF-developers call the structure he wanted baffles). He seemed rather competent, so he probably already found the missing puzzle pieces at cfd-online.com/Forums/search.php?searchid=1258148&pp=25 $\endgroup$
    – bgschaid
    Jul 8, 2012 at 20:50
  • $\begingroup$ One more note: similar questions about OpenFOAM have been closed (with good reason I think) as being "too program specific for a general audience" (quoting from memory) $\endgroup$
    – bgschaid
    Jul 8, 2012 at 20:53
  • $\begingroup$ @GeoffOxberry I edited in a slight elaboration. #bgschaid Thanks, that's what I was looking for. Your search link is no longer valid, I found this example though. $\endgroup$ Jul 9, 2012 at 7:22
  • 1
    $\begingroup$ @GeoffOxberry: OK. Did so: meta.scicomp.stackexchange.com/questions/298/… (noticed that you answered a "symmetrical" question) $\endgroup$
    – bgschaid
    Jul 11, 2012 at 11:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.