|
[Sponsors] |
How to run other tutorials included in OpenFOAM? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 7, 2014, 15:57 |
How to run other tutorials included in OpenFOAM?
|
#1 |
New Member
Max
Join Date: Jul 2014
Posts: 6
Rep Power: 12 |
I'm very new to OpenFOAM so I am currently going through the tutorials on the OpenFOAM website so I can get a basic understanding of what is going on. However, the tutorials on their website only show a couple basic examples so I wanted to take a look at some more complicated stuff.
How do I go about running the circuitBoardCooling tutorial located under heatTransfer/buoyantSimpleFoam/circuitBoardCooling? I tried following similar steps to the previous examples but it didn't work. I ran blockMesh from inside the circuitBoardCooling directory. Then I ran buoyantSimpleFoam and got a fatal error saying it could not find the file. Now, I'm not sure if this is what I was supposed to do but I noticed in the Allrun file located also in the circuitBoardCooling directory it says to "cp -r 0.or 0" and then run createBaffles -overwrite. Is this what I need to do to run this tutorial or am I not even close? Thank you for taking the time to help this newb! |
|
August 8, 2014, 01:21 |
|
#2 |
Member
Lianhua Zhu
Join Date: Aug 2011
Location: Wuhan, China
Posts: 35
Rep Power: 15 |
Hi BhaluBear!
I think you should run the ./Allrun scripts, or, if you want, manually execute the every steps in the scripts. Best, Lianhua |
|
August 8, 2014, 12:58 |
|
#3 | |
New Member
Max
Join Date: Jul 2014
Posts: 6
Rep Power: 12 |
Quote:
I was unaware you could actually run those "Allrun" scripts. What is the difference between the "Allrun" and the "Allclean" scripts? Thanks for the help! |
||
August 8, 2014, 13:03 |
|
#4 |
Member
Lianhua Zhu
Join Date: Aug 2011
Location: Wuhan, China
Posts: 35
Rep Power: 15 |
You can always look inside the Allrun and Allclean scripts to figure out what they are doing. You know they are nothing but shell scripts.
Best, Lianhua |
|
August 13, 2014, 15:38 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: http://openfoamwiki.net/index.php/FA...in_OpenFOAM.3F
|
|
April 23, 2016, 14:34 |
|
#6 |
Member
Matt Ridzon
Join Date: Jun 2014
Posts: 91
Rep Power: 12 |
I'm in the same position as BhaluBear. The OpenFOAM user guide provides documentation for just a few tutorials. But many other tutorials are installed with the software. I understand that the Allrun script can be used to run any of them. However, is there any supplemental documentation for these other tutorials, to explain the models and the steps to work through them? Or are we left in the dark to figure them out ourselves by way of the Allrun script? If there is no offical OpenFOAM documentation to support them, perhaps someone is aware of any "un-official" documentation available out there to support these other tutorials?
Thanks in advance, M Ridzon |
|
May 1, 2016, 20:23 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
@M Ridzon - Quick answers:
|
|
May 2, 2016, 23:11 |
|
#8 | |
Member
Aldias Bahatmaka
Join Date: Aug 2015
Location: Geoje Island, South Korea
Posts: 43
Rep Power: 11 |
Quote:
Allrun is the process when you are running all the steps,. and Allcleanwhen you want to back the first step or after you run, you want to make the first conditions without running process. |
||
May 21, 2016, 11:19 |
|
#9 |
Member
Matt Ridzon
Join Date: Jun 2014
Posts: 91
Rep Power: 12 |
@wyldckat
Thanks! I love OpenFOAM and think it has great potential. But I think it's sad that this powerful piece of software has such horrible documentation. I understand there could be funding constraints, but somehow that only inhibits the development of the documentation, not the ongoing development of the code itself. Perhaps the developers should take a hiatus from developing the actual code for a few years and instead work strictly on documentation until it is robust, thorough, and complete for any level of user to learn from (just my opinion and suggestion). I attended the OpenFOAM workshop last year in Ann Arbor and repeatedly, I heard about the desire to attract new users and build the community. And sadly, one contributor in a discussion said, "my team of research students often publishes stuff on YouTube for beginners, but the content is never checked for accuracy before publication and so it often has errors." Sad. At some point, hopefully developers realize that documentation is a vital piece to attracting new users. People like me who don't have a strong band of seasoned users around them, flounder around in OpenFOAM struggling to figure it out. Sad. M Ridzon |
|
Tags |
circuitboardcooling, heat transfer |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tutorials on Simulating a Pitching Airfoil in OpenFOAM | afrotimy | OpenFOAM | 4 | January 18, 2018 10:20 |
How to run OpenFoam using openMP. | bravikanth | OpenFOAM Running, Solving & CFD | 12 | June 20, 2016 11:11 |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 05:53 |
OpenFOAM tutorials | Jos | OpenFOAM | 5 | October 15, 2013 14:28 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |