beam analysis with beams in z-direction

About the development of the FEM module/workbench.

Moderator: bernd

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

Re: beam analysis with beams in z-direction

Post by bernd »

Did another rebase on latest master https://github.com/berndhahnebach/FreeC ... s/fembeams
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: beam analysis with beams in z-direction

Post by bernd »

did some development on https://github.com/berndhahnebach/FreeC ... e/fembeams Attached the file to test. Change the rotation in the rotational object and all beam rotations will change.

cubeBeamTest_R1_single_bhb1.FCStd
(116.63 KiB) Downloaded 83 times


Screenshot_20180115_222635.png
Screenshot_20180115_222635.png (53.49 KiB) Viewed 2955 times
Screenshot_20180115_224724.png
Screenshot_20180115_224724.png (71.05 KiB) Viewed 2955 times
Screenshot_20180115_224752.png
Screenshot_20180115_224752.png (73.11 KiB) Viewed 2955 times
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: beam analysis with beams in z-direction

Post by bernd »

beam analysis including beams in z-direction does run :-) We will hopefully can integrate this still in 0.17, since it fixes an very very old limitation in beam analysis :-) I just need to prepare the PR.

https://github.com/berndhahnebach/FreeC ... s/fembeams

@FEMuser:
I do not have an email from you. In your git commit was not the email of your github account. Thus if you click in https://github.com/berndhahnebach/FreeC ... s/fembeams on your name github can not assign your account. It would be cool if you could provide the email of your github. Try to click on the names in https://github.com/FreeCAD/FreeCAD/commits/master it will show the commits of this user, but only if the email is the right one in the commit. You can sent it by email.

Hope the little one is fine :)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: beam analysis with beams in z-direction

Post by bernd »

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

Re: beam analysis with beams in z-direction

Post by makkemal »

I just tried the beam cube above posted by Bernd in the latest master.

When writing out the INP I get the following error.

Code: Select all

raceback (most recent call last):
  File "C:\Freecad\Freecad_compile\Mod\Fem\PyGui\_ViewProviderFemSolverCalculix.py", line 262, in write_input_file_handler
    fea.set_analysis_type(self.solver_object.AnalysisType)
AttributeError: 'FemToolsCcx' object has no attribute 'set_analysis_type'
Tried to insert standard and new experimental solver object and got even more errors
Any Idea what changed ?

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

Re: beam analysis with beams in z-direction

Post by bernd »

this dev was removed from ccx tools with git commit 88051e01 I do not know why you get this message. May be you have mixed modules in your Mod folder. Use latest master, or at least try to clean the FEM build dir and rebuild.

BTW: recreated the example and found another small problem. See https://github.com/FreeCAD/FreeCAD/pull/1311 commit https://github.com/FreeCAD/FreeCAD/pull ... 52f25102fb


cubeBeamTest_R1_single_bhb2.FCStd
(101.86 KiB) Downloaded 81 times
fandaL
Posts: 440
Joined: Thu Jul 24, 2014 8:29 am

Re: beam analysis with beams in z-direction

Post by fandaL »

I had a trouble with beam orientation formatting in inp file - see this post https://forum.freecadweb.org/viewtopic. ... 93#p396715

It is written here: https://github.com/FreeCAD/FreeCAD/blob ... r.py#L1736
and again for other cross sections few lines below.
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: beam analysis with beams in z-direction

Post by saso »

Use beam elements to create a simple cantilever beam in Code_Aster and Salome_Meca
https://www.youtube.com/watch?v=Cx6mGyJH1Ms
https://www.code-aster.org/V2/doc/defau ... .42.01.pdf

Define a Custom Profile for Beam Elements in Code_Aster
https://www.youtube.com/watch?v=uZBcvgoby54

Define and Visualize Element Local Axes for 1D Elements in Code_Aster and ParaView
https://www.youtube.com/watch?v=FUiFjAtCyX0
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: beam analysis with beams in z-direction

Post by bernd »

wrong main beam axis has been fixed with git commit e197c3ab9f5

related topic: https://forum.freecadweb.org/viewtopic.php?f=18&t=16044
User avatar
FemUser
Posts: 134
Joined: Wed Aug 23, 2017 6:45 pm

Re: beam analysis with beams in z-direction

Post by FemUser »

Hi Bernd

I was quite a ride, my first one. A lot of work. I am back. But for now I am taking my time learning Calculix and it's Cards. You have done a very good job, for I could used your integration for a Thermal problem without much difficulties.
Post Reply