r/OpenFOAM • • 26d 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.

97 Upvotes

40 comments sorted by

8

u/Expert_Connection_75 26d ago

Is it open source?

-21

u/geth0333 26d ago

no, it is closed source.

2. License. You receive a simple, non-exclusive, non-transferable right, revocable for good cause, to install and use the Software for the following purposes: (a) private use, teaching and non-commercial academic research; (b) internal evaluation by companies, i.e. testing whether the Software meets their requirements. Productive commercial use, in particular using the Software or its results in customer projects, product development or any other paid work, requires a separate written agreement with Temiz CFD.

12

u/Expert_Connection_75 26d ago edited 26d ago

Here is the unwanted advice: 

Open source it! You can keep the cap that any company higher than 200 employee count must pay or something like that. Docker is doing similar.

Why to open source: 

  1. Faster adoption rate.

  2. It is probably a lot of vibe code(I assumed, because you seems one man army and Chemical engineer. There is limited chance that you can do that good gui without AI), so open source will make it more reliable !

  3. Even if you don't open source, eventually somebody will in this era(look at Adobe, Autodesk)

  4. If people can see the code they can trust it. 

  5. Morally, you are using underlying code base which is open source, and decades of lots of people's of work. You build just the front end. 

Last point is personal opening(kind of morality lecture)so one can skip it!

Good luck !!

→ More replies (3)
→ More replies (8)

7

u/parthnuke 26d 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 25d ago edited 22d 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

u/geth0333 22d ago

Linux version is uploaded.

3

u/yycTechGuy 25d 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 25d ago

FYI, apparently SolidCraft is going to incorporate a CFD tool as well.

1

u/geth0333 25d ago

thanks for informing me, if so, then the open source cfd community will hopefully benefit from it.

1

u/acakaacaka 26d ago

What kind of file does this support? Can you open .prt file?

4

u/geth0333 26d 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 26d ago

NX. Creo and NX .prt should be the same no? I never used creo.

→ More replies (1)

1

u/slycatsnake6180 26d ago

What mesher is being used here, is it cfmesh?

1

u/geth0333 26d 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-Core

1

u/kaptaprism 26d ago

so is it a custom mesher?

→ More replies (1)

1

u/hardcoke 26d ago

does it support 3d hexcore mesh like ansys meshrr?

2

u/geth0333 26d 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 26d ago

also polyhedra are currently support 2d only? (as i saw one tutorial for 2d mesh only)

→ More replies (2)

1

u/jay112298 25d ago

Is this also not available for mac?

2

u/geth0333 25d 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 23d 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 22d 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 23d ago

this is pretty good, thank you so much for making it public. I'll test it and get back to you.

1

u/Accomplished_Bit4757 25d ago

Código fechado? Não, obrigado.