|
[Sponsors] |
October 4, 2011, 08:05 |
How hard is it to learn openFOAM?
|
#1 |
New Member
Tom
Join Date: Sep 2011
Posts: 4
Rep Power: 15 |
Honestly, how much effort is required to get up and running with openFOAM? I see a lot of posts on forums suggesting that "you should use openFOAM". So far I have been able to download and install openFOAM on my linux OS. That in itself was a major ordeal. Now, I can rip out page after page of hand-calcs and MS Excel is my b*#@h, but I have no idea when it comes to C++ or any other programming language. As much as I'd like to dedicate the time I don't really want to invest months to learn how to manipulate numerous lines of code. All I want is to mesh my CAD model, enter some parameters and go get a cup of coffee while it solves. FYI the simulation I'm interested in is just a flame from the end of a vertical pipe (flare) and some contours of the resulting radiation. Is it reasonable to expect that I can achieve this with a small investment of time, without the expectation that the results will be in any way accurate? Base it on your first experience with openFOAM and add a factor of safety of 40% because I'm computer illiterate.
Cheers |
|
October 4, 2011, 08:35 |
|
#2 |
New Member
Robert Maier
Join Date: Apr 2011
Posts: 9
Rep Power: 15 |
It really helps to understand C++, and it is not advisable to go about using OpenFOAM without some understanding of C++ or any programming knowedge for that matter. The first the would be to try do the examples in user guide. This will kind of give you an idea of what OpenFOAM is like. If you're just going to run one case, it is easier to use a commercial software (if available). OpenFOAM simply allows you to control every aspect of the CFD process, unlike the commercial options that act much like a black box.
Depending on how computer savvy you are, you can expect it to take two weeks or several months to truly learn how to use OpenFOAM. I would say it's worth it as it'll give you a nice new set of knowledge that you can use for other things as well! If you're looking for the easy way out, maybe you should look elsewhere. But what do I know, I am still learning OpenFOAM myself (months into it). |
|
October 4, 2011, 08:55 |
|
#3 |
Senior Member
|
Hi,
there is some material online http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/ http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2011/ http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2010/ http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2009/ etc. http://www.openfoamworkshop.org/6th_...m/training.htm => also take a look at the workshop of the previous years and the http://web.student.chalmers.se/groups/ofw5/Program.htm http://web.student.chalmers.se/group...ingStarted.pdf http://web.student.chalmers.se/group...sicClasses.pdf etc. http://www.cfd-online.com/Forums/ope...thingelse.html some stuff is at http://openfoamwiki.net/index.php/Main_Page http://www.caelinux.org/wiki/index.php/Doc:CAETutorials a liitle outdated stuff the tutorials for OF there |
|
October 4, 2011, 08:56 |
|
#4 |
Senior Member
|
If you want something GUI like.
You might give Discretizes a try http://www.discretizer.org/ a free gui tool! of course there are commercial tools like http://www.dhcae-tools.com/CastNet.htm http://www.iconcfd.com/en/services/foampro but the price tag for these is quite high! Last edited by elvis; October 4, 2011 at 11:15. |
|
October 4, 2011, 09:01 |
|
#5 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
If you don't want to spend time on the problem, then OpenFOAM is not the way to go. Otherwise you should hire somebody to do this for you, or you could buy a license for a commercial package, which is usually easier to work at in the beginning. Only entering some parameters is not a really successfull way in CFD in general, also not in commercial tool.
|
|
October 4, 2011, 11:20 |
|
#6 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
I just checked my notes and was surprised to see it took me 4 months (full time) to learn it... but I learned it top to bottom. Also, I had minimal C++ background.
Another thing to note is that the direction OpenFOAM is taking is towards more user-friendliness. Hrv Jasak demonstrated a working OpenFOAM variation that compiled natively in Windows format. Also, there are several companies that have developed GUI front ends to OpenFOAM... and I suspect there's an effort underway to do so as free software.
__________________
~~~ Follow me on twitter @DavidGaden |
|
October 4, 2011, 11:44 |
|
#7 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
I think the first question to answer is if OpenFoam already has the functionality you require built in or not (check http://www.openfoam.com/features/standard-solvers.php as a starting point). If so, then OpenFoam might be what you are looking for. If not you will have to spend considerably more time getting to know some internals of OpenFoam.
|
|
October 5, 2011, 06:01 |
Effort to learn OpenFOAM
|
#8 |
Member
Ulf Bunge
Join Date: Mar 2009
Location: Wolfsburg, Germany
Posts: 34
Rep Power: 17 |
Hi,
everything that has been said can be confirmed from my side. What is also important in my eyes is that you get support in learning OpenFOAM. From the starting point that you described I would strongly suggest that you participate in OpenFOAM courses for beginners offered by many institutions. To solve your specific problem or case you might discuss it in detail on forums or user meetings of local user groups. There you will always get a lot of help from more experienced users. We have several students here and they always need a lot of briefing in the beginning from our experienced engineers in the CFD team. To start OpenFOAM on your own does not make sense in my opinion. Use the community-based knowledge - your question here was a good start However, if you do neither want to get into CFD, numerical simulation nor programming and just want to simulate a single case - forget it. Use a commercial code (test license), the help of an engineering-service provider (what is your budget?) or ask someone else to do the simulation for you. Best regards Ulf. |
|
October 5, 2011, 08:15 |
|
#9 |
New Member
Tom
Join Date: Sep 2011
Posts: 4
Rep Power: 15 |
Thanks everyone for the responses. I was quite interested to learn that OpenFOAM was offered with commercial GUIs. What are people's experiences with dhcae and Icon? When you say they are expensive are we talking ANSYS CFD expensive, FloEFD expensive or lower. Are SGI planning a commercial release. Sorry, I know these are probably annoying questions but I'm really interested.
I am keen to learn CFD but currently I only have access to FEA, and my work outsources our flare analysis to consultants (who use spreadsheeting, not CFD!!). I think we should start to handle some of the analysis in-house, but there is no budget and there won't be until I can show them the value of CFD. Catch22 Right? Cheers |
|
October 5, 2011, 09:00 |
|
#10 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
That's not a catch 22. You can just show them the brochure of any CFD license or a random presentation by Hrv Jasak to show examples. If you want to learn CFD, you should attend some courses on CFD to learn all the basics. Just running some codes will disappoint you probably. You should be aware of what you are doing to get reliable results, that is something else then producing nice figures.
|
|
October 6, 2011, 12:00 |
|
#11 |
Senior Member
|
Hi,
the Open Source CFD International Conference http://www.opensourcecfd.com/confere...id=3&Itemid=30 and later conferences http://www.opensourcecfd.com/confere...itt-Gehrke.pdf has some presentations so you might get a feeling how capable OF is. Or what it has been used for by some companies. In one of the oscic-presentations one of the volkswagen employees mentions that making OF "work" @ volkwagen was quite a big investment for vw, but they gained huge productivity for their CFD-Department (=>lots of simulations with high grade of automation). |
|
October 7, 2011, 10:51 |
|
#12 | ||
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20 |
Quote:
Quote:
V. |
|||
October 8, 2011, 03:12 |
|
#13 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
I am not so convinced a commecial code will help you much more. It will be more friendly to use, however you will still need to have an understanding of the physics, of the models, of the numerics, and also have expertise in meshing. Do not trust who tells you CFD is a click & go process, because it's only marketing. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
October 8, 2011, 11:51 |
|
#14 |
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20 |
||
October 8, 2011, 23:56 |
|
#15 | ||||
New Member
Tom
Join Date: Sep 2011
Posts: 4
Rep Power: 15 |
Quote:
Quote:
Quote:
Quote:
Anyway, while working through the initial OpenFOAM tutorials over the last couple of days I'm starting to gain confidence that I might be able to use it. Don't think for a moment I don't appreciate that OF is free. Regards |
|||||
October 9, 2011, 00:32 |
|
#16 | ||||
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Quote:
Quote:
Quote:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|||||
October 9, 2011, 17:05 |
|
#17 |
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20 |
Ok, things are much clearer now...I can say that Alberto's last post summarizes quite exactly my point of view: for introducing CFD in your company, the choice of OpenFOAM is probably a not so bad idea (and for sure it's better than buying some licenses as "black boxes"...). Of course, and as Alberto said, the main "sponsor" of the code is the free license, which becomes a serious "impact factor" once you start to use largely parallel computing features. And, for what about giving "A" result, don't worry: once you gain some basical experience whit the solvers, settings and mesh quality requirements, you will be able to get a "quick first attempt" result in most of the cases (but of course a carefully prepared OF run CAN give also accurate results ).
So, good luck for your attempt! V. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to learn OpenFoam for a new user | lzgwhy | OpenFOAM | 5 | September 26, 2019 13:34 |
Different flow pattern between OpenFOAM and CFX | AirS | OpenFOAM | 0 | January 12, 2010 08:08 |
Critical errors during OpenFoam installation in OpenSuse 11.0 | amscosta | OpenFOAM | 5 | May 1, 2009 15:06 |
The OpenFOAM extensions project | mbeaudoin | OpenFOAM | 16 | October 9, 2007 10:33 |
OpenFOAM Training and Workshop | Hrvoje Jasak | Main CFD Forum | 0 | October 7, 2005 08:14 |