|
[Sponsors] |
Defining cellZones for MRF simulations in enGrid? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 29, 2014, 09:09 |
Defining cellZones for MRF simulations in enGrid?
|
#1 |
New Member
Join Date: Apr 2014
Location: Sweden
Posts: 4
Rep Power: 12 |
Hello,
I have recently started using enGrid for meshing, and find it rather useful. This far I have only used it for meshing simple geometry for simpleFoam, but I would like to add a rotating region using the MRF approach. Do you know if there is some way of defining cellZones for MRF using enGrid, or am I limited to snappyHexMesh? Would it be possible to create the stationary region as one mesh file and the rotating region as another mesh file, merging these using mergeMesh, and then stitching the patches between regions using stitchMesh? Do any of you know if the mesh of the two regions need to align in order to use the stitchMesh utility, or will the utility take care of this even if the discretization is not identical? I am grateful for any input! Best regards, Adam Last edited by Adam Persson; September 29, 2014 at 10:50. |
|
October 3, 2014, 07:23 |
|
#2 |
Senior Member
|
I think you already answered you're own question.
Have a look here: http://www.sourceflux.de/blog/genera...snappyhexmesh/ Cheers. |
|
October 3, 2014, 07:29 |
|
#3 |
Senior Member
|
And I suggest you to use cyclicAMI BC at interfaces, but when you use fvOption, don't forget to specify not rotating patches, or you'll have strange behaviour.
http://www.slideshare.net/fumiyanoza...using-openfoam Bye |
|
October 6, 2014, 05:04 |
|
#4 |
Senior Member
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17 |
Adam,
the functionality is already implemented, but not available from the GUI. If you edit the file foamwriter.cpp in the current master branch, you will see the following lines of C++ at the top of the file: Code:
FoamWriter::FoamWriter() { EG_TYPENAME; setFormat("Foam boundary files(boundary)"); setExtension(""); m_CreateCellZones = false;//true; m_NoDialog = false; } Best regards, Oliver |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
enGrid Surface grid parameters | Claudio | enGrid | 5 | April 29, 2015 04:32 |
Engrid mesh generation | eebrah | enGrid | 1 | July 29, 2014 09:16 |