CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

MRF and employing on a propeller case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
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
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   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: 13
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
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
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   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: 13
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
can you run simpleFoam on this mesh, at all?
it seems something wrong is about your geometry, can you please send checkMesh result.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   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: 13
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
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
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   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: 13
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
Dear Reza
i guess you should define your zone in pointwise by defining two different regions which are separated by an internal face
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   December 23, 2017, 12:29
Default
  #11
Member
 
Aldias Bahatmaka
Join Date: Aug 2015
Location: Geoje Island, South Korea
Posts: 43
Rep Power: 11
bmaldi is on a distinguished road
Quote:
Originally Posted by nimasam View Post
check whether simpleFoam run or not
Hello Nimasam

Do you know this problem?
When I run the simpleFoam on OpenFOAM I got the problems

https://drive.google.com/open?id=1Ea...ZsxzflO6H_8_fj
bmaldi is offline   Reply With Quote

Reply


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 Off
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 16:25.