|
[Sponsors] |
June 10, 2013, 11:36 |
MRF and employing on a propeller case
|
#1 |
Member
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13 |
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? |
|
June 11, 2013, 02:58 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
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) |
|
June 11, 2013, 05:09 |
|
#3 |
Member
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13 |
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? |
|
June 11, 2013, 06:09 |
|
#4 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
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) |
|
June 11, 2013, 06:40 |
|
#5 |
Member
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13 |
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. |
|
June 11, 2013, 09:34 |
|
#6 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
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) |
|
June 11, 2013, 09:46 |
|
#7 |
Member
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13 |
I checked the mesh and the messege proves the mesh is ok.
|
|
June 11, 2013, 10:09 |
|
#8 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
check whether simpleFoam run or not
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
June 12, 2013, 07:15 |
|
#9 |
Member
reza
Join Date: Jan 2013
Location: Goteborg-Sweden
Posts: 79
Rep Power: 13 |
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> |
|
June 12, 2013, 10:27 |
|
#10 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
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) |
|
December 23, 2017, 12:29 |
|
#11 |
Member
Aldias Bahatmaka
Join Date: Aug 2015
Location: Geoje Island, South Korea
Posts: 43
Rep Power: 11 |
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 |
|
|
|
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 |