CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[Tutorials] OpenFOAM Screencast - Showing how to build an OpenFOAM case from scratch

Register Blogs Community New Posts Updated Threads Search

Like Tree15Likes
  • 11 Post By Tobi
  • 1 Post By JR22
  • 1 Post By enginpower
  • 1 Post By sitajeje
  • 1 Post By student666

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2017, 17:02
Arrow OpenFOAM Screencast - Showing how to build an OpenFOAM case from scratch
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear FOAM'er,

I am creating a series of screencasts where I demonstrate how to build your own case for an arbitrary geometry. The screencasts are split into different topics in order to allow everybody to check out the part he/she is interested in. In general I am talking about the following stuff:

  • Geometry preparation
  • Geometry reparation
  • Generation of patches
  • Triangulation of the surfaces (patches)
  • STL`s and region STL`s
  • Background mesh
  • Set-up of the snappyHexMeshDict
  • Surface feature snapping and generation
  • Layer generation
  • Boundary conditions
  • Solver settings
  • And other related stuff

You can find everything here » Move me to the screencast «

Everything is based on geometry that is shown below and we are using OpenFOAM, Salome and Blender during the screencasts.

Share it, comment it, like it, criticize it, enjoy it,...


Screencast.jpg
__________________
Keep foaming,
Tobias Holzmann

Last edited by Tobi; December 14, 2017 at 07:49.
Tobi is offline   Reply With Quote

Old   January 25, 2017, 07:01
Default screencast using salome and openfoam for engine exhaust
  #2
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 17
JR22 will become famous soon enough
Thank you very much for this contribution. I enjoyed the screencast.
Tobi likes this.
JR22 is offline   Reply With Quote

Old   January 27, 2017, 05:57
Default
  #3
Member
 
power
Join Date: Jun 2014
Posts: 86
Rep Power: 11
enginpower is on a distinguished road
Dear Tobi,
very helpful video tutorials, what you linked.

Thanks so much.

What a pity not got before!
Tobi likes this.
enginpower is offline   Reply With Quote

Old   January 31, 2017, 09:09
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by JR22 View Post
Thank you very much for this contribution. I enjoyed the screencast.
Dear Jose thanks for your reputation points! I may ask Bruno if it is worth to pin that thread. Otherwise it will be lost soon :P
Of course, thanks to you Valentine too, for giving me some feedback.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 19, 2017, 06:20
Default
  #5
Member
 
Join Date: Sep 2016
Posts: 63
Rep Power: 9
sitajeje is on a distinguished road
Dear Tobias,

Thank you very much first of all for your teaching on your website http://www.holzmann-cfd.de! I watched through your teaching videos and learned a lot, especially about creating mesh with Salome and snappyHexMesh. Your website is very helpful for beginners like me!

I met a problem with salome. I want to simulate blood flow in a blood vessel, which is basically like a pipe, but has irregularly curved surfaces and flow path. The geometry is saved in .step or a .stl file. I could import the .step file into salome. After I right clicked and chose create group, the dialog box became frozen. I could move the dialog box, but couldn't choose faces. The memory is sufficient, still plenty are free.

I tried a much simpler geometry, a pipe, there was no problem to create groups. Since I began to use salome yesterday, I am not sure whether is it an installation problem or do I meet the limit of salome so quickly in a day?

It would be a great favor of me if you would like to give me some hints! Thank you very much in advance!

All the best,

Sitajeje
sitajeje is offline   Reply With Quote

Old   March 19, 2017, 07:35
Default
  #6
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear Sitajeje,

thank you very much for your feedback. Salome can be very slow if your STEP is very complex and has a lot of shells/faces/etc. I suggest, wait open it, great groups and then have a break. Sometimes I focus this problem too. Mostly if I extrude a face into a wrong direction (in that case I have to kill Salome) ... However, what you could to is -> extract your shell -> try to build a new solid and then try to create groups (or even with the shell).

