preprocessing and mesh for openfoam

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
julieng
Posts: 106
Joined: Sun Nov 25, 2018 8:57 pm

preprocessing and mesh for openfoam

Post by julieng »

Hello,

Is there a simple solution to preprocess cases for Openfoam (mesh with Freecad and patches inlet outlet walls)?

I watched some tutorial of Salome allowing to do this but not really with FreeCAD.

I try to preprocess a case with cfdOF and use the polyMesh folder created in Openfoam but it seems to be not easy because of the name of patches.

Any ideas?

Best regards
thschrader
Veteran
Posts: 3156
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: preprocessing and mesh for openfoam

Post by thschrader »

julieng wrote: Sun Dec 23, 2018 11:00 pm Hello,
Is there a simple solution to preprocess cases for Openfoam (mesh with Freecad and patches inlet outlet walls)?
Yes, use the cfdof-wb... :lol:
Can you explain what you want to do with the polymesh-folder?
I do not understand what you mean.
julieng
Posts: 106
Joined: Sun Nov 25, 2018 8:57 pm

Re: preprocessing and mesh for openfoam

Post by julieng »

Hello,

I want to use some other solvers of openfoam for example for the heat transfer. cfdOF maybe can help me to preprocess cases (geometry and mesh)

In any case, Salome do the job

Best regards
thschrader
Veteran
Posts: 3156
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: preprocessing and mesh for openfoam

Post by thschrader »

julieng wrote: Tue Dec 25, 2018 3:57 pm I want to use some other solvers of openfoam for example for the heat transfer.
You can define the case with FC-cfdof (geometry, mesh, patches), write the case files
and edit the files (dont close the cfdof GUI). Then run solver.
I mean like this (see picture with the moving inlets):
https://forum.freecadweb.org/viewtopic. ... 6&start=20
User avatar
oliveroxtoby
Posts: 837
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: preprocessing and mesh for openfoam

Post by oliveroxtoby »

julieng wrote: Sun Dec 23, 2018 11:00 pm
I try to preprocess a case with cfdOF and use the polyMesh folder created in Openfoam but it seems to be not easy because of the name of patches.
Best to write the mesh and then also write the case for the solver. Part of the solver setup script that is produced is to rename the raw patches according the names of the boundary conditions.
Please provide all the information requested in this post before reporting problems with CfdOF.
Post Reply