Prescribed Displacement Testing and Advice

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:

Re: Prescribed Displacement Testing and Advice

Post by makkemal »

Hi all, sorry for the delay I got tied up doing my real job for the last month.
I am getting back to this now
The link :
phabricator for adding comments: http://pha.geofinder.eu/D27
Is not working currently ?

Thanks
Michael
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Prescribed Displacement Testing and Advice

Post by bernd »

phabricator is not yet official FreeCAD. It is installed on an rasperrypi at przemos home. Since he is on holidays right now phabricator is down until end of january beginn of february afaik.
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Prescribed Displacement Testing and Advice

Post by PrzemoF »

Sorry, I had to stop it. It will come back online, but please don't wait for it.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Prescribed Displacement Testing and Advice

Post by bernd »

PrzemoF wrote:Sorry, I had to stop it. It will come back online, but please don't wait for it.
What the hell are you doing in your holidays, reading FreeCAD forum ... :o :shock: Have a great time.

@makkemal: As przemo said we should get it into master ...

my branch https://github.com/berndhahnebach/FreeC ... ormation01 is quite outdated. It needs to rebased on master.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Prescribed Displacement Testing and Advice

Post by bernd »

rebased on current master ...

see branch:
https://github.com/berndhahnebach/FreeC ... ormation02

I realized an Coin warning.

Code: Select all

Coin warning in SoGLLineWidthElement::updategl(): 20.000000 is outside the legal range of [1.000000, 5.000000] for this OpenGL implementation's glLineWidth() settings. It was now clamped.

See the documentation of SoGLLineWidthElement for information on how the application programmer should acquire the boundary values for the legal range.
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Prescribed Displacement Testing and Advice

Post by makkemal »

Thanks bernd
Just rebasing that would have taken me a long time on github.
I will try to fix the error and split the files.
Most of the required changes I remember

Prezmo als had a problem with my class "Part::FeaturePython" what should it be ?
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Prescribed Displacement Testing and Advice

Post by bernd »

makkemal wrote: I will try to fix the error and split the files.
Most of the required changes I remember

Prezmo als had a problem with my class "Part::FeaturePython" what should it be ?
Yeah splitting the files would be helpful if you would do it. See BeamSection or ShellThickness or MechanicalMaterial as examples. Ahh see CMakeLists.txt for the file names off the splitted files etc ...

The other FemPython objects are App::FeaturePython but they do not display anything. Mhh I would leave it for now.
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Prescribed Displacement Testing and Advice

Post by makkemal »

I got this done.

FEM: Prescribed displacement boundary condition for FEA analysis #77
https://github.com/FreeCAD/FreeCAD/pull/77/files

Regards
Michael

[img]pipeT.png[/img]
Attachments
Prescribed_python.zip
(6.81 KiB) Downloaded 56 times
pipeT.FCStd
(1005.96 KiB) Downloaded 50 times
pipeT.png
pipeT.png (168.78 KiB) Viewed 2374 times
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Prescribed Displacement Testing and Advice

Post by bernd »

Since you are able to compile FreeCAD now (see VTK thread) the only thing we need to tackle down is git.. We should start right away … :) If you would like to ?

What do you have problems with in git? We could go step by step. Most important questitions are:

Are you able to upgrade your github repo and your local git repo with official FreeCAD github repo ?

Are you able to fetch a remote branch (lets say my https://github.com/berndhahnebach/FreeC ... ormation02) and create a new branch in your local git repo from this and push this branch to your github repo ?


BTW: I have done some review and additional coding on the prescribed desplacement but I'm not finished yet.
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Prescribed Displacement Testing and Advice

Post by makkemal »

Thanks Bernd
I am slowly getting to grips with all of this.
I even got this version onto Git :o

https://github.com/FreeCAD/FreeCAD/pull/77/files

By just using Ubuntu the compiling side was easier than it was when I was trying on windows.
The only trick that is not in the "Compile instruction" is installing the latest version of netgen to get the meshing compiled.

Let me know what you think of the code, but am am progressing.

Regards
Michael
Post Reply