Sent from my HTC One mini using CFD Online Forum mobile app
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   March 19, 2017, 13:21
Default
  #7
Member
 
Join Date: Sep 2016
Posts: 63
Rep Power: 9
sitajeje is on a distinguished road
Dear Tobias,

professionals are professional! Your hint provides exactly the solution: take it easy and have a coffee break! Thank you very much!

Have a nice evening!

sitajeje
Tobi likes this.
sitajeje is offline   Reply With Quote

Old   April 4, 2017, 07:02
Default
  #8
Member
 
power
Join Date: Jun 2014
Posts: 86
Rep Power: 11
enginpower is on a distinguished road
Hi Tobias,
I'm trying to mesh a very complex geometry to apply snappyHexMesh. I deeply studied your tutorial videos and what I cannot apply is to set the same wire segmentation on both two connected faces. The problem I encountered is that sometimes an edge on one face is different on the other face. In this case, setting an equal 'nb of segments' submesh on both two faces, obviously it misses to connect all points of the border mesh.
I tried to fuse edges, but I've not understood how to manage Fuses, because in that case they are not children of the same face.
So, how to solve that?
Thanks
enginpower is offline   Reply With Quote

Old   April 5, 2017, 06:49
Default multiRegion: internal snapping snapping
  #9
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
Hi Tobias,

I'm trying to mesh a multiRegion domain with SHM.
I've got 3 domains.
If you have a look at the picture, you may see that internally there is a cylindrical surface I would like to snap better.
That surface is internal and I want only to mesh better the interface between regions.
I tried different ways, even increasing levels on refienements surfaces, but I got a "stepped" surface; I'd like to have it smoothed.

this is an extract of my SHM dict
Code:
refinementSurfaces
    {
        fluid
        {
            level (1 1);
            regions
         {
        airAmbOutlet      { level (1 1); patchInfo { type patch; }}
            airAmbInlet      { level (1 1); patchInfo { type patch; }}
            airCombInlet     { level (1 1); patchInfo { type patch; }}
            airCombOutlet      { level (1 1); patchInfo { type patch; }}
            simmetry          { level (1 1); patchInfo { type patch; }}
            wallAirAmb      { level (1 1); patchInfo { type wall; }}
            wallAirComb     { level (1 1); patchInfo { type wall; }}
            wallSolido      { level (1 1); patchInfo { type wall; }}
            }

        }
        tuboScamb1
        {
            level (3 3);
            faceType internal;
        }
    tuboScamb2
        {
            level (3 3);
            faceType internal;

        }
    tuboPlt
        {
            level (3 3);
            faceType internal;
        }

        regionAirAmb
        {
            level (2 2);

            faceZone    regionAirAmb;
            cellZone    regionAirAmb;
            cellZoneInside inside;
            boundary    internal;
        }

    regionAirComb
        {
            level (2 2);

            faceZone    faceAirCombZone;
            cellZone    cellAirCombZone;
            cellZoneInside inside;
            boundary    internal;
        }
How do you set snappyHexMesh dict to snap properly that surface without obtaining extra patches or extra cellZones after using
Code:
splitMeshRegions -cellZones -ovrwrite
? Is there a way?

Enclosed there's the step file of the domain.
Thanks for any help.
Regards
Michele.
Attached Images
File Type: jpg 1.JPG (45.6 KB, 45 views)
Attached Files
File Type: zip multiRegion.zip (26.3 KB, 6 views)
student666 is offline   Reply With Quote

Old   April 5, 2017, 09:47
Default
  #10
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
Hi,

solved by setting the following dict:
Code:
tuboPlt.stl
        {
            level (3 4);
            faceZone    tuboPlt;
           
        }
when you use splitMeshRegions -cellZones, you don't have any other cellZones.
Tobi likes this.
student666 is offline   Reply With Quote

Reply

Tags
openfoam, screencasts


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
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 15:13
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 20:10.