|
[Sponsors] |
[Tutorials] OpenFOAM programming tutorials for beginners |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 15, 2018, 02:29 |
|
#41 | |
Senior Member
|
Quote:
Cheers, Alex
__________________
Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at |
||
June 7, 2018, 08:59 |
|
#42 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi All,
Just wanted to say I added a new tutorial looking at the nuts and bolts of mesh generation. I wanted to get a glimpse of that part of OF myself in line with my recent side project of learning to use Engrid and though it might be interesting to some of you as well. If you're interested in what I've been up to with Engrid check out this post: Primsatic boundary layer creation fixed All the best, Artur |
|
July 8, 2018, 11:42 |
|
#43 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi All,
Just wanted to say I added a brief new tutorial on writing custom momentum sources based on an actuator disk example. All the best, Artur |
|
July 10, 2018, 14:48 |
|
#44 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Dear All,
Apologies for spamming the thread again the same week, but I just realised a new version of OpenFOAM has been released, so we're now at 6 from the openfoam.org branch. I tested the tutorials and they all seem to work fine without any modifications. I also restructured them a bit to make it easier for me to test them automatically in the future. All the best Artur |
|
March 8, 2019, 15:04 |
|
#45 | |
New Member
Febriyan Prayoga
Join Date: Apr 2016
Location: Seoul
Posts: 21
Rep Power: 10 |
Quote:
|
||
July 9, 2019, 02:27 |
|
#46 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi All,
Just a quick update: I've upgraded the tutorials to work with the new OpenFOAM 7. Changes required were minimal but at least now everything works out-of-the-box. Happy foaming, A |
|
August 30, 2019, 05:52 |
ThankYou
|
#47 |
Member
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 12 |
Thank you very much. Appreciate a lot your work. It was a good idea to make some tutorials for the new c++ users.
|
|
September 2, 2019, 13:20 |
Thank you
|
#48 | |||
New Member
Alex
Join Date: Sep 2019
Posts: 1
Rep Power: 0 |
Thank you for your job, I'm new in this world and I'm learning a lot with your posts.
I have OF7 and I have an error in all the tutorials and I dont know why. tutorial1 Quote:
In the tutorial2 Quote:
./testAll Quote:
I feel bad for being the only one to have this problem. |
||||
September 3, 2019, 03:30 |
|
#49 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi,
From the first error message, it seems as though the test case is missing the controlDict file. Are you sure it checked out properly and contains the usual OpenFOAM folder structure? Regards, Artur |
|
May 18, 2020, 19:40 |
|
#50 |
New Member
Kumar Pushpak
Join Date: Apr 2019
Posts: 9
Rep Power: 7 |
Hey thanks. This was just what i needed to get started.
|
|
November 3, 2020, 11:04 |
unable to see tutorials
|
#51 | |
New Member
John
Join Date: Nov 2013
Location: USA
Posts: 22
Rep Power: 12 |
Quote:
|
||
November 3, 2020, 12:51 |
|
#52 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi,
Thanks for the interest in the tutorials. You can view the original materials on the main github site: https://github.com/UnnamedMoose/Basi...mmingTutorials . There you can navigate from one tutorial to another and explore the contents without downloading or compiling anything. To be clear, as I explain in the README, there are no formal slides, notes or any other document beyond the readme. Each tutorial explains everything inside the actual source code, giving you on-the-fly description of what's what and how all the pieces come together. Hope this helps, Artur |
|
December 11, 2020, 03:13 |
|
#53 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Just a quick update: I've tested the tutorials with OpenFOAM-8 and it all works fine. I've also merged a tutorial contributed by a member of the community, for which many thanks go to Ramkumar!
Happy foaming, A |
|
January 25, 2021, 15:51 |
|
#54 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi All, another quick update: the tutorials now include an example of how the SIMPLE algorithm works! Mmany thanks to Ramkumar for contributing the tutorial.
|
|
January 26, 2021, 07:31 |
|
#55 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 51 |
Arthur, thank you for your effort. Do you mind if I put you onto my website under the section Community Contributions?
__________________
Keep foaming, Tobias Holzmann |
|
January 26, 2021, 11:14 |
|
#56 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
||
February 17, 2021, 07:37 |
|
#57 |
Member
Callum Guy
Join Date: Dec 2019
Location: Scotland
Posts: 44
Rep Power: 6 |
I've just come across the repository and firstly - it's awesome how much time and effrot you've put into it - it's a credit to the community!
Just a quick question, is there any plans for it to work with openfoam.com releases? Thanks again! Callum |
|
February 17, 2021, 15:29 |
|
#58 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi,
Thanks for the positive feedback Callum, much appreciated! Not at the moment, no - I don't think it'd be too much work to get it working, as the two versions are not that far apart in terms of basic pieces used in the tutorials, but it would potentially complicate maintenance for me a lot. I decided to use the other branch because that's what I was using at the time I started the tutorials, but I do not have a strong preference over one or the other. If you can convince me it's worth changing, I can rewrite everything to work with the openfoam.com branch But then I'd drop compatibility with the current one. Cheers, A |
|
February 19, 2021, 01:40 |
|
#59 |
New Member
Yashas Gandhi
Join Date: Feb 2021
Posts: 1
Rep Power: 0 |
Hello!
I am new to OpenFOAM and trying out these tutorials. I don't understand how appending works in OFtutorial1 and any explanation will be very much appreciated. This is the hash table given in customProperties file: Code:
someHashTable ( key0 (0 0 0) key1 (1 0 0) ); Code:
// Append to the imported hash table and wirte it too someHashTable.insert("newKey", vector(1., 0., 0.)); outputFilePtr() << someHashTable << endl; Code:
( key0 (0 0 0) newKey (1 0 0) key1 (1 0 0) ) |
|
February 19, 2021, 04:27 |
|
#60 |
Senior Member
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20 |
Hi,
Hash tables are, by definition, unsorted - unlike lists or arrays. Here, specific keys (strings in this case) point to values at specific locations in an underlying data structure. Have a look here: https://en.wikipedia.org/wiki/Hash_t...0_1_0_0_SP.svg Cheers, A |
|
Tags |
turorial files, tutorial |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 05:40 |
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 14, 2016 10:19 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
Openfoam Programming from scratch | shovan | OpenFOAM Programming & Development | 1 | July 9, 2015 12:38 |