CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   MRF and employing on a propeller case (http://www.cfd-online.com/Forums/openfoam/119125-mrf-employing-propeller-case.html)

reza1980 June 10, 2013 10:36

MRF and employing on a propeller case
 
Hi Foamers,
I want to run MRFSimpleFoam on a propeller. The idea is using the tutorial on open foam ver 2.1x for mixer 2D and adapting for a propeller.
any body has idea in this regard?

nimasam June 11, 2013 01:58

well to use MRF method, you need define an MRFzone
MRFzone should be a curvilinear such as cylinder , so it depends how you create your mesh :), if you use snappyHexMesh, you can define your MRFZone in snappyHexMeshDict or you can assign a Zone by topoSetDict :)

reza1980 June 11, 2013 04:09

Hi Nima,
I created mesh by 'pointwise' and doesn't need to use snappy one. Could you please inform me about the details of setup?

nimasam June 11, 2013 05:09

well, i did not work with pointwise, you need to create two regions one internal region in cylinder shape which can be called rotor and one outer region which can be called stator, then add a MRFZoneDict to constant folder, then you should edit it for your case

reza1980 June 11, 2013 05:40

Nima,
This is my MRFzones dic .I arranged with my case but I still have error.

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

1
(
rotor
{
// Fixed patches (by default they 'move' with the MRF zone)
nonRotatingPatches ();

origin (0 0 0);
axis (0 0 1);
omega constant 104.72;
}
)

// ************************************************** *********************** //




and the error:)


-> FOAM FATAL ERROR:
Cell 1995contains face labels out of range: 6(5845 5846 5847 -1 268241 5789) Max face index = 276219

From function polyMesh::polyMesh
(
const IOobject&,
const Xfer<pointField>&,
const Xfer<faceList>&,
const Xfer<cellList>&
)

in file meshes/polyMesh/polyMesh.C at line 652.

nimasam June 11, 2013 08:34

can you run simpleFoam on this mesh, at all?
it seems something wrong is about your geometry, can you please send checkMesh result.

reza1980 June 11, 2013 08:46

I checked the mesh and the messege proves the mesh is ok.

nimasam June 11, 2013 09:09

Quote:

Originally Posted by reza1980 (Post 433371)
I checked the mesh and the messege proves the mesh is ok.

check whether simpleFoam run or not :)

reza1980 June 12, 2013 06:15

Nima,
I think my problem is to use setSet and to create cellZones .
THe meesge after applying setSet in OF2.2x is the command not found . and for ver 2.1 x is like below:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.x-672d83ebe7be
Exec : setSet
Date : Jun 12 2013
Time : 12:14:07
Host : "beda.nfs.private"
PID : 19834
Case : /beda/users/home/rezame/OpenFoam/MRF
nProcs : 1
sigFpe : Floating point exception trapping - not supported on this platform
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create polyMesh for time = 0

Time:0 cells:3562544 faces:9087761 points:2187990 patches:8 bb:(-17.9419 -7.20721 -5.16921) (10.582 7.20721 9.24521)
faceSets:
nonOrthoFaces size:10797

Time = 0
mesh not changed.
Please type 'help', 'quit' or a set command after prompt.
readline>

nimasam June 12, 2013 09:27

Dear Reza
i guess you should define your zone in pointwise by defining two different regions which are separated by an internal face


All times are GMT -4. The time now is 05:24.