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

[mesh manipulation] CreatePatchDict & TopoSet.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2019, 06:04
Default CreatePatchDict & TopoSet.
  #1
New Member
 
Stefano Doddo
Join Date: Mar 2019
Posts: 7
Rep Power: 7
Stefano.Doddo is on a distinguished road
Hi everyone, this is the first time for me here, my name is Stefano and it's a pleasure for me. I'm studying a heat flux method and i have to simulate it with openfoam. I found a case in openfoam that reproduce an adiabatic burning flame to study the adiabatic burning velocity, "counterflowflame_2D" and i modified it in HF, but I have some problem with the definition of the mesh. The volume to define is a single block with the inlet at the bottom and the outlet in the others part but there is two snippets (2 mm high) at the bottom to define like wall (no inlet, no outlet) at the fixed temperature. So, to do this, I used the method present in the case "smallPoolFire2D", with createpatchDict and topoSet, and I modified it for two patches, you can see the script in the corresponding attached files, where you can find, also, the OpenFoam error after the launching createPatch command. Can someone help me? Have you got some suggestions?
Thank you so much for yours attention.
Best Regards.
Stefano.
Attached Images
File Type: png topoSetDict.png (27.0 KB, 64 views)
File Type: png createPatchDict.png (86.8 KB, 57 views)
File Type: png Error.png (45.4 KB, 37 views)
Stefano.Doddo is offline   Reply With Quote

Old   March 26, 2019, 09:14
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Error message is rather clear: you can not create patch with createPatch utility using internal faces. If you need to create new boundaries inside simulation domain, try to use createBaffles. If you do want to create new patches, use subset operation with boundaryToFace source in topoSetDict.
Stefano.Doddo likes this.
alexeym is offline   Reply With Quote

Old   March 26, 2019, 10:08
Default
  #3
New Member
 
Stefano Doddo
Join Date: Mar 2019
Posts: 7
Rep Power: 7
Stefano.Doddo is on a distinguished road
Thank u so much for your reply. I started using openfoam recently like you see. I try to do what did you sayied.
Stefano.Doddo is offline   Reply With Quote

Old   March 26, 2019, 15:57
Default
  #4
New Member
 
Join Date: Mar 2016
Posts: 23
Rep Power: 10
miragemobile is on a distinguished road
Quote:
Originally Posted by alexeym View Post
Hi,

Error message is rather clear: you can not create patch with createPatch utility using internal faces. If you need to create new boundaries inside simulation domain, try to use createBaffles. If you do want to create new patches, use subset operation with boundaryToFace source in topoSetDict.
How is boundaryToFace used to only select part of the exterior surface of the domain?

thanks for your time,

mirage
miragemobile is offline   Reply With Quote

Old   April 1, 2019, 12:50
Default Internal Faces Problem.
  #5
New Member
 
Stefano Doddo
Join Date: Mar 2019
Posts: 7
Rep Power: 7
Stefano.Doddo is on a distinguished road
Hi everyone,
I have to simulate a burner with the heat flux method. This burner can approximate like a box with one inlet in the bottom, one outlet 2 mm above along y-axis, and on both sides two wall of the thikness 1 mm at the fixed temperature of 85° C. Moreover, I have to see the flame simulation over the outlet, about 20 cm above. So, the problem is to create two boxes of 2 mm along y-axes and 1 mm along x-axes like two patches at the fixed T=85°C. I didn't undestaind how work topoSetDict and the createPatchDict, so I tryed to create four boxes with blockMeshDict and using mergePatchPairs for the internal faces, but I get an error. Can someone help me with this method or explain me how can i apply the topoSetDict and createPatchDict Method on my case?
Thank you so much for your attention.
Best Regards.
Stefano.Doddo is offline   Reply With Quote

Reply

Tags
createpatchdict, heat flux model, help in mesh, mesh, toposetdict


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
fail to run series of runApplication topoSet -dict jiahui_93 OpenFOAM Programming & Development 1 May 25, 2022 12:56
creating square patch (for air inlet) on the bottom face using cellset in toposet Rajesh Nimmagadda OpenFOAM Running, Solving & CFD 0 October 31, 2017 12:27
[snappyHexMesh] Porous Media using TopoSet RobertoCirolini OpenFOAM Meshing & Mesh Conversion 3 August 30, 2016 08:34
[Other] topoSet Wrong number of faces. a19910112a OpenFOAM Meshing & Mesh Conversion 1 June 9, 2015 05:41
[snappyHexMesh] HOW to set a circular face by toposet Jessica OpenFOAM Meshing & Mesh Conversion 2 September 12, 2013 20:54


All times are GMT -4. The time now is 04:58.