Flow testing simulation in FreeCad?

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
JL_Racing
Posts: 3
Joined: Fri Mar 03, 2023 11:12 am

Flow testing simulation in FreeCad?

Post by JL_Racing »

Does anyone know how to flow bench simulation in freecaad? I'm building cylinder heads for my personal use and I'm planning to simulate flows on my cylinder heads, anyone know how to? Thanks.
Attachments
Screenshot 2023-03-03 191040.png
Screenshot 2023-03-03 191040.png (30.36 KiB) Viewed 1193 times
Screenshot 2023-03-03 191027.png
Screenshot 2023-03-03 191027.png (50.86 KiB) Viewed 1193 times
Screenshot 2023-03-03 190928.png
Screenshot 2023-03-03 190928.png (42.9 KiB) Viewed 1193 times
Screenshot 2023-03-03 190856.png
Screenshot 2023-03-03 190856.png (34.22 KiB) Viewed 1193 times
Syres
Veteran
Posts: 2900
Joined: Thu Aug 09, 2018 11:14 am

Re: Flow testing simulation in FreeCad?

Post by Syres »

It's done using an external workbench CfdOF along with it's dependencies, it's not a 2 minute job to get working. There's a dedicated subforum for CFD.
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Flow testing simulation in FreeCad?

Post by chrisb »

Moved from Open discussion.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NewJoker
Veteran
Posts: 3082
Joined: Sun Oct 11, 2020 7:49 pm

Re: Flow testing simulation in FreeCad?

Post by NewJoker »

Here you can find some tutorials for the CfdOF workbench:

https://youtu.be/OS4sbbBtZUw
https://youtu.be/JVO2kqO3D1Q

Ask here if you encounter any issues: viewforum.php?f=37
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Flow testing simulation in FreeCad?

Post by thschrader »

JL_Racing wrote: Fri Mar 03, 2023 11:15 am Does anyone know how to flow bench simulation in freecaad? I'm building cylinder heads for my personal use and I'm planning to simulate flows on my cylinder heads, anyone know how to? Thanks.
There are 2 CFD-Solvers for fluid-mechanics available in FreeCAD:
openFOAM (via cfdof-workbench) and Elmer-multiphysics (via FEM-workbench)

Some time ago there was a discussion in the german forum about optimizing an inlet-manifold
for an engine. This was really hard stuff.
viewtopic.php?t=29286&hilit=kolben&start=70

Some hints:
You must mesh a fluid domain, that means the inner part of your body where is nothing.
The construction of an "inverted" body is necessary.
Simulating the moving parts (piston) is possible, but not via the FC-GUI.
viewtopic.php?t=76425

For a realistic simulation you need an appropriate fine mesh, you are in the range of some mio cells.
Computing power is needed.
But lets give it a try...
JL_Racing
Posts: 3
Joined: Fri Mar 03, 2023 11:12 am

Re: Flow testing simulation in FreeCad?

Post by JL_Racing »

Hello, I'm problems with cfdof dunno why and it won't run.
JL_Racing
Posts: 3
Joined: Fri Mar 03, 2023 11:12 am

Re: Flow testing simulation in FreeCad?

Post by JL_Racing »

It has been hours and my back has been killing me :D
User avatar
adrianinsaval
Veteran
Posts: 5551
Joined: Thu Apr 05, 2018 5:15 pm

Re: Flow testing simulation in FreeCad?

Post by adrianinsaval »

ok let me check my crystal ball to see what problem you have...
...
it is impossible to give you any advice if you don't give any details
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Flow testing simulation in FreeCad?

Post by thschrader »

adrianinsaval wrote: Tue Mar 07, 2023 1:29 pm ok let me check my crystal ball to see what problem you have...
...
it is impossible to give you any advice if you don't give any details
nobodycanlookintothefuture.JPG
nobodycanlookintothefuture.JPG (34.18 KiB) Viewed 854 times
Post Reply