|
[Sponsors] |
Code Saturne, Thoughts after finishing the First Tutorial |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 21, 2009, 23:01 |
Code Saturne, Thoughts after finishing the First Tutorial
|
#1 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
For some time, I have heard good opinions about Code Saturne, an open source, and free CFD solver (you can have a very first contact here
2007.rmll.info/IMG/pdf/RMLL07Sc_CodeSaturne_EDF.pdf I tried to install it on my open suse partition, but the result was not positive, it seems that open suse has memory management problems with hdf5 & med libraries (needed to import and export geometry and post processing data with Salome ). Recently I added a Debian partition to my computer and decided to have another go with the installation. Every thing went OK except med (Still have problems installing the right med, but nothing with memory management), any way, except med, the rest is running fine. This week end, I printed the first tutorial and rolled up my sleeves. First, I would like to ask the readers that have negative opinions about Open source programmes to set aside their negative waves till they try this one by themselves. The programme has a nice graphical user interface with a file tree so well structured that does not allow you to forget any step. It reminds me of The old Fluent text menues, that led you through the solution procedure a step by step so here they rightly deserve an A+ grade. A very nice GUI indeed. Upwind and central discretizations are available A bunch of Turbulence models spanning from the old Prandtle mixing length model to the latest k-omega. Another A+ here. The Energy equation (Both in temperature and enthalpy) are available, so another A+ A bunch of physical models from simple pipe cases to nuclear reactors and combustion models, here they deserve a mark of excellence above A+. In short, I invite my fellow readers of this forum to try it and sure they will change their minds about open source codes, period period period. Very few things annoys me about this programme, one such a thing is the way they treat gravity forces, my first impression was this programme is good for outer space applications but I am wrong, I just need to go through their theory manual. Another negative point is how the different libraries needed to compile the programme are scattered along different sites, yes, they indicate links to these sites, but what about the correct version number of each library, my problem now is to find the correct med library that can be compiled on my Debian partition and my 64 bits Open Suse partition. We can easily forget about these last two remarks, and Enjoy a well written programme with an excellent GUI. By the way, the programme can export the results in Ensight format, so our good friend ParaView can read them. Enjoy your CFD computations. If after trying this Open Source programme you find I am wrong, Please put your opinion here. I hope one of these days we convice Johnas and Peter to have a dedicated forum for such an excellent Free Open source programme. Good Luck to all, and thank you for patiently reading this post. |
|
April 23, 2009, 19:16 |
|
#2 |
New Member
david.notay
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
I want to use code_saturne, but some its documents are written in French which I cannot read. The use of an Open source code should give me an hope that I can learn/ know most knowledge underlying the code. This helps me make further development. Otherwise, I would like to use commercial packages which are generally more friendly in use although they are black boxes. the unreadable documents absolutely put me in the position that I feel I am using a commerical package, not an open source.
Cheers, Gonski |
|
April 24, 2009, 02:06 |
|
#3 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
So what is the value of what is said by someone who has never used the programme, (by your own word). Just for the record, if you search the doc folders in your installation, you will find the Theory manual, the user guide manual and the Tutorials manual all in English (this is at least what I have here on my computer) what else do you need? |
||
April 24, 2009, 02:21 |
|
#4 |
New Member
david.notay
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
are you sure? I just check the code, finding that its theory manual, notes in the code are in french. This is the same to those couple of months ago. I did hear that the developing group are trying to do some translations, but the progress goes very slowly. They may have other important things to do.
Cheers, Gonski |
|
April 24, 2009, 10:24 |
|
#5 |
New Member
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
Thanks for that Ahmed,
This looks really interesting I will give it a shot. Hoave you any ideas on an OS mesher? Have EDF developed something in that department other than Salome, which as far as I know cannot generate prism layers. Engrid looks good but I think it needs a good surface mesh to begin with. How do you overcome the meshing issue? |
|
April 24, 2009, 23:52 |
|
#6 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
|
||
April 25, 2009, 00:06 |
|
#7 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
I have installed the thermal SYRTHES code so heat conduction through solid walls can be accounted for during a CFD simulation and of course radiation boundary conditions can be included Good Luck |
||
April 25, 2009, 05:26 |
|
#8 |
New Member
Join Date: Mar 2009
Posts: 18
Rep Power: 17 |
Dear Ahmed,
I am trying to install code_saturne on Ubuntu 8.10 but I am running into the following error during my compilation: Code:
make[1]: Leaving directory `/home/tom/code_saturne/Noyau/ncs-1.4.0/build/Linux_x86_64/BASE' make: *** [privcompil] Error 2 Directory: /home/tom/code_saturne/Noyau/ncs-1.4.0/build/Linux_x86_64/BASE Error : make lib_install MOD=BASE failed Thank you for choosing Code_Saturne I am not yet experienced enough with linux to do this but I was wondering if you ran into the same difficulty. I am presuming your Debian sys is Ubuntu? Anyway, thanks alot if you can help; I am eager to try this out |
|
April 25, 2009, 06:50 |
|
#9 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
Unless someone from the code_saturne support team is reading your message and gives you another advice, here is what I think, you ought to do: rename the installation folder to just saturne not code_saturne. /home/tom/saturne The following two lines are from the README.txt When installing Code_Saturne, a specific directory must be prepared, referred to here as INSTALLPATH. It is usually /home/saturne. Good luck |
||
April 25, 2009, 19:22 |
|
#10 | |
New Member
david.notay
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Quote:
Cheers, Gonksi |
||
April 26, 2009, 09:05 |
|
#11 | |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
Quote:
I do not work for EDF or the Code_Saturne developers, No relation at all. So, I do not care whether you use the programme or not, I do not care if you want to study the programme, develop the programme or whatever, in simple language, I do not care about you or your work. if you have read the pdf file (in my first post) and you understand the English language then you know where to send your silly questions. I am a member of this forum, just want to exchange opinions, ideas and experiences with other members of the forum but not with a child like you |
||
April 26, 2009, 19:15 |
|
#12 | |
New Member
david.notay
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Quote:
Please note that I never ask any help from you or suggest you anythings. I admire the guys who are working on open sources, but not you. Therefore, I try to suggest here EDF developers (some may visit this forum) to do something regrading translations so as to expand the user group who in turn help to develop the code. I do not understand why you are so angry at my points. |
||
May 3, 2009, 14:38 |
|
#13 | |||
New Member
David Monfort
Join Date: May 2009
Posts: 9
Rep Power: 17 |
Hello Ahmed,
As a developer of Code_Saturne, many thanks for having tested the code and provided such feedback. All these A+ are amazing! I'll try to give you more information on the code, but don't hesitate to ask for more. Quote:
Quote:
Indeed you got a point. Nonetheless, all the library you mention are optional. You only need the ones provided on Code_Saturne website to run the code. If you need specific features, then you have to install them and the latest version of each of them should work:
A quick note on installation, you need to install library and dev packages for some libraries in order to compile Code_Saturne (e.g. libxml2 and libxml2-dev) Quote:
Again thanks for the feedback! Regards, David |
||||
May 3, 2009, 14:54 |
|
#14 | ||
New Member
David Monfort
Join Date: May 2009
Posts: 9
Rep Power: 17 |
Again speeking as one of Code_Saturne developers
Quote:
Quote:
We should have a release condidate of the next version (we validate a version every two years) before the end of this year, expectedly with a proper documentation in English, so stay tuned Meanwhile, if you have any question, you can contact the support at saturne-support@edf.fr. Regards, David |
|||
May 3, 2009, 15:02 |
|
#15 | |
New Member
David Monfort
Join Date: May 2009
Posts: 9
Rep Power: 17 |
Dear Highnelly,
The fix below is not needed anymore (at least for 1.3.3 and 1.4.0 version), so your issue does not come from here. Quote:
Regards, David |
||
May 5, 2009, 13:03 |
Code Saturne - Reply to David
|
#16 |
Senior Member
Ahmed
Join Date: Mar 2009
Location: NY
Posts: 251
Rep Power: 18 |
David Monfort wrote
"Can you explain what you intended by this? If needed I can give you inner details on how gravity (or body) forces are treated." When doing analysis for devices that will be operating in the outer space, the gravity vector is set equal zero, the same as the default values in the body forces panel of Code-saturne and on the contrary of what is usually done in commercial programmes I used before. So when I got to this panel it just refreshed my memory and brought back some old experiences As I said, I need to dive into the theory manual. You see, when you read a comment made by someone with a different experience than yours, just read them with open mind, these comments normally reflects their own experiences and preferences, no offense intended. |
|
May 5, 2009, 13:45 |
|
#17 | |||
New Member
David Monfort
Join Date: May 2009
Posts: 9
Rep Power: 17 |
Quote:
Quote:
Quote:
|
||||
March 25, 2010, 23:37 |
Code_saturne
|
#18 |
Member
MSarkar
Join Date: Dec 2009
Posts: 99
Rep Power: 16 |
Hi
I want to use code_saturne and I have it installed on my machine but I am little confused how to start. I was trying to follow user manual and tutorial but I could not do it. I set up the environment variable properly. Then how do I approach to do any tutorial? By following tutorial case1, I was trying to create study directory T_JUNCTION CAS1 but I could not do it. It says command not found. Could anyone please guide me how to start a tutorial? What will be working directory? Do I need create any new directory in my Home folder and copy tutorials there and start it? I really do not have any idea, please help me out. My machine has Ubuntu linux system and code_saturne was installed with CAE linux by root. I am an user only. Regards Msarkar |
|
March 28, 2010, 12:26 |
|
#19 |
New Member
David Monfort
Join Date: May 2009
Posts: 9
Rep Power: 17 |
Hi,
IIRC, CAELinux provides Code_Saturne 1.4 in its distro, all my explanation will be based on this hyptothesis. First thing to do is to correctly setup your environment (if not already done by CAELinux): Code:
. /path/to/saturne/Noyau/ncs-1.4.0/bin/cs_profile Code:
cs_info tutorial First step will be to create a new study: Code:
cs_create -study TUTORIAL Code:
cd TUTORIAL/CASE1/DATA && ./SaturneGUI Hope this will help, David |
|
March 29, 2010, 03:01 |
|
#20 |
Member
MSarkar
Join Date: Dec 2009
Posts: 99
Rep Power: 16 |
Hello David,
Your hypothesis is correct. CAE linux has 1.4.b version of Code-saturne. Thanks a lot for your help! With your help I was able to run the first tutorial, Simple_Junction case but I could not figure out how to visualize the results yet. If you can guide me for this, I would appreciate your help. Code_Saturne 2.0.rcl:- actually I downloaded this version from EDF website but I could not install it. install_saturne python script is not working for my sytem (ubuntu linux). I was trying to install by following the option II (Manual Install) explained on readme file but it was giving some error. I will try it again and let you know the error messages.. Thanks M. Sarkar |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
own Code vs. commercial code | Bernhard Mueck | Main CFD Forum | 10 | February 16, 2000 10:07 |
State of the art in CFD technology | Juan Carlos GARCIA SALAS | Main CFD Forum | 39 | November 1, 1999 14:34 |
Use of an hydrodynamic model integrated in the vertical by the PHOENICS code | Hafsia Zouhaier | Main CFD Forum | 2 | March 15, 1999 08:23 |
public CFD Code development | Heinz Wilkening | Main CFD Forum | 38 | March 5, 1999 11:44 |
What kind of Cmmercial CFD code you feel well? | Lans | Main CFD Forum | 13 | October 27, 1998 10:20 |