CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to run other tutorials included in OpenFOAM?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2014, 15:57
Question How to run other tutorials included in OpenFOAM?
  #1
New Member
 
Max
Join Date: Jul 2014
Posts: 6
Rep Power: 12
BhaluBear is on a distinguished road
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!
BhaluBear is offline   Reply With Quote

Old   August 8, 2014, 01:21
Default
  #2
Member
 
Lianhua Zhu
Join Date: Aug 2011
Location: Wuhan, China
Posts: 35
Rep Power: 15
zhulianhua is on a distinguished road
Hi BhaluBear!

I think you should run the ./Allrun scripts, or, if you want, manually execute the every steps in the scripts.

Best,

Lianhua
zhulianhua is offline   Reply With Quote

Old   August 8, 2014, 12:58
Default
  #3
New Member
 
Max
Join Date: Jul 2014
Posts: 6
Rep Power: 12
BhaluBear is on a distinguished road
Quote:
Originally Posted by zhulianhua View Post
Hi BhaluBear!

I think you should run the ./Allrun scripts, or, if you want, manually execute the every steps in the scripts.

Best,

Lianhua

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!
BhaluBear is offline   Reply With Quote

Old   August 8, 2014, 13:03
Default
  #4
Member
 
Lianhua Zhu
Join Date: Aug 2011
Location: Wuhan, China
Posts: 35
Rep Power: 15
zhulianhua is on a distinguished road
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
zhulianhua is offline   Reply With Quote

Old   August 13, 2014, 15:38
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: http://openfoamwiki.net/index.php/FA...in_OpenFOAM.3F
wyldckat is offline   Reply With Quote

Old   April 23, 2016, 14:34
Default
  #6
Member
 
Matt Ridzon
Join Date: Jun 2014
Posts: 91
Rep Power: 12
m_ridzon is on a distinguished road
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
m_ridzon is offline   Reply With Quote

Old   May 1, 2016, 20:23
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
@M Ridzon - Quick answers:
  1. I wrote something on this topic of "why isn't everything documented"? http://www.cfd-online.com/Forums/ope...tml#post595350 - post #2
  2. It's a bit of a "follow the yellow brick road" or "follow the rabbit into the rabbit hole", namely either relying on Google to look for more details, or looking into the links provided here: http://www.cfd-online.com/Forums/ope...-openfoam.html
  3. If you want a specific tutorial documented and you can't find any specific information about it online, think about contracting someone to write said documentation and making it public.
wyldckat is offline   Reply With Quote

Old   May 2, 2016, 23:11
Default
  #8
Member
 
Aldias Bahatmaka
Join Date: Aug 2015
Location: Geoje Island, South Korea
Posts: 43
Rep Power: 11
bmaldi is on a distinguished road
Quote:
Originally Posted by BhaluBear View Post
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!
hey man,
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.
bmaldi is offline   Reply With Quote

Old   May 21, 2016, 11:19
Default
  #9
Member
 
Matt Ridzon
Join Date: Jun 2014
Posts: 91
Rep Power: 12
m_ridzon is on a distinguished road
@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
m_ridzon is offline   Reply With Quote

Reply

Tags
circuitboardcooling, heat transfer


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 19:31.