CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM

MRF and employing on a propeller case

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 10, 2013, 11:36
Default MRF and employing on a propeller case
  #1
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 3
reza1980 is on a distinguished road
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?
reza1980 is offline   Reply With Quote

Old   June 11, 2013, 02:58
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,083
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is online now   Reply With Quote

Old   June 11, 2013, 05:09
Default
  #3
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 3
reza1980 is on a distinguished road
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?
reza1980 is offline   Reply With Quote

Old   June 11, 2013, 06:09
Default
  #4
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,083
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is online now   Reply With Quote

Old   June 11, 2013, 06:40
Default
  #5
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 3
reza1980 is on a distinguished road
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:olyMesh
(
const IOobject&,
const Xfer<pointField>&,
const Xfer<faceList>&,
const Xfer<cellList>&
)

in file meshes/polyMesh/polyMesh.C at line 652.
reza1980 is offline   Reply With Quote

Old   June 11, 2013, 09:34
Default
  #6
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,083
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
can you run simpleFoam on this mesh, at all?
it seems something wrong is about your geometry, can you please send checkMesh result.
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is online now   Reply With Quote

Old   June 11, 2013, 09:46
Default
  #7
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 3
reza1980 is on a distinguished road
I checked the mesh and the messege proves the mesh is ok.
reza1980 is offline   Reply With Quote

Old   June 11, 2013, 10:09
Default
  #8
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,083
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
Quote:
Originally Posted by reza1980 View Post
I checked the mesh and the messege proves the mesh is ok.
check whether simpleFoam run or not
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is online now   Reply With Quote

Old   June 12, 2013, 07:15
Default
  #9
Member
 
reza1980's Avatar
 
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 3
reza1980 is on a distinguished road
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>
reza1980 is offline   Reply With Quote

Old   June 12, 2013, 10:27
Default
  #10
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,083
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
Dear Reza
i guess you should define your zone in pointwise by defining two different regions which are separated by an internal face
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is online now   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finner and coarser propeller case as parallel with different processors reza1980 OpenFOAM 0 April 25, 2013 07:02


All times are GMT -4. The time now is 01:59.