|
[Sponsors] |
October 14, 2015, 06:22 |
CFMesh cellZones
|
#1 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27 |
Hi
This is directed towards the cfMesh developers. Is it possible to make a cellZone when meshing? This is particular usefull when doing MRF or porous simulations. For a MRF the cylinder zone the interface/boundary must be captured quite accurate. You already have the primitives ready Code:
objectRefinements { insideTheBody { cellSize 10; type cone; p0 (0 0 -32); p1 (0 0 32); radius0 200; radius1 200; } } Code:
snapMeshToInterface true; Then we can use the topoSet utility to extract the zone later on.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
October 15, 2015, 15:16 |
Use of createBaffles
|
#2 | |
Member
Werner
Join Date: Jul 2015
Location: West Lafayette, USA
Posts: 34
Rep Power: 10 |
Hi Niels,
I'm very interested in what you're trying to do. I'm trying to implement cfMesh for a case with the pimpleDyMFoam solver. I guess could we do what you say (split meshes) with the command create Baffles that takes a faceZone and generates the master and slave patches. Is that right ? there's a problem that I'm trying to solve before I try that. How do I define the patch "innerCylinderSmall" with the code inserted in objectRefinements so that I can create the faceZone "InnerCylinderSmall". Did you solve this already ? Here the content of my createBafflesDict that I took from the openfoam 2.2.x propeller tutorial. Quote:
|
||
October 15, 2015, 15:55 |
|
#3 | |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27 |
Quote:
But as said above you can not do zones in cfMesh. It/when that gets in you can do what you want. Until then we need to split the meshes in two parts and merge them together and make AMI's that way.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
||
October 15, 2015, 21:00 |
create cylindrical cellZone with createAMIFaces
|
#4 | ||
Member
Werner
Join Date: Jul 2015
Location: West Lafayette, USA
Posts: 34
Rep Power: 10 |
I was able to create a Cellzone and a faceZone in a Cylinder in cfMesh mainly with the aplication createAMIFaces. I paste some relevant files and my Allrun scripts below.
system/createAMIFaces Quote:
When I executed the solver pimpleDyMFoam it actually ran but without rotating the dynamic Mesh and when I ran the moveDynamicMesh App it crashed with an error that I know only too well but do not understand. Quote:
Last edited by WernerW; October 16, 2015 at 10:49. |
|||
October 16, 2015, 04:54 |
|
#5 | |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27 |
Quote:
http://www.openfoam.org/version2.1.0/ami.php That is why I proposed that cfMesh made something that splits the mesh at the cylinder interface to be able to have really nice interfaces.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
||
November 23, 2015, 14:11 |
|
#6 |
Member
Yuanchuan Liu
Join Date: Oct 2012
Posts: 31
Rep Power: 13 |
Yes. I also use AMI quite a lot and this is a very good proposal. Interested to know if the developers are adding this to the next release.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[cfMesh] Compiling cfMesh with OpenFOAM 4.x | dkokron | OpenFOAM Community Contributions | 16 | August 15, 2018 11:26 |
[cfMesh] CFMesh for blue core CFD | naveen.hariprasad | OpenFOAM Community Contributions | 2 | March 4, 2018 16:11 |
[cfMesh] feature edge error | zordiack | OpenFOAM Community Contributions | 3 | October 11, 2016 06:09 |
[cfMesh] mesh improvements for 'face tets' | pici | OpenFOAM Community Contributions | 1 | September 2, 2015 04:31 |
DecomposePar and CellZones | Anne Lincke | OpenFOAM | 4 | October 13, 2010 09:18 |