cannot find MRF cellZone vessel
Hi guys , I recently started working with OpenFoam and I'm new to it , so excuse me if this problem seems simple or basic. I'm trying to model a rotating vessel in OpenFoam using the solver MRFInterFoam . I created the mesh using Gambit and i think i have successfully converted it to Foam (fluentMeshToFoam) , because I can display it in paraFoam and using the command chekMesh no problem shows up . but after setting the initial field (setFields also worked as expected) , I tried to run the program and the following error shows up :
"Reading g Calculating field g.h No finite volume options present Creating MRF zone list from MRFProperties creating MRF zone: zone1 --> FOAM FATAL ERROR: cannot find MRF cellZone vessel From function MRFZone(const word&, const fvMesh&, const dictionary&, const word&) in file cfdTools/general/MRF/MRFZone.C at line 311. FOAM exiting" I don't exactly know what the cell zones file(in poly Mesh directory) does or how it's created but it seems to have a problem : "FoamFile { version 2.0; format ascii; class regIOobject; location "constant/polyMesh"; object cellZones; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 0 () // ************************************************** *********************** //" so can anyone help me ? thanks in advance for your time and considerations :) |
well;
1- where did you define your MRF zone? 2- did you introduce your MRF zone to your MRFzoneDict? |
Quote:
Hi, I wonder if you found the solution for this problem, I have the same problem, I noticed there is no cell zones file in my poly mesh directory! I don't know how it's made. I use snappymesh! |
you should introduce cellZone in snappyHexMesh, look following tutorial:
tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/ you should use similar structure to introude MRF cell zone: Quote:
|
Hi Nima, I think I have defined that. I'm using propeller template, there are three zones as fixed, rotating (includes propeller+shaft), and rotating zone. As you can see in attached snappyhexdict, rotatingzone has cellzone ,..., defined. Could you please take a look?
refinementSurfaces { fixed { level (2 2); patchInfo { type wall; } inGroups (fixed); regions { patch2 { level (2 2); patchInfo { type patch; inGroups (inlet); } } patch1 { level (2 2); patchInfo { type patch; inGroups (outlet); } } } } rotating { level (2 2); patchInfo { type wall; } } rotatingZone { level (2 2); faceZone rotatingZone; cellZone rotatingZone; cellZoneInside inside; } } |
All times are GMT -4. The time now is 20:44. |