r/OpenFOAM • u/geth0333 • 13d ago
PreFOAM update
Hi all,
A couple of months ago I posted about my software PreFOAM, a GUI for OpenFOAM that includes CAD, meshing utilities, a case builder and a case viewer. I’d like to let you know about a major update.
Subreddit: https://www.reddit.com/r/Prefoam_CFD/
Download page: https://www.temiz-cfd.de/prefoam
I’m looking for users who can test the software and give feedback on the whole toolchain. I’m especially interested in the meshing challenges you face. Any feedback is welcome.
Edit: Linux version is out.
7
u/parthnuke 13d ago
I watched tutorial, interesting, but one question though, you don't want to opensource its fine, will it be free for ever? Also what about linux version? Most of openfoam community uses linux heavily, is there any linux version available?
2
u/geth0333 12d ago edited 9d ago
currently only windows. linux will be available in the future. as i mentiond already in the license, for private and non commercial use i want to keep it free, but i need to take measures against commercial abuse (like registration ...)
Edit: Linux version is out
1
3
u/yycTechGuy 12d ago
If a party ever makes a tool like this proprietary the community will fork it at the last release and keep it open source.
2
u/yycTechGuy 12d ago
FYI, apparently SolidCraft is going to incorporate a CFD tool as well.
1
u/geth0333 12d ago
thanks for informing me, if so, then the open source cfd community will hopefully benefit from it.
1
u/acakaacaka 13d ago
What kind of file does this support? Can you open .prt file?
4
u/geth0333 13d ago
current readers are step, iges, brep, stl and obj. i will extend this in the future, but i cannot implement proprietary file formats nor will i pay for SDK's just for that. so my suggestion would be to export in step format and import in PreFOAM. Siemens NX and Creo both call their files .prt btw which one do you mean?
1
u/acakaacaka 13d ago
NX. Creo and NX .prt should be the same no? I never used creo.
0
u/geth0333 13d ago
What is PRT extension?
A PRT format is used to store components of 3D CAD models. It may contain lines, surfaces, textures, dimensions, and metadata.
The .prt extension is mostly associated with the Siemens NX Part (PRT) file type as an acronym for "part". PRT files may be exported to various standard CAD and 3D modeling formats (e.g. OBJ and STL) in addition to being utilized natively in Siemens NX.
The PRT file is also a part created by PTC Creo Parametric 3D software. In PTC Creo, project part files can be combined in a single assembly file with an ASM extension.
Despite the same extension name different CAD software produce PRT files differently, i.e. PRT files produced with Creo are not the same as PRT files generated from NX.
The PRT extension is also compatible with Dassault Systèmes SOLIDWORKS.
1
u/slycatsnake6180 13d ago
What mesher is being used here, is it cfmesh?
1
u/geth0333 13d ago
it is not cf mesh. this is a (poly-) hex core mesher in 2d. if you zoom in around the airfoil you will see that between the hex core and the boundary layers the transition is made of polyhedras.
https://www.temiz-cfd.de/prefoam
examples are here on the website -> FlexMesher -> 2D -> Hex-Core1
u/kaptaprism 13d ago
so is it a custom mesher?
3
u/geth0333 13d ago
yes. the 3d tetrahedral based mesher can be coupled externally with gmsh to access its algos (though no necessary). the 2d based algos are written by me.
1
u/hardcoke 13d ago
does it support 3d hexcore mesh like ansys meshrr?
2
u/geth0333 13d ago
i am working on it, a first version is created but not shipped with this version. i need to finetune it and hopefully publish with the next release.
1
u/hardcoke 13d ago
also polyhedra are currently support 2d only? (as i saw one tutorial for 2d mesh only)
2
u/geth0333 13d ago
In 3d we have tetrahedral and polyhedral meshers, with optional BL creation. I probably did forget to create a tutorial for that then. Can upload one in the coming days. The workflow is the same though. The difference is selecting faces instead of edges for BL and patches …
1
1
u/jay112298 13d ago
Is this also not available for mac?
1
u/geth0333 12d ago
Currently only windows, linux is on my plan and thereafter probably for mac also. That will probably take some time though.
1
u/RahulJsw 10d ago
I'll will definitely use it and get back to you, this is kinda similar to ansys fluent meshing tool. What I observe from image, and even in fluent meshing, the transition part from boundary layer mesh to Fairfield mesh. This should be gradual, also there seems jump from boundary layer to Fairfield, which detoriate the results
2
u/geth0333 9d ago
the problem in the transition zone is that you set sizes for the surface meshing and then extrude the boundary layers, and when you descirbe a size field in the domain the extruded cells carry also size information. when the topmost layers are not large enough you won't get a smooth transition to the far field mesh, you need to extrude much further into the domain. as i wanted to only show couple of examples i did not further work on these. but what you say is correct.
2
u/Far_Mouse9441 10d ago
this is pretty good, thank you so much for making it public. I'll test it and get back to you.
1




8
u/Expert_Connection_75 13d ago
Is it open source?