Importing Equivalent Plastic Strain
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Importing Equivalent Plastic Strain
Hi,
Here are some proposals to import Equivalent plastic strains (PE or PEEQ) from a Frd file.
Sorry I am not familiar with GitHub.
Now I am able to import the Peeq values but I do not know how to display them.
Thanks,
Here are some proposals to import Equivalent plastic strains (PE or PEEQ) from a Frd file.
Sorry I am not familiar with GitHub.
Now I am able to import the Peeq values but I do not know how to display them.
Thanks,
- Attachments
-
- beam01.FCStd
- Freecad file. You need to add PEEQ as an EL FILE output
- (899.23 KiB) Downloaded 55 times
-
- Extrude_Mesh.txt
- Another Calculix input file - To be renamed to .inp
- (209.77 KiB) Downloaded 82 times
-
- _FemMechanicalResult.py
- (4.64 KiB) Downloaded 77 times
-
- importCcxFrdResults.py
- (26.41 KiB) Downloaded 89 times
Last edited by sodelo on Sun Feb 19, 2017 12:08 pm, edited 1 time in total.
Re: Importing Equivalent Plastic Strain
great, would you post a freecad file to test with too?
Re: Importing Equivalent Plastic Strain
Freecad file added
Re: Importing Equivalent Plastic Strain
if some others would like to try:
https://github.com/berndhahnebach/FreeC ... empestrain
@sodelo
Have you got a github account ? If you send the username and the e-mail to me I would make you the author of the peeq strain commits.
Thanks for the FreeCAD file I will give it a try ...
https://github.com/berndhahnebach/FreeC ... empestrain
@sodelo
Have you got a github account ? If you send the username and the e-mail to me I would make you the author of the peeq strain commits.
Thanks for the FreeCAD file I will give it a try ...
Re: Importing Equivalent Plastic Strain
If I use your code the result object has a new attribute peeq but the result object in the file you posted misses the new peeq strain if I open it with your new modules in FreeCAD. If I use your code to recalculate the example the peeq strain is empty.
Re: Importing Equivalent Plastic Strain
It is possible by python. Seesodelo wrote:Now I am able to import the Peeq values but I do not know how to display them.
To view thePrinzipalMax for your Example use the following code. This could be adapted to your peeq ..
Code: Select all
res_obj = App.ActiveDocument.CalculiX_static_results
mesh_obj = App.ActiveDocument.getObjectsByLabel('beam01')[0]
mesh_obj.ViewObject.setNodeColorByScalars(res_obj.NodeNumbers, res_obj.PrincipalMax)
Re: Importing Equivalent Plastic Strain
This is normal, you need to edit the input file to add PEEQ at the EL FILE output line:If I use your code the result object has a new attribute peeq but the result object in the file you posted misses the new peeq strain if I open it with your new modules in FreeCAD. If I use your code to recalculate the example the peeq strain is empty.
Code: Select all
*EL FILE
S, E, PEEQ
Re: Importing Equivalent Plastic Strain
I do not have any github account and I am not familiar with it. So please make the commits if you do not mind.@sodelo
Have you got a github account ? If you send the username and the e-mail to me I would make you the author of the peeq strain commits.
What I had in mind anyway was to go a bith further:
- to write PEEQ in case a non linear material is used
- to be able to post-process the results.
If you could orient me to where these changes have to be done, I would be grateful.
Besides, I suspect the standard mechanical output has to be changed since there is currently no possibility to pot-process the stress and strain tensor components, the principal strains and the of course PEEQ. Stress and strain vectors do not mean anything to me (see my other post).
Thanks,
Re: Importing Equivalent Plastic Strain
Writing of the PEEQ output in case the material is non linear
- Attachments
-
- FemInputWriterCcx.py
- (57.4 KiB) Downloaded 91 times
Re: Importing Equivalent Plastic Strain
For the post-processing, I understand the standard way is defined in _TaskPanelShowResult.py and the VTK way is defined in FemVTKTools.cpp.
These two options are somewhat redundant. Will both 2 options continue to exist in the future?
These two options are somewhat redundant. Will both 2 options continue to exist in the future?