Concrete branch ready for testing

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
saso
Posts: 1586
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Concrete branch ready for testing

Postby saso » Fri May 22, 2020 11:38 am

Tutorial for Code_Aster and Salome_Meca on how to calculate the reinforcement densities for shell elements using the command CALC_FERRAILLAGE
https://www.youtube.com/watch?v=wo5SJwPJCfU
https://www.code-aster.org/V2/doc/defau ... 03.146.pdf
https://www.code-aster.org/V2/doc/defau ... .81.42.pdf

Calculate the Number of Reinforcement Bars with Code_Aster
https://www.youtube.com/watch?v=w0yZkul2tvg
User avatar
bernd
Posts: 10976
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Concrete branch ready for testing

Postby bernd » Tue Jun 30, 2020 1:12 pm

HarryvL wrote: :bell:

HarryvL wrote:
Sun Mar 24, 2019 12:08 pm
The only source of confusion is export to VTK of both PS1vector, PS2vector and PS3vector as well as "Major Principal Stress", "Intermediate Principal Stress" and "Minor Principal Stress".

My preference would be to only export the 3 vectors and call them "Major Principal Stress", "Intermediate Principal Stress" and "Minor Principal Stress".
was done with git commit 09e3ddb387b1 But has a problem. If no reinforced material is used PS1Vector etc are empty in result obj. and thus not principal stress is exported to VTK and to VTK pipeline. Reported here https://forum.freecadweb.org/viewtopic. ... 01#p412754

Should we revert the commit?

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

Re: Concrete branch ready for testing

Postby bernd » Tue Jul 14, 2020 6:12 am

For some reason there are two attributes in result object to save principal stresses. The reinforced principal stresses are saved in PS1Vector, PS2Vector and PS3Vector. Whereas the normal principal stresses are saved in PrincipalMax, PrincipalMed and PrincipalMin. See methods add_principal_stress_reinforced and add_principal_stress_std in https://github.com/FreeCAD/FreeCAD/blob ... lttools.py See https://github.com/FreeCAD/FreeCAD/blob ... #L160-L168 But in the reinforcement prinzipals both are filled.

On the conrrary on vtk pipeline only the ones which are filled on reinforced mat obj are considered. Thus not reinforced mat obj, no principal stress in vtk pipeline, which is a bug.
User avatar
bernd
Posts: 10976
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Concrete branch ready for testing

Postby bernd » Tue Jul 14, 2020 11:34 am

git commit 9b18c2dc196 but still as Harry stated there might be confusion because for reinforcement object there will be two filled principal stress container in the result obj and in the vtk pipline.