|
[Sponsors] |
December 2, 2010, 05:47 |
Caelinux discretizer front end to openfoam
|
#1 |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah, Peace and Prayers upon prophet Mohamed and all prophets
Dear colleagues, I was working with caelinux discretizer frontend to openfoam. However, I have some problems: 1. There are two discretizer programs in the applications menu, I don't really know the difference between them. 2. The first discretizer worked fine when I tried tutorial, however, even when I change the solver I enter, in the terminal the solver is always displayed as simpleFoam, regardless of what I enter 3. Also, I have complete cases from chalmers university site. When I open the run dialogue in discretizer and input their path, I get fatal error, cannot open folder message I hope any one can help me. I am trying to encourage my students to use opensource, especially, that at our university, we really have no budget to buy commercial equivalents like COMSOL and fluent |
|
December 4, 2010, 10:18 |
|
#2 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Abouelseoud and welcome to the forum!
Quote:
Quote:
And like I've said before, both aren't fully developed tools, so you will probably find various capabilities that are still very limited Quote:
Best regards and good luck! Bruno
__________________
|
||||
December 4, 2010, 11:59 |
|
#3 | |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah, Peace and Prayers upon prophet Mohamed and all prophets
Dear wyldckat, Than kyou very much for your reply. I'll try to follow your remarks carefully and keep you informed with our progress of using OpenFOAM at our university. I think you're right with discretizer not being fully developed and I do believe that since the tutorial worked well, that most probably the errors that resulted with other applications were due to bugs. We'll try to get around them or work from the OpenFOAM terminal. Quote:
|
||
December 7, 2010, 05:26 |
|
#4 |
Member
Stephen
Join Date: Mar 2009
Posts: 48
Rep Power: 17 |
Hi there
Bjorn (sp) the developer has updated the software, and it seems better, I have used it to run simple meshes in simplefoam. the developer has a Gmail account and is very good at replying to questions kind regards Stephen |
|
March 2, 2011, 05:50 |
|
#5 |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah the most merciful and gracious . Peace and Prayers upon prophet Mohamed and all prophets
I would like to thank you all for your comments and concern. They really encouraged me not to give up. I thank God for that. Things are getting some what better. I've tried to help my students by making educational videos of what I learnt with both openFoam and code_saturne. I 'll quote the links to them , may be they may be helpful to some of your students. The comments are in Arabic. However, the video is clear with out comments. Of course , we are still learning and I am not quite satisfied with results accuracy yet, though they are some what reasonable. Also, I may be making some mistakes because I am working fast but at least I hope that these videos will save others "the 4 months I had to spend on getting things work" . Any comments are welcome either at the forum or at our research group email: mashaheedanfsa@gmail.com Here are the links to the educational videos: http://rapidshare.com/files/44731691...llah_ubuntu.7z http://rapidshare.com/files/44712732..._draw_mesh.zip http://rapidshare.com/files/44731894...d_Tjunction.7z http://rapidshare.com/files/44780232...ntroduction.7z http://rapidshare.com/files/44781041...oam_saturne.7z http://rapidshare.com/files/45054498...ode_saturne.7z http://rapidshare.com/files/45054590...LLAH_WIGLEY.7z Note you may get 7z software at: http://sourceforge.net/projects/seve..._mirror=freefr Also, there are some links regarding using neural networks. These can be used in conjunction with CFD simulators like OpenFoam and code saturne to optimize a design, so those interested in optimization may find the following links (especially of example 3) useful http://rapidshare.com/files/44854107...lah_ANN_MLP.7z http://rapidshare.com/files/44823740...ah_ANN_NGML.7z http://rapidshare.com/files/44852069...NN_example1.7z http://rapidshare.com/files/44834373...NN_example2.7z http://rapidshare.com/files/44845668...mple3_parta.7z http://rapidshare.com/files/44836034...mple3_partb.7z http://rapidshare.com/files/44833258...mple3_partc.7z //**THIS COMING ONE IS VERY IMPORTANT FOR EXAMPLE 3 CONCEPTUAL AND ERROR CORRECTIONS http://rapidshare.com/files/44942722...working_now.7z |
|
March 17, 2011, 15:36 |
|
#6 |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah the most merciful and gracious . Peace and Prayers upon prophet Mohamed and all prophets
I posted earlier links to cases and educational videos for students who may be interested in getting started with openFoam and code saturne over CAElinux and using it with optimization. Thank to God , ever since, I added some more trials that I'd like to share with you. They should be useful for those in marine engineering education. http://rapidshare.com/files/45296008...ind_turbine.7z http://rapidshare.com/files/45296191...ah_floating.7z http://rapidshare.com/files/45297309...llating_box.7z http://rapidshare.com/files/45299368...ructure_box.7z http://rapidshare.com/files/45304511...ah_shipfoam.7z I tried to post these as a new thread with the title "EDU. VIDEOS" but some how I totally can't find how I can start a new thread. I attach my earlier message containing the other videos that we made earlier for reference. Your comments are welcome either here or at mashaheedanfsa@gmail.com Thank you very much OLD MESSAGE: In the name of Allah the most merciful and gracious . Peace and Prayers upon prophet Mohamed and all prophets I would like to thank you all for your comments and concern. They really encouraged me not to give up. I thank God for that. Things are getting some what better. I've tried to help my students by making educational videos of what I learnt with both openFoam and code_saturne. I 'll quote the links to them , may be they may be helpful to some of your students. The comments are in Arabic. However, the video is clear with out comments. Of course , we are still learning and I am not quite satisfied with results accuracy yet, though they are some what reasonable. Also, I may be making some mistakes because I am working fast but at least I hope that these videos will save others "the 4 months I had to spend on getting things work" . Any comments are welcome either at the forum or at our research group email: mashaheedanfsa@gmail.com Here are the links to the educational videos: http://rapidshare.com/files/44731691...llah_ubuntu.7z http://rapidshare.com/files/44712732..._draw_mesh.zip http://rapidshare.com/files/44731894...d_Tjunction.7z http://rapidshare.com/files/44780232...ntroduction.7z http://rapidshare.com/files/44781041...oam_saturne.7z http://rapidshare.com/files/45054498...ode_saturne.7z http://rapidshare.com/files/45054590...LLAH_WIGLEY.7z Note you may get 7z software at: http://sourceforge.net/projects/seve..._mirror=freefr Also, there are some links regarding using neural networks. These can be used in conjunction with CFD simulators like OpenFoam and code saturne to optimize a design, so those interested in optimization may find the following links (especially of example 3) useful http://rapidshare.com/files/44854107...lah_ANN_MLP.7z http://rapidshare.com/files/44823740...ah_ANN_NGML.7z http://rapidshare.com/files/44852069...NN_example1.7z http://rapidshare.com/files/44834373...NN_example2.7z http://rapidshare.com/files/44845668...mple3_parta.7z http://rapidshare.com/files/44836034...mple3_partb.7z http://rapidshare.com/files/44833258...mple3_partc.7z //**THIS COMING ONE IS VERY IMPORTANT FOR EXAMPLE 3 CONCEPTUAL AND ERROR CORRECTIONS http://rapidshare.com/files/44942722...working_now.7z |
|
May 16, 2011, 13:33 |
|
#7 | |
New Member
Islam Elqatary
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Quote:
god help u |
||
May 17, 2011, 02:29 |
|
#8 |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah the most merciful and gracious . Peace and Prayers upon prophet Mohamed and all prophets
Dear colleague, You can enter the air-foil points as wire points in SALOME and let it drawn inside a larger rectangle. Use "cut" then to cut out the foil from inside the rectangle. Then use extrude to extrude the whole geometry in the third dimension perpendicular to the foil plane. I know the problem is 2D but both openFoam and saturne entitle you to extrude 2D problems with very small thickness because they cannot handle 2D problem. This is very similar to the video forAllah_Salome_draw_mesh, however, the foil will be in place of the circle. When you finish, use the airfoil tutorial in openFoam to know how to define the boundary conditions. The video forAllah_drag_openFoam_saturne tells you how the mesh can be exported to openFoam. I've asked the same assignment from 2 of my students. You may email them to see how they progressed with it. ( ali_alex_and@yahoo.com, eslam_699@hotmail.com) I'll try with it myself and as soon as I get any progress, I'll keep you informed. God be with you and help you. |
|
May 17, 2011, 08:22 |
|
#9 | |
New Member
Islam Elqatary
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Quote:
i did what u told me i draw geometry with salome and then used Discretizer Case Setup it generates all the files needed to open foam except cells file in the polymesh dict and this error appeared --> FOAM FATAL IO ERROR: Unable to set reference cell for field p Please supply either pRefCell or pRefPoint file: /home/islam/airfoil3/system/fvSolution::SIMPLE from line 59 to line 59. From function void Foam::setRefCell ( const volScalarField&, const volScalarField&, const dictionary&, label& scalar&, bool ) in file cfdTools/general/findRefCell/findRefCell.C at line 115. FOAM exiting do u have any idea how i could solve this problem god bless u |
||
May 17, 2011, 10:21 |
|
#10 |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah the most merciful and gracious . Peace and Prayers upon prophet Mohamed and all prophets
Dear colleague, Could you either attach the files here or send them to my son (student) eslam at eslam_699@hotmail.com. He will give them to me. Just tell him that Dr. Abouelseoud told you to post these files so that we can help you figure out what the problem is. |
|
May 17, 2011, 13:42 |
|
#11 | |
New Member
Islam Elqatary
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Quote:
i already sent an email with the same contents to ur student with the files any way here is the link of my files https://rapidshare.com/files/287119923/airfoil3.zip and the geometric & mesh file is https://rapidshare.com/files/855940017/FFA_24_Mesh.hdf thank u Last edited by Islam ElQatary; May 17, 2011 at 16:15. |
||
May 18, 2011, 14:28 |
|
#12 |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah the most merciful and gracious . Peace and Prayers upon prophet Mohamed and all prophets
Dear colleague, in the file airfoil3/system/fvSolution just replace SIMPLE { nNonOrthogonalCorrectors 0; } by SIMPLE { nNonOrthogonalCorrectors 0; pRefCell 0; pRefValue 0; } My experience with discretizer is that the exported case folder often needs editing, so when I get an error message I just search in the openFoam tutorial folder with the keyword that appeared in the message(here pRefCell) to know how to correct it. In this case, I found the correction in the airfoil2D tutorial in (/tutorials/incompressible/simpleFoam/airfoil2D) However, when I corrected this mistake I still got an error because openFoam sees the mesh as not 2D. Please try to remesh but this time make the thickness in the third dimension one cell only. I hope this helps. I 'll try to take a look at the geometry and mesh files. I didn't notice them when I logged in yesterday. |
|
May 18, 2011, 18:35 |
|
#13 |
New Member
Islam Elqatary
Join Date: May 2011
Posts: 19
Rep Power: 15 |
hi
it's already 1 cell in the third direction i used Netgen 1D-2D-3D for meshing is that right or i suppose to use another method thanks |
|
May 20, 2011, 09:13 |
|
#14 |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah the most merciful and gracious . Peace and Prayers upon prophet Mohamed and all prophets
Dear colleague, If you opened the Mesh_1.unv you sent me with a text editor like gedit, you will find that the mesh is not one cell thick in the third dimension (there are several coordinates in the third dimension not just 2 values). To overcome this do this: Define edge groups over cut_1 for inlet,outlet, upper, bottom , wall .. Use Netgen 1D-2D to generate a mesh for cut_1 Use create groups from geometry to import the edge groups you created. You will find that they appear with _extruded added to their names. in the mesh module in the modifications menu, choose extrude mesh and make sure that you choose 1 step and that the generate groups is ticked. (I found these steps at: http://www.salome-platform.org/forum...10/thread_3005 ) In the preferences in the file menu in Salome, make sure that automatically generate groups is ticked. export the mesh to med (these last two steps are necessary because with out them the extruded groups will not appear in the discretizer) open the med file in from gmsh and save it as unv mesh file. Now if you open it with an editor you will find it is trully 1 cell thick (the 3rd coordinate is either 0 or 1). However, I still get the same openFoam error that the mesh is 3D. --> FOAM FATAL ERROR: This mesh contains patches of type empty but is not 1D or 2D by virtue of the fact that the number of faces of this empty patch is not divisible by the number of cells. From function emptyFvPatchField<Type>::updateCoeffs() in file fields/fvPatchFields/constraint/empty/emptyFvPatchField.C at line 150. FOAM exiting I am willing to give it a second try by next friday ISA because this week is very busy for us because we are preparing some conference work. In order not to be delaying you, my attempt and some snapshots showing the choices in Salome are at: http://www.islamup.com/download.php?id=125906 http://www.islamup.com/download.php?id=125907 If there is any problem with downloading the files just tell me. My mesh in the salome study is Mesh_3 |
|
May 20, 2011, 09:43 |
|
#15 |
New Member
Islam Elqatary
Join Date: May 2011
Posts: 19
Rep Power: 15 |
thank u for time i'll try and hopefully it works
see u |
|
May 20, 2011, 19:32 |
|
#16 | |
New Member
Islam Elqatary
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Quote:
i know i'm a tedious person sorry about that god bless u |
||
May 21, 2011, 02:21 |
|
#17 |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah the most merciful and gracious . Peace and Prayers upon prophet Mohamed and all prophets
Dear colleague, You are always very welcome to ask. I just hope you would forgive me for not having time to work on it and give it a second try before next friday. For now, I'm really not familiar with running cases to the end with discretizer. I just use it to import the mesh to Foam constant folder and all the rest I edit manually because with my Caelinux2010, it appears discretizer has several bugs. Consider mailing the correct mesh with the error message that appeared to the person who developed discretizer. He responds to emails and I am sure he is eager to recover from any bugs with his program. His email is bjorn.bergqvist@gmail.com It would be great , if he would help us overcome discretizer bugs. This would make things easier to many openFoam users. |
|
May 21, 2011, 05:34 |
|
#18 | |
New Member
Islam Elqatary
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Quote:
And I just wonder if there is a tutorial video to do as u doing with the mesh specially with complex shapes and 2d problems Bye |
||
June 1, 2011, 02:57 |
|
#19 |
New Member
Abouelseoud
Join Date: Dec 2010
Posts: 20
Rep Power: 16 |
In the name of Allah the most merciful and gracious . Peace and Prayers upon prophet Mohamed and all prophets
Dear colleague, I just want to apologize for not giving it a second try on Friday as I promised. It's just that just after I promised to try to help again a few days later one of my sons died. I still am not able to concentrate well on anything, so please forgive me. |
|
June 5, 2011, 06:46 |
|
#20 | |
New Member
Islam Elqatary
Join Date: May 2011
Posts: 19
Rep Power: 15 |
Quote:
I am so sorry for ur son I just open my email just now so forgive me. Take ur time My deep Condolences See u |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
Simulation of a single bubble with a VOF-method | Suzzn | CFX | 21 | January 29, 2018 01:58 |
air bubble is disappear increasing time using vof | xujjun | CFX | 9 | June 9, 2009 08:59 |
increasing mesh quality is leading to poor convergence | tippo | CFX | 2 | May 5, 2009 11:55 |
error using combination of step function | xujjun | CFX | 1 | January 15, 2008 17:46 |