Help on using Elmer for CFD

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
pironman
Posts: 14
Joined: Tue Apr 10, 2018 4:18 pm

Help on using Elmer for CFD

Post by pironman »

OS: Ubuntu 20.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18 (AppImage)
Python version: 3.8.5
Qt version: 5.12.8
Locale: Italian
Elmer compiled from source

I would like to create a CFD analysis using Elmer solver in freecad.
I create a simple geometry just to check if I can work with it.
So I start FEM workbench, create Elmer solver and add Flow equation, add Air as material, add flow boundary (just a question, why cannot I set turbolence parameter?).
The first problem come while meshing using gmsh, it give me tha warning

Code: Select all

Unknown element type for UNV export (MSH type 15)
. But I can see the mesh and look fine, so I try to continue with the analysis.
When running the solver it give me:

Code: Select all

Warning: Ignored constraint out.
Warning: Ignored constraint in.
So I think these are the wrong constraint to use. I delete it, and apply "constraintFlowVelocity" in the inlet.
I set also "constraintInitialFlowVelocity", because the manual say that is good practice to do it.
Nothing in the outlet.
If I run this analysis, it continue to run without stopping.
So I add again flow boundary as outlet and wall, but as before the solver ignore these constraint.

How can I run this simulation? I search online, but I cannot found tutorial.

Thanks
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Help on using Elmer for CFD

Post by Kunda1 »

Moved to CfdOF/CFD subforum.
OP, please install v0.19 for any FEM related operations. Also please read the FEM subforum recommendations in https://forum.freecadweb.org/viewtopic.php?f=18&t=12212
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
thschrader
Veteran
Posts: 3158
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Help on using Elmer for CFD

Post by thschrader »

As an Inspiration...
and now: weekend :)
curved_pipe.FCStd
(30.57 KiB) Downloaded 63 times
curved_pipe_tut.JPG
curved_pipe_tut.JPG (34.33 KiB) Viewed 796 times
Post Reply