Implementing a new FEM solver (MoFEM)

About the development of the FEM module/workbench.

Moderator: bernd

Helios113
Posts: 27
Joined: Mon Jun 07, 2021 7:30 pm

Re: Implementing a new FEM solver (MoFEM)

Post by Helios113 »

Hi,

MoFEM can handle higher order geometry if it is created by cubit. For gmsh meshes it currently only handles 1st order geometry. Before I PR the modules officially it will work with higher order geometry.

Regards,
Preslav
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Implementing a new FEM solver (MoFEM)

Post by bernd »

Ahh good to know.

BTW: if you add a new files to the source code, you can put yourself into the copyright on modules copyright.
Helios113
Posts: 27
Joined: Mon Jun 07, 2021 7:30 pm

Re: Implementing a new FEM solver (MoFEM)

Post by Helios113 »

Yeah, I haven’t sorted that out just yet. I’ve been playing with the code primarily :mrgreen: .
Gimbal
Posts: 8
Joined: Mon Jan 25, 2021 9:01 am

Re: Implementing a new FEM solver (MoFEM)

Post by Gimbal »

This sounds great and I just want to say that I'm following this thread closely.
Keep up the good work!
aerospaceweeb
Posts: 118
Joined: Fri Apr 09, 2021 3:26 am

Re: Implementing a new FEM solver (MoFEM)

Post by aerospaceweeb »

Following this thread. MoFEM seems promising.

Seeing you putting in work to add MoFEM to FreeCAD gives me hope that it may not be as daunting as I had feared.

I work with the Mystran project. Any chance you'd be willing to collaborate? We've made some strides in private and I feel we may be able to assist eachother.

EDIT_01: We have several fully supported shell elements, NAFEMS compliant bar elements with unit checks against MSC nastran, and our source code is extremely easy to rip stuff out of and understand. You can find our corner of the Elmer discord server, here. https://discord.gg/6eUpWD76

EDIT_02: Here's our github: https://github.com/dr-bill-c/MYSTRAN and here's our home https://mystran.com/
Helios113
Posts: 27
Joined: Mon Jun 07, 2021 7:30 pm

Re: Implementing a new FEM solver (MoFEM)

Post by Helios113 »

Hello there,

Implementing a solver can be as simple or as difficult as you want due to the great flexibility FreeCAD offers.

I'm happy to collaborate and share some of my know-how.

Regards
Helios113
Posts: 27
Joined: Mon Jun 07, 2021 7:30 pm

Re: Implementing a new FEM solver (MoFEM)

Post by Helios113 »

Hello,

A question for more experienced developers.

How can I save a user's settings? I am working on a UI element which will allow a user to read a config file and edit it.
On reloading the project, I want the previously used configuration file to be loaded automatically.

So once a file path selected from the GUI I need to save it somewhere. In my head this will not be part of the preferences menu but will be part of a boundary condition in the FEM module.

I haven't coded up anything yet, just thinking how this can be done.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Implementing a new FEM solver (MoFEM)

Post by Kunda1 »

We usually save setting in the user config files
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
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Implementing a new FEM solver (MoFEM)

Post by saso »

UKACM Autumn School 2023
https://www.youtube.com/playlist?list=P ... wh9S-yXJpt

UKACM School 2021
https://www.youtube.com/playlist?list=P ... O_o6pGXdN2

MoFEM An open source, parallel finite element library
http://mofem.eng.gla.ac.uk/
Post Reply