This is really helpful József, keep these tutorials coming.
@jay82934 жыл бұрын
Very nice to watch your video in 2020. Thank you uploading videos!
@piotrmecht25004 жыл бұрын
Thank you! I wasted so much time today on sHM parameters for my geometry, that it got me frustrated and it made me think of how slow I am at solving my problems just because of dozen not satisfying remeshings each time. sMH works fine most of the time, but sometimes it forces me to use unreasonably large amount of cells, just to get rid of few bad ones, sometimes the layer addition totally distorts cells away from the viscous sublayer, and sometimes I cannot force layer addition on some faces no matter what mesh quality settings I pick. And it is more frustrating the more simple shape appears to be in my opinion. This looks very simple and fast, I'll give it a try tommorow. It might be the real game changer
@OpenFOAMJozsefNagy4 жыл бұрын
In my experience for some geometries snappy is the better choice, for some cfMesh. It is worth investigating though.
@piotrmecht25004 жыл бұрын
@@OpenFOAMJozsefNagy I've been testing cfMesh for the past week and I have this conclusion that it is nearly impossible to create any mesh that passes "checkMesh -allGeometry -allTopology" with minor errors. The mesh looks great, it fits layers with ease, but it has a lot of skew cells, non-orthogonal cells, negative volumes, warped faces etc. and it doesn't have any additional parameters to improve this . Even the tutorial cases return bad quality meshes. Not in terms of how they represent real geometries, but in terms of cell quality criteria.
@OpenFOAMJozsefNagy4 жыл бұрын
@@piotrmecht2500 Thank you for your input. checkMesh is usually very strict. Do the simulations run?
@HolzmannCFD4 жыл бұрын
@@piotrmecht2500 just one question. Does foam handle the calculation with cfmesh in your case?
@piotrmecht25004 жыл бұрын
@@HolzmannCFD I had some issues with convergence back then, but I figured out later, that the problem was the oscillating nature of flow i tried to capture with the steady state solver. I ran some successful simulations on cfmeshes since then. I've learned that I can 'manually' merge/zone my cfmeshes to perform cht or ami and I find cfmesh even more usefull now (i used to think that i'm forced to use sHM to do this). Lack of control over mesh quality criteria might be sometimes annoying, I had one geometry with shaped narrow channel and bunch of U-shaped heaters, which for me was so hard to properly mesh, that i gave up meshing and built a physical prototype with many sensors and see-through bulk :/ cfMesh is a great tool and I can't recommend it enough, it has its limitations, but you can find some work-arounds for them with other openFOAM tools
@TheOnlyRaceEngineer3 жыл бұрын
Thanks a million Jozsef Nagy for this awesome tutorial. Finally I can use a better tool other than snappy for my axial turbine because for me snappy didn't end up with smooth mesh around sharp blade edges.
@OpenFOAMJozsefNagy3 жыл бұрын
Great! I am glad it helps.
@venkatesanseetharaman58674 жыл бұрын
Hello Mr. Jozsef, I'm using OpenFOAM 7 and I do not see cfmesh installed anywhere. Could you please instruct me on how I can install it? Sincere thanks
@nikahmadridhwan51784 жыл бұрын
you need to add it yourself
@OpenFOAMJozsefNagy4 жыл бұрын
Yes for v7 you have to compile it yourself. Works only with the openfoam.com version out of the box
@venkatesanseetharaman58674 жыл бұрын
@@OpenFOAMJozsefNagy I'll look into it. Thanks!
@thear10324 жыл бұрын
Thank you so much for this great tutorial.
@janpeterbalmes93544 жыл бұрын
Hi József, very helpful video!! One question: how did you create STL-files for the walls and the in- and outlet. I think these consist of surfaces and not of solids. If I try to create such surfaces, I cannot export them (e.g. with AutoCAD or Inventor) because there are no volumes. Best regards
@janpeterbalmes93544 жыл бұрын
... I found the answer. Thanks again: kzbin.info/www/bejne/mGHLaYCuerKEhq8
@OpenFOAMJozsefNagy4 жыл бұрын
@@janpeterbalmes9354 Great!
@parth37914 жыл бұрын
Thank you professor..!!
@MohamadFawaz-ts4qx4 ай бұрын
Thanks József!
@shivamgupta99673 жыл бұрын
Hello Sir, I have installed v12 in WSL. I donot find the cfMesh in the modules. How to resolve the issue?
@OpenFOAMJozsefNagy3 жыл бұрын
If it is v2012 then it should work out of the box. It is in OpenFOAM/OpenFOAM-v2012/modules/cfmesh
@shivamgupta99673 жыл бұрын
@@OpenFOAMJozsefNagy Sir, Thanks for reply. Having watched your video carefully. I checked the module folder but it. was empty. I downloaded the cfmesh separately and completed the rest video tutorials.
@OpenFOAMJozsefNagy3 жыл бұрын
@@shivamgupta9967 Great!
@rezakheilikhare Жыл бұрын
Hi Jozsef, firstly, thank you for amazing tutorial. It was very easy to replicate. However, I have an issue how to handle baffle surfaces with cfMesh. I went through the user guide and as much as I searched the internet for an example of how to treat the baffles, I was unable to find any guide. I am wondering if you can point me to where to find the treatment of baffles.
@leili81634 жыл бұрын
thanks for this tutorial; very helpful
@geirgeir80423 жыл бұрын
"Ruff" tutorial? Well played :D
@caesarwiratama33034 жыл бұрын
Awesome, you are really helpful sir. Thanks
@kewu62502 жыл бұрын
Hi, nice video. I have a question regarding to fluid-structure interaction. In your case, you only generate mesh beween bounding box and dog, we could say it fluid domain. What if I want to create mesh for solid domain (e.g. the dog) in the meantime? I'm wondering how to do it in cfmesh. Looking forward to hearing any constructive ideas.
@OpenFOAMJozsefNagy2 жыл бұрын
Separately and then join the meshes.
@kewu62502 жыл бұрын
@@OpenFOAMJozsefNagy Hi Jozsef, thanks for your reply. I tried to mesh them separately, but mesh at interface is not conformal. I'm not sure if there is one utility in cfmesh can merge the cells perfectly.
@OpenFOAMJozsefNagy2 жыл бұрын
@@kewu6250 No there is not.
@zeitgeistdavid4994 жыл бұрын
Hell, really cfmesh is the best code for meshing. I think and I tried to use polyhedral mesh, and it was excellent and speedy but some time makes more nodes more than 9 million.
@OpenFOAMJozsefNagy4 жыл бұрын
For some geometries it is better than snappy.
@engineeringarts45093 жыл бұрын
cfMesh is a pretty nice meshing tool in terms of its efficiency, simplicity and flexibility!! One thing I don't like it is that it accepts only the fms file containing patches and extracted feature edges (remark: it accepts stl as well but stl contains only patches, no edges). There're two ways to do - 1. using command surfaceFeatureEdges with a specified angle (remark: there's no full control on the selection of the feature edges), and 2. using Salome together with python script (remark: full control on selected feature edges but only in Salome). Do you know if there's any way to have full control of the feature edges selection if I use Blender for geometry buildup? Exporting stl (prepared in Blender) into Salome can be a way but a bit trouble.
@OpenFOAMJozsefNagy3 жыл бұрын
No, unfortunately. I mean theoretically it is possible to program an exporter for blender, but my python skills are unfortunately not up to the challenge. If anyone has the python master skills, I would be happy to support.
@engineeringarts45093 жыл бұрын
@@OpenFOAMJozsefNagy Thanks for your reply. I'm also not an expert in python, so sad! It looks not an easy task.
@zorro9838 Жыл бұрын
Cfmesh or salome ; which is better ?
@OpenFOAMJozsefNagy Жыл бұрын
My personal preference is cfMesh
@HolzmannCFD4 жыл бұрын
Hi Joszef, thanks for your contribution. I will ask you why the second mesh is much coarser compared to the second run. I don't get the point here as you limited the max parameter while keeping the smaller one. I would have expected the same surface mesh with finer internal cells. Even the surface refinement was reduced from 0.3 to 0.1. So for me it should be vice versa if the meshing output. First mesh, coarser as the max parameter is 0.5 Second mesh finer as the min parameter is 0.1 However it seems that cfmesh is using some special refinement on the dog in the coarse case. Why it does not happen with the second ru., I don't know. Can you please clarify my doubts.?
@zeitgeistdavid4994 жыл бұрын
Hi, I couldn't generate layers in polyhedral mesh "pMesh" why??
@akwxanderdavid76864 жыл бұрын
I did all you did, but can't read edge. and failed. please help me with how to use salome python script for creating edge and fms file. Because it dosen't work with the salome 9.3. Thanks
@dibyendurana86243 жыл бұрын
Respected Sir, the stl files that you have uploaded in github showing some co-ordinates with notepad ++. However , the stl files created using freeCAD are showing "Null" in notepad ++ although the figures are visible in paraview. Can you please help me in this regards??
@OpenFOAMJozsefNagy3 жыл бұрын
Maybe you exported as binary nd not as ascii?
@dibyendurana86243 жыл бұрын
@@OpenFOAMJozsefNagy thanks a lot sir
@yuliu33333 жыл бұрын
It seems Blender could not name the 'solid' in the stl file correctly so that part needs to be renamed manually in Notepad. Also the stl file has to be in ASCII format, otherwise 'cat' command and 'surfaceFeatureEdges' command would generate some weird result. Tested in OpenFOAM V2012 windows version(mingw64).
@OpenFOAMJozsefNagy3 жыл бұрын
Try this video of mine: kzbin.info/www/bejne/oKLLnZRriKmipLs
@ttanfield5616 Жыл бұрын
Fixed it now (answer below) I've been testing different meshing utilities, but i keep getting the same error saying that openfoam cant find the controlDict file. Fistly, i didn't think you needed a controlDict file for meshing (only a blockMeshDict or meshDict etc), but also, i do have a controlDict file. So i'm confused. I am in my home directory, the files are in the right places. the directory where the controlDict text file is this: /home/"my name"/cylinderTestCase/system/ Any ideas? when i created the dict files, i made them all .txt . Since i wasn't copying any from tutorials and making my own up. I'm new to linux and Openfoam, so i dont know what file extension (if any?!) when creating - say - a meshDict or whatever. To fix it i copied a random controlDict file, replaced it with my meshDict info, and renamed it meshDict, and deleted the original.
@imonghosh72867 ай бұрын
It is really helpful, thank you sir.
@duranmartin77914 жыл бұрын
Hi Joszef, I much prefer the workflow of setting a cell size at the surface of interest and a growth rate from that surface, similar to what you demonstrated. Unfortunately, I have not been able to find a way to adjust the growth rate of the cells in cfmesh (you are able to adjust the distance from the surface for which the specified cell size holds true). When there is a big difference between the surface cell size and freestream cells, the transition between these cells is not smooth. In order to smooth these out the cells I use multiple box object refinements to gradually increase cell size to freestream, although this can be very time consuming. I am hoping you, or someone else, have a good suggestion of where to look for a solution. And as always, thank you for the videos!
@OpenFOAMJozsefNagy4 жыл бұрын
All settings are in the docu. Additional features are in the paid version of cfmesh+.
@duranmartin77914 жыл бұрын
@@OpenFOAMJozsefNagy Thank you for the response!
@nicolascg80534 жыл бұрын
Wonderful work
@leili81634 жыл бұрын
How do you share ubuntu's file with windows? I have to copy them when I want to check them in windows GUI.
@Hari21003 жыл бұрын
With Windows, you can enable/use WSL and then can share the files between windows and Linux quickly. I do this regularly.
@maxwellutter38854 жыл бұрын
What file extension arises after using cfMesh? Is it a .msh file?
@OpenFOAMJozsefNagy4 жыл бұрын
OpenFOAM mesh in constant/polyMesh
@lizayain Жыл бұрын
Why i cant do the surfaceFeatureEdges Combined.stl Combined.fms? The error is command not found. Can anyone help?
@OpenFOAMJozsefNagy Жыл бұрын
Maybe you use the .org version. Please use .com for compatibility.
@jpk85883 жыл бұрын
the "touch open.foam" is skipped so briefly it is hard to follow. I just get an empty file
@OpenFOAMJozsefNagy3 жыл бұрын
It is just an empty text file. The ending .foam i important for Paraview.
@Anna-hd2eg Жыл бұрын
When I'm trying this i always get "surfaceFeatureEdges command not found". Why? :C
@OpenFOAMJozsefNagy Жыл бұрын
Possibly you are using .org version and not .com
@Anna-hd2eg Жыл бұрын
@@OpenFOAMJozsefNagy Thank you very much, that helped a lot!
@lizayain Жыл бұрын
@@OpenFOAMJozsefNagy then can i just skip the surfaceFeatureEdges command?
@yem.t.39304 жыл бұрын
Thank you very much Sir!
@oneuniverse66794 жыл бұрын
Why did you changed the file from stl to fms?
@OpenFOAMJozsefNagy4 жыл бұрын
Better input quality. It is optional.
@BobBeatski714 жыл бұрын
👍 Great stuff. Have a model that SHM cannot mesh because I 'only have' a combined 200GB of RAM.
@OpenFOAMJozsefNagy4 жыл бұрын
:D Not bad. Hopefully cfMesh can handle it.
@vaibhavvb98986 ай бұрын
I know this is a very old comment. But I guess your background mesh in SHM is too fine and you use refinement levels upto 4 on that background mesh.
@BobBeatski716 ай бұрын
@@vaibhavvb9898 Yeah. The problem was a large metal enclosure with lots of small circuit boards attached to the front panel. Airflow for the enclosure was around the port on the front panel, some being only 0.5mm if I remember correctly.
@dmytrosky4 жыл бұрын
Thanks!!!! 👍
@zainabmohammad85604 жыл бұрын
Thank you a lot
@Lilian135504 жыл бұрын
cfmesh rocks! I'll never believe SHM is better, and the ones saying this are just bragging dandies. (I'm kidding obviously :D) However, I do believe SHM has a better layer addition tool (for who wants to invest the time), compared to the free version of cfmesh atleast which is not too controlable. I discussed with a guy using cfmesh for the core mesh, and snappy for the layers. Everything is possible haha. I think what is missing out there is a HEXA BLOCK type open-source mesher, ICEM-like. (not blockmesh).
@zorro9838 Жыл бұрын
What is your opinion about Salome ?
@samidam73283 жыл бұрын
Hey Mr Jozsef Nagy, Thank you for the amazing tutorial. I have an issue with combining the stl files. I have attached the link to files here : drive.google.com/drive/folders/1Q-NOoOtFV2ui9Jc7u8rK279wVzxE4wIP?usp=sharing I would really appreciate if you could help. Thanks in advance
@OpenFOAMJozsefNagy3 жыл бұрын
Yes, your files are in binary. Check the checkbox in blender for "ASCII" while exporting the STLs and it should work.
@samidam73283 жыл бұрын
@@OpenFOAMJozsefNagy Thanks!! it worked
@peterparrish78902 жыл бұрын
what did you want to render that was not family friendly? LAMO
@OpenFOAMJozsefNagy2 жыл бұрын
I don't remember, but I think it was a werewolf or something like that.
@peterparrish78902 жыл бұрын
@@OpenFOAMJozsefNagy ah ok👌 my imagination went wild for a minute. Love your videos!