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

How to run other tutorials included in OpenFOAM?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 7, 2014, 14:57
Question How to run other tutorials included in OpenFOAM?
  #1
New Member
 
Max
Join Date: Jul 2014
Posts: 6
Rep Power: 4
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, 00:21
Default
  #2
Member
 
Lianhua Zhu
Join Date: Aug 2011
Location: Wuhan, China
Posts: 35
Rep Power: 7
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, 11:58
Default
  #3
New Member
 
Max
Join Date: Jul 2014
Posts: 6
Rep Power: 4
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, 12:03
Default
  #4
Member
 
Lianhua Zhu
Join Date: Aug 2011
Location: Wuhan, China
Posts: 35
Rep Power: 7
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, 14:38
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,554
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer: http://openfoamwiki.net/index.php/FA...in_OpenFOAM.3F
wyldckat is offline   Reply With Quote

Old   April 23, 2016, 13:34
Default
  #6
New Member
 
Matt Ridzon
Join Date: Jun 2014
Posts: 27
Rep Power: 4
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, 19:23
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,554
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
@M Ridzon - Quick answers:
  1. I wrote something on this topic of "why isn't everything documented"? Documentation of solvers and models - 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: Getting Started with OpenFOAM
  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, 22:11
Default
  #8
New Member
 
Aldias Bahatmaka,ST
Join Date: Aug 2015
Posts: 20
Rep Power: 3
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, 10:19
Default
  #9
New Member
 
Matt Ridzon
Join Date: Jun 2014
Posts: 27
Rep Power: 4
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run OpenFoam using openMP. bravikanth OpenFOAM Running, Solving & CFD 12 June 20, 2016 10:11
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 05:53
Tutorials on Simulating a Pitching Airfoil in OpenFOAM afrotimy OpenFOAM 3 December 31, 2015 13:04
OpenFOAM tutorials Jos OpenFOAM 5 October 15, 2013 13:28
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 03:56.