I missed this in my CFD geometry workflow for OpenFOAM simulations for years. This is how I fix it.

  Рет қаралды 23,646

József Nagy

József Nagy

Күн бұрын

In this video I tell you the story how I fixed my #geometry workflow for #CFD simulations in #OpenFOAM using the open-source tool #blender.
These are the lines you have to enter:
line 3: import os
line 189: header = os.path.basename(filepath)[0:-4]
Here are the links to the older two videos on geometry creation:
• [Community video] - Wh...
• How to create and expo...
Here is the link to the video of #blender guru:
• Blender 2.8 Beginner T...
Here is the link to the video with the first simulation in #OpenFOAM
• How to run your first ...
You can find me on LinkedIn:
/ jozsef-nagy-2b37a0a9
You can find me on Patreon:
www.patreon.co...
You can find the #OpenFOAM tutorial collection here:
wiki.openfoam....
This material is published under the creative commons license CC BY (Attribution). If you plan to use it, please acknowledge it.

Пікірлер: 59
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
Guys, I misspoke at 9:27 this is the geometry video I meant: kzbin.info/www/bejne/mGHLaYCuerKEhq8
@shahbozbek_abdunabiev
@shahbozbek_abdunabiev 7 ай бұрын
Thank you Jozsef! A while ago I discovered Blender for animations, but I did not know about its use case for OpenFOAM CAD editing. Now, I can combine two wonderful open source tools.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 7 ай бұрын
Very good!
@cronos864
@cronos864 Жыл бұрын
I'm loving the new format, it's fun to watch while still being very informative.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
Thank you! I thought it was time for a bit of change.
@punkisinthedetails1470
@punkisinthedetails1470 Жыл бұрын
We all agree
@mohammadmahmudulhuq3164
@mohammadmahmudulhuq3164 Жыл бұрын
@@OpenFOAMJozsefNagy breath of fresh air...
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
@@mohammadmahmudulhuq3164 Thank you
@ryanmcgowan3061
@ryanmcgowan3061 Жыл бұрын
One thing about OpenFoam that makes it feel more complicated is that the tutorials give you the impression that there's a ton of things you need to address to create a project. One simple fix would be this: Stop calling them tutorials, and start calling them templates. They aren't even tutorials anyway. They are template projects.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
My next video will focus on this. Let's see, what you think about that.
@ryanmcgowan3061
@ryanmcgowan3061 Жыл бұрын
@@OpenFOAMJozsefNagy Can't wait! Simple End-to-end tutorials starting from a simple custom model are the best format, IMO.
@cris7472
@cris7472 Жыл бұрын
I'll admit i was looking for a good documentation source on OpenFOAM a while ago, found your channel, subscribed and then thought: All of this is too complicated, why is there no unified editor ? Why do I then have to manually edit the script and reference every mesh by name? ... and so dropped the matter. With this one video you've resolved all of those issues and more. Having the quick key shortcuts for translate/scale on screen and (almost) the full flow means I'm actually confident enough to give this another shot. You could probably make another high-level "quick intro to openfoam" video that integrates this as well as the basics for people that haven't heard of this yet, but this video is eye-opening by itself. Final thought: This is probably the first time that i've seen on youtube where such a click-bait sounding video title of "Don't miss out on this" is 100% justified. Good job!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
I thought I already answered here, sorry. Somehow it got lost. This is a very good input. I was thinking about something similar in the next video. I may be able to incorporate some of your points there.
@matteof6340
@matteof6340 Жыл бұрын
Brewer and learning CFD for seeing what is happening and hobby, thanks!
@ammoniumhydroxide9739
@ammoniumhydroxide9739 Жыл бұрын
OMG, this is the ultimate compatibility tool i have been looking for! Thanks for sharing!
@TmTNaturalFarming
@TmTNaturalFarming Жыл бұрын
Hey Jozef, eager to hear on Christmas competition for this season!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
Due to the lack of interest in the last years, this year there is no competition.
@louispasnik5976
@louispasnik5976 Жыл бұрын
I am hopeful Jozef sets it up for 2023!
@Mocktailmetal
@Mocktailmetal Жыл бұрын
Wish I could know this during my PhD. It was painstakingly painful to go from proprietary Geometry making tool to openfoam meshing. And on top of that, geometrical domain was 10 times more complex than this one.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
Hope it helps now.
@fedezabaleta
@fedezabaleta Жыл бұрын
This is awesome! Thanks Jozsef
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
I am glad.
@martinopinto6323
@martinopinto6323 Жыл бұрын
Hi Jozsef! Could you make a video on how to monitor mass and volumetric flow rate with function objects on already existing patches? Seems an easy task but I couldn't find any clear information online. That would be very nice, thanks for everything you do!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
If you need a fast solution, I have several videos on this on Patreon.
@nicolaandreini7320
@nicolaandreini7320 Жыл бұрын
Thank you for the amazing contents!
@jakariausman6025
@jakariausman6025 Ай бұрын
Thanks for sharing
@mahmou6
@mahmou6 Жыл бұрын
Awsome, József!
@randytucker3083
@randytucker3083 Жыл бұрын
Wonderful work
@anirbandas4201
@anirbandas4201 7 ай бұрын
Thnks for such an amazing video.
@Binarymath
@Binarymath 20 күн бұрын
Thank you so much! I'm learning a lot from your videos. I'm new to CFD, but thanks to your videos, I've been able to improve very quickly, and I'm extremely satisfied. It seems that in Blender version 4.2, the option to select "object" in the Batch mode checkbox has disappeared. I'm curious about what role the Batch mode plays. If it's essential, it seems like using the version of Blender you're using could be an important issue for me as well. (This is just my guess, but I think that in Blender 4.2, if you don't select "Selection Only" right below "Batch," it might automatically save with "Object" selected by default)
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 18 күн бұрын
Thank you for the input. I personally did not try 4.2 yet, so I am not sure. Possibly.
@yirenxindudu
@yirenxindudu Жыл бұрын
I would say the locations of the points and lines of the stl file have a effect on the finial mesh topo
@nizamuddinabdulazizthottol6030
@nizamuddinabdulazizthottol6030 Жыл бұрын
Hello sir, I have a doubt, can I use Solidworks instead of blender? Thank you...
@mahwish1231
@mahwish1231 Жыл бұрын
Hi Jozsef, please made video coupled simulation of PFC and openFOAM
@chrisyates6522
@chrisyates6522 Жыл бұрын
Great video! I'm a CFD noob but have been using Blender for a long time. It's only in more recent years that I've been able to use it more commercially. I have a noob question! Could using a Blender sub-surface modifier to smooth sharp-edged geometry (such as the corners of a room) enhance the CFD meshing?
@ColemanWilson-g6v
@ColemanWilson-g6v 2 ай бұрын
I do wonder what the benifet of this is vs just using FreeCAD's cfdOF tool to name faces and the meshing tool in it?
@ColemanWilson-g6v
@ColemanWilson-g6v 2 ай бұрын
Also does a program like Fusion 360 have similar functionality or does Blender allow for more ability to create meshes?
@stimpyfeelinit
@stimpyfeelinit Жыл бұрын
Please do a tutorial on how to pull an entire CFD animation from paraview into blender! I can't get any of the scripts I found online to work!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
You can't pull the entire animation, because paraview only loads one time step at a time. This means, that it also only exports files per time step. Do you need a script in paraview, which exports all time steps and an import script for blender.
@deepakkpawar7770
@deepakkpawar7770 Жыл бұрын
Great video...can we import any VTK files in Blender?
@pathfinder.george
@pathfinder.george Жыл бұрын
Hi, I designed a concept vehicle in Blender (mesh with sub-surface). Is there any way I can do a CFD with say 90% accuracy within Blender or OpemFOAM? Ideally it would compute on my machine (Mac). Thanks for the video!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
I am not sure about blender, but OpenFOAM can do it. Yes. You can install OpenFOAM on Mac, but I have zero experience with the bitten apple. Sorry. I know several people who use OF in Mac though. The OF part will come in my next video.
@sikandaryosufzai2790
@sikandaryosufzai2790 Жыл бұрын
Thank you very much for your efforts done so far, I newly started learning OpenFOAM. Can we draw a complicated structure like (Piano Key Weir or Lybrinth Weir) in Blender? or we should draw it in AutoCAD and import to Blender.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
It depends on your preference. If you prefer AutoCAD then go for it!
@James-sh4zf
@James-sh4zf Жыл бұрын
I hate blender, just couldn't be bothered manipulating that pointless cube when I had CAD software to produce my files. After watching this tho, it seems useful (begrudgingly!), for what I need. I have created a 3D .tif file in Matlab from CT image slices, and I need to convert to a .stl file and name the faces, inlet and outlet. I have imported this file into Paraview, but do you recommend that I convert the geometry file to an stl file in paraview, and then transfer to blender, or could I just slice up the deometry in Paraview instead and export individual .stl files?
@kanncad1712
@kanncad1712 3 ай бұрын
sehr gute Arbeit und Danke dafür kann man auch bitte Fragen auf Deutsch stellen ? ich bin ziemlich neu hier und komme noch nicht zurecht damit
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 ай бұрын
Ja, klar.
@kanncad1712
@kanncad1712 3 ай бұрын
ich habe ein ähnliches Model in Creo erzeugt und als stl Datei exportiert. bei mir funktioniert alles bis auf "surfaceFeatureExtract" . da bekomme ich die folgende Meldung: "Note: Feature line extraction only valid on closed manifold surfaces"
@punkisinthedetails1470
@punkisinthedetails1470 Жыл бұрын
FreeCAD is also good.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
Of course. If you prefer, go with FreeCAD.
@punkisinthedetails1470
@punkisinthedetails1470 Жыл бұрын
@@OpenFOAMJozsefNagy Blender is great. Also has a CAD type tool now. Some users may be overwhelmed by the Blender interface. FreeCAD may be more familiar for the average CAD or CFD user. With your tutorials help Blender should be straightforward. Your content is some of the best on all these topics. No complaints there. This was a nice addition.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
@@punkisinthedetails1470 Additions are always welcome!
@theusual5uspect
@theusual5uspect Жыл бұрын
I did a session on rendering openfoam cases with blender last year. I cover a few additional details, you may find it useful. kzbin.info/www/bejne/r6GcnJuHqbVknZo
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
Thank you! Yes, this is an awesome video with many details!
@theusual5uspect
@theusual5uspect Жыл бұрын
@@OpenFOAMJozsefNagy it was a shame we had connection issues.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
@@theusual5uspect I think you get all the vital information from the video.
@sudheeshmadhavan
@sudheeshmadhavan Ай бұрын
you are very fast, please do it slow
What the h*ll is OpenFOAM? Explained with a PIZZA!
14:38
József Nagy
Рет қаралды 13 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 125 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 13 МЛН
EVERY Engineer Should Know About This FREE Software (Pt. 1)
8:54
The Engineering Toolbox Channel
Рет қаралды 91 М.
Meshing STL Using snappyHexMesh in OpenFOAM
41:46
Codeynamics
Рет қаралды 7 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,5 МЛН
Freecad CfdOF Tutorial #1: getting started
20:39
Tech Bernd
Рет қаралды 26 М.
How Games Have Worked for 30 Years to Do Less Work
23:40
SimonDev
Рет қаралды 1,3 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 4,8 МЛН
How to Render Realistic FEA Simulations in Blender for Free
41:27
Unpopular Mechanics
Рет қаралды 14 М.