OpenSees, the Open System for Earthquake Engineering Simulation

About the development of the FEM module/workbench.

Moderator: bernd

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

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

Is there any example which can be tested with the opensees solver in FreeCAD which does run?
User avatar
ebrahim raeyat
Posts: 619
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by ebrahim raeyat »

bernd wrote: Thu Apr 23, 2020 7:38 am
Generally it would make sense to splitt different changes in different commits. For example one commit for the improvements in ccx writer and one commit for the move of the methods out of the writer. We would not have the trouble than just now.
thanks @bernd, I will try to do that in the future.
User avatar
ebrahim raeyat
Posts: 619
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by ebrahim raeyat »

bernd wrote: Sun Apr 26, 2020 7:34 pm Is there any example which can be tested with the opensees solver in FreeCAD which does run?
yes, this is 3D frame example with paraview output:
3Dframe.png
3Dframe.png (21.82 KiB) Viewed 2906 times
3DFrame.FCStd
(24.36 KiB) Downloaded 58 times
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

great. How about code it in Python add it to femexamples package, and make a small unit test out of it ?
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

ebrahim raeyat wrote: Tue Apr 21, 2020 10:00 pm @bernd, how can I distinguish between beam and column in my model? at this time I take it by their direction:

https://github.com/ebrahimraeyat/FreeCA ... nts.py#L40

but I think if we add a property to element1D for this, it is better. at present for taking to account PDelta or large deformation I need to know the type of element (beam, column or brace), some times we need linear transformation for beam and PDelta for column:

https://opensees.berkeley.edu/wiki/inde ... on_Command

beside that in the future for design such an element we need the type of that.
add a new object similar to _FemElementGeometry1D or _FemElementRotation1D. May be call it _FemElementStructure1D
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

a similar object could be done for choosing the FEM element type. _FemElementType. This is on my ToDo for years, but it would involve to do a lot of recoding in calculix mesh writer. This is the main reason it has not happened yet.


In there there could be some redefinition. For example a geometrical seg3 mesh element could be a finite truss element, a finite beam element, a finite beam element with reduced integration a finite fluid element etc.
User avatar
ebrahim raeyat
Posts: 619
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by ebrahim raeyat »

bernd wrote: Mon Apr 27, 2020 3:49 am great. How about code it in Python add it to femexamples package, and make a small unit test out of it ?
I will try that.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by bernd »

ebrahim raeyat wrote: Mon Apr 27, 2020 9:13 am
bernd wrote: Mon Apr 27, 2020 3:49 am great. How about code it in Python add it to femexamples package, and make a small unit test out of it ?
I will try that.
great, as mostly, femoofem is your friend ... https://github.com/berndhahnebach/FreeC ... 1bafb7666b and https://github.com/berndhahnebach/FreeC ... 794f4a7caf Depending on the mesh size I would do it in a separate module like the other examples do https://github.com/FreeCAD/FreeCAD/tree ... les/meshes But this example should have a small mesh too.
User avatar
ebrahim raeyat
Posts: 619
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by ebrahim raeyat »

thanks @bernd.
User avatar
ebrahim raeyat
Posts: 619
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: OpenSees, the Open System for Earthquake Engineering Simulation

Post by ebrahim raeyat »

@bernd, how can I take shear modulus of material? I add this value in material editor, but still material did not contain shear modulus property:
shear_modulus.png
shear_modulus.png (26.84 KiB) Viewed 2821 times
Post Reply