CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (http://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   cannot find MRF cellZone vessel (http://www.cfd-online.com/Forums/openfoam-meshing/128999-cannot-find-mrf-cellzone-vessel.html)

30na January 26, 2014 08:01

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 :)

nimasam January 26, 2014 12:23

well;
1- where did you define your MRF zone?
2- did you introduce your MRF zone to your MRFzoneDict?

GKARIMI December 1, 2016 17:59

Quote:

Originally Posted by 30na (Post 471801)
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 :)


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!

nimasam December 2, 2016 03:02

you should introduce cellZone in snappyHexMesh, look following tutorial:
tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/

you should use similar structure to introude MRF cell zone:
Quote:


leftSolid
{
// Surface-wise min and max refinement level
level (1 1);

faceZone leftSolid;
cellZone leftSolid;
cellZoneInside inside;
}


GKARIMI December 2, 2016 11:26

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 11:38.