Fem constraint contact

About the development of the FEM module/workbench.

Moderator: bernd

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

Fem constraint contact

Postby makkemal » Thu May 12, 2016 10:43 am

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 4390 times
ickby
Posts: 2922
Joined: Wed Oct 05, 2011 7:36 am

Re: Fem constraint contact

Postby ickby » Thu May 12, 2016 10:47 am

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

Postby makkemal » Thu May 12, 2016 10:58 am

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
Posts: 2922
Joined: Wed Oct 05, 2011 7:36 am

Re: Fem constraint contact

Postby ickby » Thu May 12, 2016 11:01 am

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
Posts: 8414
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Fem constraint contact

Postby bernd » Thu May 12, 2016 12:06 pm

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
Posts: 8414
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Fem constraint contact

Postby bernd » Thu May 12, 2016 12:10 pm

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
Posts: 2922
Joined: Wed Oct 05, 2011 7:36 am

Re: Fem constraint contact

Postby ickby » Thu May 12, 2016 12:15 pm

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
Posts: 8414
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Fem constraint contact

Postby bernd » Thu May 12, 2016 12:20 pm

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
vejmarie
Posts: 551
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: Fem constraint contact

Postby vejmarie » Thu May 12, 2016 12:36 pm

@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

Postby makkemal » Thu May 12, 2016 4:10 pm

@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 4328 times
Attachments
contact_example.FCStd
(31.84 KiB) Downloaded 156 times
Last edited by makkemal on Thu May 12, 2016 4:51 pm, edited 1 time in total.