|July 26, 2013, 06:50||
How to add a patch
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490Rep Power: 9
I am writing since I have a (very simple) case and I am facing a problem and I can not start to solve it.
I have a pipe and - using block mesh - I build a block around this pipe. The inlet is on the same plane of the block face, while the outlet is in the middle of the block itself.
If I choose the face `back' of the block, I see the picture in can see in the attached figure.
The point is that it is a unique patch. What I wanna do is to creat a pactch `back' for the back of the block and a patch `inlet' for the inlet. How can I do this?
Reading here, it seems that I can use the `createPatch' feature. The point is that my patch is not a circle.
How can I do this?
Thanks a lot for any help you would provide.
|July 26, 2013, 12:30||
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 268Rep Power: 9
You can use
> autoPatch 45
You can use topoSet to make a face list of the extra patches then use createPatch to merge all of these faces back into the patches you want.
Hunt around the foam directory for topoSetDict and createPatchDict examples. You should be able to figure the process out from that.
|July 26, 2013, 13:04||
Join Date: Aug 2012
Posts: 27Rep Power: 4
from the geometrie in your post i don't see why you don't define all the patches you need in the blockMeshDict.
Anyway, you also can create the patches with topSet and createPatch. First you select all the wanted boundary faces with topoSet. The normal vector will be an appropriate criteria for your problem. In the next step you can use this faceSet as source in your createPatchDict.
For a detailed example see the createInletOutlet.topoSet and the createPachDict in the propeller tutorial.
|Thread||Thread Starter||Forum||Replies||Last Post|
|y+ and u+ values with low-Re RANS turbulence models: utility + testcase||florian_krause||OpenFOAM||108||June 9, 2015 08:13|
|[GAMBIT] periodic faces not matching||Aadhavan||ANSYS Meshing & Geometry||6||August 31, 2013 11:25|
|CheckMeshbs errors||ivanyao||OpenFOAM Running, Solving & CFD||2||March 11, 2009 03:34|
|Import gmsh msh to Foam||adorean||Open Source Meshers: Gmsh, Netgen, CGNS, ...||24||April 27, 2005 08:19|
|Multicomponent fluid||Andrea||CFX||2||October 11, 2004 05:12|