Tell me more ×
Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It's 100% free, no registration required.

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?

share|improve this question
also asked at cfd-online.com/Forums/openfoam-meshing/… – kar Jul 6 '12 at 10:34
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? – tomislav-maric Jul 7 '12 at 10:10
@tomislav-maric turns out my vocabulary was missing the word baffle... in that case the solution involves calling createBaffles instead of subsetMesh – kar Jul 9 '12 at 7:28

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
Could you elaborate? – Geoff Oxberry Jul 7 '12 at 15:58
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 – bgschaid Jul 8 '12 at 20:50
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) – bgschaid Jul 8 '12 at 20:53
@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. – kar Jul 9 '12 at 7:22
1  
@GeoffOxberry: OK. Did so: meta.scicomp.stackexchange.com/questions/298/… (noticed that you answered a "symmetrical" question) – bgschaid Jul 11 '12 at 11:49
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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