Create new output data in FEM
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Create new output data in FEM
Hi I'm new to FreeCAD
I was trying to follow the FEM tutorial "Modelling of Post-tensioned Concrete", but I noticed that there are some properties / node data that I don't know how was made
For example the property "reinforcement ratio_x" , how is that made.
I know I can make a user defined formula in the gui but that only creates a single data array. How would I add multiple of my own data arrays/properties that I can look at in a post-processer like Paraview?
I was trying to follow the FEM tutorial "Modelling of Post-tensioned Concrete", but I noticed that there are some properties / node data that I don't know how was made
For example the property "reinforcement ratio_x" , how is that made.
I know I can make a user defined formula in the gui but that only creates a single data array. How would I add multiple of my own data arrays/properties that I can look at in a post-processer like Paraview?
Re: Create new output data in FEM
Moved to FEM forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Create new output data in FEM
Hi and welcome to FreeCAD FEM.
Which FreeCAD version are you on?
Have you tried the FEM example GUI on utilities menu? There is a reinforcement material example.
Which FreeCAD version are you on?
Have you tried the FEM example GUI on utilities menu? There is a reinforcement material example.
Re: Create new output data in FEM
Hi Bernd
I'm on the newest FreeCAD version 0.19.2
Yes I have tried the 2D RC Wall example but it does not show me how it adds new node data.
See attached image (https://imgur.com/a/QwATm8U)
As you can see there is no data in the Peeq property. I would like to learn how i could create that data and how I could create my own data for working on in post in Paraview.
I feel like I'm really bad at explaining my problem but I hope you kinda understand what I'm looking for.
I'm on the newest FreeCAD version 0.19.2
Yes I have tried the 2D RC Wall example but it does not show me how it adds new node data.
See attached image (https://imgur.com/a/QwATm8U)
As you can see there is no data in the Peeq property. I would like to learn how i could create that data and how I could create my own data for working on in post in Paraview.
I feel like I'm really bad at explaining my problem but I hope you kinda understand what I'm looking for.
Re: Create new output data in FEM
you can add pictures in the post. This way they will be there even in a few years ...
the picthure from the last post:
the picthure from the last post:
Re: Create new output data in FEM
- to fill the PEER data you need to make a nonlinear material analysis and deform the structure in a way there will be peeq stress. As said use the exammple files. If you run the nonlinear material example there will be PEEQ strain filled in. If you run the reinforced material example the reinforced strain will be filled. If you run a thermomechanical analysis the temperature will be filled in. E.T.C. ...
- Which node data do you miss in the result object?
- Which node data do you miss in the result object?
Re: Create new output data in FEM
Okay my bad for using a bad example, I should not have used peeq.
What if I wanted to look at strain energy density in post, how would I go about adding that to the output?
I Know I could define it in the user defined formula but that only allows for one set of data. What if I for whatever reason wanted to also output some other not pre-defined data sets?
I'm thinking I probably have to use python and then operate on the result object and add the strain energy density as a property? I'm just guessing here.
Again I'm very sorry for my confusing questions
I just want to know how I can add my own outputs that are not predefined, like I can see Von mises, displacement and so on are.
What if I wanted to look at strain energy density in post, how would I go about adding that to the output?
I Know I could define it in the user defined formula but that only allows for one set of data. What if I for whatever reason wanted to also output some other not pre-defined data sets?
I'm thinking I probably have to use python and then operate on the result object and add the strain energy density as a property? I'm just guessing here.
Again I'm very sorry for my confusing questions
I just want to know how I can add my own outputs that are not predefined, like I can see Von mises, displacement and so on are.
Re: Create new output data in FEM
this is possible, just add another attribute to the result object by python. This could be done python on runtime.
But be aware this will not be exported to vtk. For this recompiling FreeCAD and changes in Cpp would be needed.
Means the question is, what would you do with such a result?
I am on the way. Later on I may post a simple example how to add new attributes to the result object during run time.
But be aware this will not be exported to vtk. For this recompiling FreeCAD and changes in Cpp would be needed.
Means the question is, what would you do with such a result?
I am on the way. Later on I may post a simple example how to add new attributes to the result object during run time.
Re: Create new output data in FEM
Oh I was not aware it would be that involved.
If it is not possible to export it to vtk then I might as well just use the "user defined formula" part. Hower, if it is not too much trouble i would still like to see your example on how to add new attributes to the result object during run time.
If it is not possible to export it to vtk then I might as well just use the "user defined formula" part. Hower, if it is not too much trouble i would still like to see your example on how to add new attributes to the result object during run time.