|
[Sponsors] |
October 5, 2012, 15:26 |
Can someone please help me install openfoam?
|
#1 |
Member
Ben
Join Date: Sep 2012
Posts: 40
Rep Power: 14 |
I really want to learn openfoam, not for studying or work but just because I find it interesting, I have been reading up on fluid dynamics and programming and want to finally try out some tutorials, after struggling a lot I finally got Ubuntu and now am trying to install openfoam, I am still getting used to Linux and also using the terminal so am having problems installing openfoam.
I have gotten to the following point so far: http://www.openfoam.org/download/ubuntu.php up to the user configuration, I have managed to do the first part of this (opening the text file with the terminal) but I can not save it, it says save it in OpenFOAM/etc, which I have found but there is already a text file with the same name in there and also when I try overwrite it it says you do not have permission make sure it is being saved in the right place. Please help me. Thank you. |
|
October 5, 2012, 15:41 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Ben,
There's a quicker and easier way to install OpenFOAM... or at least it should be Simply follow the instructions given here: https://github.com/themiwi/OpenFOAM-Installer Best regards, Bruno
__________________
|
|
October 5, 2012, 15:58 |
|
#3 |
Member
Ben
Join Date: Sep 2012
Posts: 40
Rep Power: 14 |
Wow, thank you, this was so much easier
|
|
October 5, 2012, 16:42 |
|
#4 |
Member
Ben
Join Date: Sep 2012
Posts: 40
Rep Power: 14 |
Rather than making a new thread I thought I would just ask my questions on here, I am looking at the Cavity tutorial, I realized that after the hex has been made it has a simplegradiant with a ratio (2 1 1) which I now know that it means the ratio of cells in the x direction(last cell will be 2x the size of the first in the x direction), what I do not understand is what difference this would make? What difference does the size of the cells make to anything?
Thank you in advance. |
|
October 5, 2012, 17:10 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Ben,
Well... for the next question or array of questions, it might be best to create a new thread . OK, it's simple: mesh cells is a discretization of a volume. The more cells and the smaller they are, the better the resolution. Pretty much the same as when taking digital photographs. Problem is that the more cells you have, the heavier it gets: more RAM and more CPU power is needed. So, you have to balance both sides: when you're solving a problem, you need just enough resolution for properly simulating each zone of the volume. But you can't over do it on the resolution, because you've always got a time and resources constraint, as well as the solver itself might not be able to solve minute details, such as interactions at a molecular level... if the cells are cubes of 1e-20 m wide But since you're new to CFD, here's a nice list of lessons which should help you clear up a lot of questions: http://www.youtube.com/playlist?list=PL30F4C5ABCE62CB61 - I've never saw them myself, so I don't know the level of complexity in them Also check my signature link, you should find various good links for newbies near the end of the blog post. Best regards, Bruno
__________________
|
|
October 5, 2012, 17:26 |
|
#6 |
Member
Ben
Join Date: Sep 2012
Posts: 40
Rep Power: 14 |
Thank you for clearing things up and for the links
I will make a new thread once I have a few more questions to ask |
|
October 10, 2012, 15:54 |
|
#7 |
Member
Ben
Join Date: Sep 2012
Posts: 40
Rep Power: 14 |
hello again
What is the difference between using something like Autodesk simulator CFD and OpenFOAM? I saw tutorials for Autodesk Simulator CFD and it seems quite straight forward, no coding, no formulas, just specify things like pressure, boundry conditions, inlets, outlets, etc and simulate it to get the results, is this software not as accurate as OpenFOAM? There is something I found on it called mesh generation and it basically generates the mess automatically without you needing to specify anything apart from the faces you want it generating on, is there anything like this on OpenFOAM? Last edited by ben1793; October 10, 2012 at 16:13. |
|
October 10, 2012, 18:20 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
The big difference when it comes to CFD is this: validation of results may vary, depending on the type of simulation you're doing! Some have been designed and tested for some things and others have been designed for the other things. Search for OpenFOAM vs Fluent and so on and you'll find out that this has been asked several times in the past.
__________________
|
||
October 11, 2012, 04:22 |
|
#9 | |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
In addition to what Bruno said - if you exclude coding, you will be quite limited in what you can do with any software package. Ansys Fluent is extensible by using "User defined functions" (and I'm sure other solvers are too). So if you're looking at a complex problem you are likely to do some coding anyway, and that might come more natural in OpenFOAM as you can see the entire code, and use standard debugging tools.
- Anton Quote:
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
||
October 11, 2012, 13:54 |
|
#10 |
Member
Ben
Join Date: Sep 2012
Posts: 40
Rep Power: 14 |
Thank you for the replies, I will defiantly make a new thread for my next questions.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
OpenFOAM install on Suse 11.1 and 11.2 | mkt | OpenFOAM Installation | 5 | October 14, 2009 03:20 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |
help wanted to Install OpenFOAM 11 on SunOS version 59 | gd_jin | OpenFOAM Installation | 3 | April 8, 2005 05:56 |