Fem constraint contact

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Fem constraint contact

Post by makkemal »

We have contact analysis working in caluclix :D
Now if @Icky can submit the VTK to the main branch I can show only this part in a branch
contact.png
contact.png (414.33 KiB) Viewed 7794 times
ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: Fem constraint contact

Post by ickby »

Nice Work! How does it work, two individual unrelated meshes just defined to be in contact? I would e highly interested in some more detaills!
Now if @Icky can submit the VTK to the main branch I can show only this part in a branch
There is a lot of stuff going on currently regarding FEM and VTK in the occ7/SMESH7 dicussion. Maybe it is a good idea to merge in the current vtk code and overhaul it when the occ7 stuff is merged, as thi scould take a while.
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Fem constraint contact

Post by makkemal »

There is a lot of stuff going on currently regarding FEM and VTK in the occ7/SMESH7 dicussion. Maybe it is a good idea to merge in the current vtk code and overhaul it when the occ7 stuff is merged, as thi scould take a while.
Please do
We have been using VTK as standard for about 3 months now, a few bugs but very useable
ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: Fem constraint contact

Post by ickby »

makkemal wrote: We have been using VTK as standard for about 3 months now, a few bugs but very useable
Uhh nice :) I will rebase it on master over the next days and make a pull request. The internal structure will change later for sure, and maybe files become not backward compatibel, but I think this should not be such a big issue as this will happen all inside the next release cycle.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Fem constraint contact

Post by bernd »

ickby wrote: I will rebase it on master over the next days and make a pull request. The internal structure will change later for sure, and maybe files become not backward compatibel, but I think this should not be such a big issue as this will happen all inside the next release cycle.
Hi stefan, I have some heavy changes in python code of FEM I'd like to make a PullRequest too soon. It is about the support of multiple solver for FEM module. I separated all calculix related code from FEM base code. See my development branch https://github.com/berndhahnebach/FreeC ... 88analysis What would be best order in PullRequest?
Last edited by bernd on Thu May 12, 2016 12:18 pm, edited 1 time in total.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Fem constraint contact

Post by bernd »

ickby wrote:Nice Work! How does it work, two individual unrelated meshes just defined to be in contact? I would e highly interested in some more detaills!
+1 I'm curious how you guys did the implementation.
ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: Fem constraint contact

Post by ickby »

Hello Bernd,

My code does actually touch only very few FEM workbench files, it mostly adds new ones. So there should be very little conflict between our work, maybe some small conflicts in the CMakeFile.txt, Init.py... but this should be fairly easy to resolve as I only changed little in those files. I'm totally OK with your work being merged before mine, I will make the nesseccary changes to my code than afterwards.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Fem constraint contact

Post by bernd »

ickby wrote:My code does actually touch only very few FEM workbench files, it mostly adds new ones. So there should be very little conflict between our work, maybe some small conflicts in the CMakeFile.txt, Init.py... but this should be fairly easy to resolve as I only changed little in those files. I'm totally OK with your work being merged before mine, I will make the nesseccary changes to my code than afterwards.
Hi Stefan, thanks for the fast reply. It is what I assumed, but I wanted to be sure ...

Wow we saw lot of development for FEM in 0.16 and we will see even much more in 0.17 :D :D
User avatar
vejmarie
Posts: 713
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: Fem constraint contact

Post by vejmarie »

@makkemal this is really really great, and what I need ! Hopefully we can bring this to master pretty soon I hope ;)
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Fem constraint contact

Post by makkemal »

@vejmarie
compile this tree
https://github.com/makkemal/FreeCAD/tree/rtd_hindlemp
example attached

@bernd don't look at the code or how the commits are staged :twisted:
Contact.PNG
Contact.PNG (319.23 KiB) Viewed 7732 times
Attachments
contact_example.FCStd
(31.84 KiB) Downloaded 346 times
Last edited by makkemal on Thu May 12, 2016 4:51 pm, edited 1 time in total.
Post Reply