No video

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

  Рет қаралды 22,597

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.

Пікірлер: 55
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
Guys, I misspoke at 9:27 this is the geometry video I meant: kzfaq.info/get/bejne/mJaYa7CpqrO1gIE.html
@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
@shahbozbek_abdunabiev
@shahbozbek_abdunabiev 6 ай бұрын
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 6 ай бұрын
Very good!
@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.
@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.
@ammoniumhydroxide9739
@ammoniumhydroxide9739 Жыл бұрын
OMG, this is the ultimate compatibility tool i have been looking for! Thanks for sharing!
@matteof6340
@matteof6340 Жыл бұрын
Brewer and learning CFD for seeing what is happening and hobby, thanks!
@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.
@jakariausman6025
@jakariausman6025 21 күн бұрын
Thanks for sharing
@anirbandas4201
@anirbandas4201 6 ай бұрын
Thnks for such an amazing video.
@nicolaandreini7320
@nicolaandreini7320 Жыл бұрын
Thank you for the amazing contents!
@mahmou6
@mahmou6 Жыл бұрын
Awsome, József!
@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.
@fedezabaleta
@fedezabaleta Жыл бұрын
This is awesome! Thanks Jozsef
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Жыл бұрын
I am glad.
@yirenxindudu
@yirenxindudu Жыл бұрын
I would say the locations of the points and lines of the stl file have a effect on the finial mesh topo
@randytucker3083
@randytucker3083 Жыл бұрын
Wonderful work
@ColemanWilson-g6v
@ColemanWilson-g6v 29 күн бұрын
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 29 күн бұрын
Also does a program like Fusion 360 have similar functionality or does Blender allow for more ability to create meshes?
@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. kzfaq.info/get/bejne/r9ZpnsuC2baVl2w.html
@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.
@nizamuddinabdulazizthottol6030
@nizamuddinabdulazizthottol6030 Жыл бұрын
Hello sir, I have a doubt, can I use Solidworks instead of blender? Thank you...
@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.
@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?
@deepakkpawar7770
@deepakkpawar7770 Жыл бұрын
Great video...can we import any VTK files in Blender?
@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 11 ай бұрын
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?
@mahwish1231
@mahwish1231 11 ай бұрын
Hi Jozsef, please made video coupled simulation of PFC and openFOAM
@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.
@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!
@kanncad1712
@kanncad1712 2 ай бұрын
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 2 ай бұрын
Ja, klar.
@kanncad1712
@kanncad1712 2 ай бұрын
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"
What the h*ll is OpenFOAM? Explained with a PIZZA!
14:38
József Nagy
Рет қаралды 12 М.
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 32 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 12 МЛН
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 17 МЛН
Harley Quinn lost the Joker forever!!!#Harley Quinn #joker
00:19
Harley Quinn with the Joker
Рет қаралды 25 МЛН
Supercharge Your Geometry Nodes Workflow - Blender Tutorial
10:07
The search for the biggest shape in the universe.
18:49
Stand-up Maths
Рет қаралды 33 М.
Meshing STL Using snappyHexMesh in OpenFOAM
41:46
Codeynamics
Рет қаралды 4,6 М.
EVERY Engineer Should Know About This FREE Software (Pt. 1)
8:54
The Engineering Toolbox Channel
Рет қаралды 89 М.
I Spent 100 Days Learning Blender
12:39
Will Gibbons | 3D Rendering
Рет қаралды 162 М.
OpenFOAM fvSchemes explained in under 5 mins
4:52
CFD For Everyone - Nik L
Рет қаралды 13 М.
How Games Have Worked for 30 Years to Do Less Work
23:40
SimonDev
Рет қаралды 1,3 МЛН
FREE CFD & FEA Software in a Web Browser?!
8:57
Tech3D
Рет қаралды 131 М.
How To Simulate PCB in Open Source Software
1:57:23
Robert Feranec
Рет қаралды 52 М.
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 32 МЛН