Yes the forces are defined in the nodes. In any case they will be defined in the nodes even in in DLOAD CalculiX calculates forces in the nodes. CalculiX uses for DLOAD to calculate the node lodes the shape functions of the element. What means for D3C4 linear functions and for D3C10 a quadrillic function which has much higher weight at the middle nodes. All this including how to calculate is written in nearly any book about FEM. But I'm engineer not mathematician. But I will come up with an workaround and we may find someone who could help us in this regard.ulrich1a wrote:... From my limited knowledge about the finite elmement method, I think the forces are only defined in the nodes. So ccx has to do a similar calculation for the DLOAD in order to get the node forces. The source code of ccx may give a guide, how the do this right....
CLOAD use mesh face area for nodeloads
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: CLOAD use mesh face area for nodeloads
Re: CLOAD use mesh face area for nodeloads
bernd, could you check if you're OK with some cleaning of your code and pull/merge the changes into your branch?
It's a simple 0 N force filtering + white space fixes.
https://github.com/PrzemoF/FreeCAD_sf_m ... b_femdev07
It's a simple 0 N force filtering + white space fixes.
https://github.com/PrzemoF/FreeCAD_sf_m ... b_femdev07
Re: CLOAD use mesh face area for nodeloads
Please correct me if I'm wrong:
1. We have perfectly working solution for C3D4 elements where a face is defined by 3 nodes.
2. C3D10 element face is defined by 6 nodes. 3 corners and 3 middle points.
3. Those 6 nodes also define 4 faces. 3 faces defined by a corner and adjacent 2 middle points and one face defined by 3 middle points.
Can the current C3D4 method be applied to those faces? I mean we should "translate" each 6 point face into 4 3 point faces and use the same match as currently for C3D4 I'd try to code it, but I want to finish Pressure constraint and workbench list customisation first.
1. We have perfectly working solution for C3D4 elements where a face is defined by 3 nodes.
2. C3D10 element face is defined by 6 nodes. 3 corners and 3 middle points.
3. Those 6 nodes also define 4 faces. 3 faces defined by a corner and adjacent 2 middle points and one face defined by 3 middle points.
Can the current C3D4 method be applied to those faces? I mean we should "translate" each 6 point face into 4 3 point faces and use the same match as currently for C3D4 I'd try to code it, but I want to finish Pressure constraint and workbench list customisation first.
Re: CLOAD use mesh face area for nodeloads
Yes because the area calculation equals the shape functions of the C3D4 elements.PrzemoF wrote:Please correct me if I'm wrong:
1. We have perfectly working solution for C3D4 elements where a face is defined by 3 nodes.
YesPrzemoF wrote: 2. C3D10 element face is defined by 6 nodes. 3 corners and 3 middle points.
Curently not. But I would like to code this. Will be the next to do for me.PrzemoF wrote: 3. Those 6 nodes also define 4 faces. 3 faces defined by a corner and adjacent 2 middle points and one face defined by 3 middle points.
Can the current C3D4 method be applied to those faces? I mean we should "translate" each 6 point face into 4 3 point faces and use the same match as currently for C3D4 I'd try to code it, but I want to finish Pressure constraint and workbench list customisation first.
OK, made a cheaper area calculation.
For test purposes a workaraound for C3D10 elements. Nearly all displacement is done by the middle nodes, it is crazy. It seams the corner nodes are just to keep the deformed model in the right direction. It is really only a workaround but much better than the current soulution.
attached two test files.
@przemo: sure I will adopt your commit.
- Attachments
-
- tensionbox-2_C3D10.fcstd
- (186.35 KiB) Downloaded 60 times
-
- tensionbox_C3D10.fcstd
- (11.31 KiB) Downloaded 62 times
Re: CLOAD use mesh face area for nodeloads
find CLOAD implementation for flat faces to test on
https://github.com/berndhahnebach/FreeC ... femcload01
https://github.com/berndhahnebach/FreeC ... femcload01
Re: CLOAD use mesh face area for nodeloads
DLOAD on the left CLOAD on the right
Displacement agreement is good 11%
Von Mises there still seems to by sqrt(2) Both versions seem to be using the same calculation fron ccxFrdReader.py [attachment=0]stress.PNG
Displacement agreement is good 11%
Von Mises there still seems to by sqrt(2) Both versions seem to be using the same calculation fron ccxFrdReader.py [attachment=0]stress.PNG
- Attachments
-
- stress.PNG (441.18 KiB) Viewed 2022 times
"fight the good fight"
Re: CLOAD use mesh face area for nodeloads
@sgrogan
could you provide the FreeCAD files?
could you provide the FreeCAD files?
Re: CLOAD use mesh face area for nodeloads
I did a test as well. The results are so good (identical!) that I'm not sure if I did not mix something..
- Attachments
-
- 1MPa_on_100mm2_with_pressure.png (193.49 KiB) Viewed 2009 times
-
- 100N_over_100mm2_with_force.png (217.31 KiB) Viewed 2009 times
Re: CLOAD use mesh face area for nodeloads
What elemts? For C3D4 we should get exact the same !!!PrzemoF wrote:I did a test as well. The results are so good (identical!) that I'm not sure if I did not mix something..
Re: CLOAD use mesh face area for nodeloads
Yes, it's C3D4 - the perfect results explained I'll test again with C3D10bernd wrote:What elemts? For C3D4 we should get exact the same !!!PrzemoF wrote:I did a test as well. The results are so good (identical!) that I'm not sure if I did not mix something..