Elmer Solver - Constraint flow volocity

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
ziz
Posts: 2
Joined: Mon May 16, 2022 2:06 pm

Elmer Solver - Constraint flow volocity

Post by ziz »

Hello,

I'm trying to simulate an airfoil subjected to a parabolic inflow.
Is there a way to define an equation for the flow velocity constraint in Elmer Solver?

In the Freecad interface, anything other than a number is apparently not allowed
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: Elmer Solver - Constraint flow volocity

Post by NewJoker »

If you want to simulate the flow of air around an airfoil, try the CfdOF addon workbench. It's really powerful and well implemented.
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Elmer Solver - Constraint flow volocity

Post by thschrader »

ziz wrote: Mon May 16, 2022 2:17 pm I'm trying to simulate an airfoil subjected to a parabolic inflow.
Is there a way to define an equation for the flow velocity constraint in Elmer Solver?
You must edit the sif-file after case writing.
See Elmer Tutorial Nr. 19:
http://www.nic.funet.fi/index/elmer/doc ... orials.pdf
elmer_inlet.JPG
elmer_inlet.JPG (64.91 KiB) Viewed 1050 times
ziz
Posts: 2
Joined: Mon May 16, 2022 2:06 pm

Re: Elmer Solver - Constraint flow volocity

Post by ziz »

thschrader wrote: Tue May 17, 2022 7:16 am
ziz wrote: Mon May 16, 2022 2:17 pm I'm trying to simulate an airfoil subjected to a parabolic inflow.
Is there a way to define an equation for the flow velocity constraint in Elmer Solver?
You must edit the sif-file after case writing.
See Elmer Tutorial Nr. 19:
http://www.nic.funet.fi/index/elmer/doc ... orials.pdf
elmer_inlet.JPG
This is precisely what I needed. Thank you!
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Elmer Solver - Constraint flow volocity

Post by uwestoehr »

Hello @ziz , I just implemented direct support to enter equations to the velocity constraint dialog: https://wiki.freecad.org/FEM_Constraint ... y#Formulas

This feature will be available for the next major FreeCAD release but you can try it out right now if you are on Windows by using this installer:
https://github.com/FreeCAD/FreeCAD-Bund ... taller.exe
or next week with the next weekly builds for Linux and MacOS: https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds

Note: when you use a weekly build you must recreate existing flow velocity constraints.

In the https://wiki.freecad.org/FEM_Examples check the flow examples as they use this functionality.
Post Reply