Fluid volume extraction for CFD simulation

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
CFD-ROC
Posts: 9
Joined: Fri Jul 08, 2022 4:02 pm

Fluid volume extraction for CFD simulation

Post by CFD-ROC »

Hello all,
I would like to know from the Community, what is your best-practice proceeding and Software (preferably opensource) to extract the fluid volume of complex CAD geometries (valves for example) as part of the pre-processing activities for OpenFOAM CFD simulation? For rather simple geometries FreeCAD (boolean operations) seems to do the job quite well.

Thanks!
User avatar
NewJoker
Veteran
Posts: 3082
Joined: Sun Oct 11, 2020 7:49 pm

Re: Fluid volume extraction for CFD simulation

Post by NewJoker »

Boolean operations in FreeCAD and snappyHexMesh utility included in OpenFOAM are usually sufficient but Salome_Meca may help in more complex cases: https://www.youtube.com/watch?v=XkzQoCLW-MI
CFD-ROC
Posts: 9
Joined: Fri Jul 08, 2022 4:02 pm

Re: Fluid volume extraction for CFD simulation

Post by CFD-ROC »

Thanks @NewJoker

Is there any good Tutorial available for the snappyHexMeah utility to do this job?
User avatar
NewJoker
Veteran
Posts: 3082
Joined: Sun Oct 11, 2020 7:49 pm

Re: Fluid volume extraction for CFD simulation

Post by NewJoker »

CFD-ROC wrote: Tue Dec 27, 2022 2:35 pm Is there any good Tutorial available for the snappyHexMeah utility to do this job?
snappyHexMesh is largely automated and supported in CfdOF. The most important part is specifying the coordinates of the point inside the fluid domain so that the tool knows which volume should be meshed. Here you can learn more about the operation of this utility: https://www.openfoam.com/documentation/ ... sh-utility
CFD-ROC
Posts: 9
Joined: Fri Jul 08, 2022 4:02 pm

Re: Fluid volume extraction for CFD simulation

Post by CFD-ROC »

Thank you!
Post Reply