Elmer Integration (GSoC) - Activity Log

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Posts: 8414
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Elmer Integration (GSoC) - Activity Log

Postby bernd » Sun Aug 26, 2018 8:53 pm

I have not used Elmer for a while ...

We have four eqution objects in the GUI:
- Elasticity
- Heat
- Electrostatic
- Fluxsolver

But on FreeCAD master in equations we gone have two objects more. How are they used by the GUI?
- linear
- nonlinear

https://github.com/FreeCAD/FreeCAD/tree ... /equations

@HoWil or m42kus:
Would you take me back on the right track in this regard?
m42kus
Posts: 159
Joined: Tue Sep 02, 2014 9:41 am

Re: Elmer Integration (GSoC) - Activity Log

Postby m42kus » Mon Aug 27, 2018 9:00 am

Hi bernd.

All elmer equation objects derive from one of those to classes. They contain properties common among linear/nonlinear equations. They are never directly used in the GUI.
My GSoC Devlog: ceeli.github.io/gsoc
User avatar
bernd
Posts: 8414
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Elmer Integration (GSoC) - Activity Log

Postby bernd » Mon Aug 27, 2018 11:58 am

m42kus wrote:
Mon Aug 27, 2018 9:00 am
All elmer equation objects derive from one of those to classes. They contain properties common among linear/nonlinear equations. They are never directly used in the GUI.
thanks for the fast anwer Markus. Sure :o I remeber ... I should have read the code before writing the post ... See https://github.com/FreeCAD/FreeCAD/blob ... ity.py#L39 or https://github.com/FreeCAD/FreeCAD/blob ... eat.py#L39

I may make a comment somewhere in the code about this. Just to be sure I'm not asking again in a few month :lol: :mrgreen:
User avatar
bernd
Posts: 8414
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Elmer Integration (GSoC) - Activity Log

Postby bernd » Mon Aug 27, 2018 12:09 pm

m42kus wrote:
Mon Aug 27, 2018 9:00 am
All elmer equation objects derive from one of those to classes. They contain properties common among linear/nonlinear equations. They are never directly used in the GUI.
But than the should not have a ViewProvider! See https://github.com/FreeCAD/FreeCAD/blob ... #L102-L103 and https://github.com/FreeCAD/FreeCAD/blob ... py#L58-L59 Or do we need the VP because the childs are used in the GUI.
m42kus
Posts: 159
Joined: Tue Sep 02, 2014 9:41 am

Re: Elmer Integration (GSoC) - Activity Log

Postby m42kus » Wed Aug 29, 2018 12:33 pm

bernd wrote:
Mon Aug 27, 2018 12:09 pm
But than the should not have a ViewProvider! See https://github.com/FreeCAD/FreeCAD/blob ... #L102-L103 and https://github.com/FreeCAD/FreeCAD/blob ... py#L58-L59 Or do we need the VP because the childs are used in the GUI.
No we don't need the view provider (at least not right now). I just wrote it because I always put proxys and view proxys togther in one py file. Also we might want to add something to it in the future. Feel free to remove it if you like, but make sure that the equation view objects derive from equation.ViewProxy at some point.
My GSoC Devlog: ceeli.github.io/gsoc
julieng
Posts: 40
Joined: Sun Nov 25, 2018 8:57 pm

Re: Elmer Integration (GSoC) - Activity Log

Postby julieng » Sat Dec 08, 2018 1:09 pm

Hello,

I have done some studies 3 years ago with Elmer on conjugate heat transfer problems including phase change solid/ liquid and induction heating.


I discover FreeCAD recently and I am very interested to be able to use Elmer via FreeCAD GUI.


I work with Windows 10, is it possible to have a recent step by step assistance to start a project with FreeCAD and running Elmersolver?
I am not able to find some basic tutorial.

For the moment I have designed simple 3D pipe, mesh it with gmsh but I have the error message that I have to use Elmergrid.
Do I need to export the mesh .unv and convert it with Elmergrid or is there a easier solution direct in FreeCAD.
Do I need to install Elmer and choose aim right directory... etc

Thank you for your answer

Best regards
Attachments
Elmer_Comsol_phasechange_summary.pdf
Elmer/ Comsol phase change
(868.78 KiB) Downloaded 22 times
User avatar
bernd
Posts: 8414
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Elmer Integration (GSoC) - Activity Log

Postby bernd » Sat Dec 08, 2018 3:51 pm

no no need to run elmergrid manually. Just make sure you use gmsh mesh. in preferences of elmer in FreeCAD FEM set binary to elmer and elmergrid ... see post https://forum.freecadweb.org/memberlist ... le&u=15166 and some other posts in this topic

Ahh there is an example on FreeCAD start wb, 3DFEM solver frame work
julieng
Posts: 40
Joined: Sun Nov 25, 2018 8:57 pm

Re: Elmer Integration (GSoC) - Activity Log

Postby julieng » Sun Dec 09, 2018 8:38 am

Thank you Bernd,


My next problem is that Elmer cannot find the material that I have assigned for the body.

"ERROR:: InitializeElementDescriptions: elements.def not found"

I ran a simple elasticity calculation. It works with Calculix but not with Elmer.
I have add the body selection in the sub node elasticity under SolverElmer node


Best regards
User avatar
bernd
Posts: 8414
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Elmer Integration (GSoC) - Activity Log

Postby bernd » Sun Dec 09, 2018 10:18 am

which FreeCAD version? Are you able to rerun the elmer example from StartWB?
User avatar
bernd
Posts: 8414
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Elmer Integration (GSoC) - Activity Log

Postby bernd » Sun Dec 09, 2018 10:18 am

would you post your FreeCAD file?