What is the value of force in KN generated when some prescribed displacement is given. i.e. value of Fy in KN
The parameters Force Fx, Fy, and for PLAXIS 3D Fz, are the total reaction forces of the applied prescribed displacements in the respective direction.
See also https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/45979/in-plaxis-curves-it-is-possible-to-plot-force-fx-fy-and-fz-what-are-these-parameters
Hello Micha, what is the python code to get the reaction force Fy in a 2D model? I could not find it in the reference.
Hello Sarah,
I will explain how you can find it.
Practically you see this value in the Phases window, right? So, that is part of the Phases object.
Therefore, a first step would be to do an
echo Phase_1
This will give you all the information for that phase. If you search you will find the force y you are looking for.
With this you can find that it belongs to the:
Phase_1.Reached
So, another time you can run an echo on that and see the properties that belong where. And there is where you will find the property name.
Hello
I need to replace this line of code to plot a curve within a "For Loop"
uyAs.append(g_o.getcurveresults(g_o.Nodes[0],step,g_o.ResultTypes.Soil.Uy))
Can I use this?
uyAs.append(g_o.getcurveresults(g_o.Nodes[0],Phase_1,Phase_1.Reached.ForceY))
Dear Sarah,
I advise you to check the syntax of each command in our Command reference.
The one you suggest in the second line will not work as the getcurveresults does not accept two Phase/Step objects.
You can use instead the getcurveresultspath command which might do what you need.
Hello Stefanos,
The code you suggested (echo Phase_1.Reached.ForceY) works great. However, when I took it to Python, things got messy. I tried the following codes, and none of them worked. It showed me errors stating that those attributes are not present.
myValue= g_o.getcurveresultspath(g_o.CurvePoints.Nodes.value[0], g_o.Phases[1], g_o.Phase[1]. g_o.ResultTypes.Phase_1.Reached.ForceY
myValue= g_o.getcurveresultspath(g_o.CurvePoints.Nodes.value[0], g_o.Phases[1], g_o.Phases[1], g_o.Phase_1.Reached.ForceY
myValue= g_o.getcurveresultspath(g_o.CurvePoints.Nodes.value[0], g_o.Phases[1], g_o.Steps[1], g_o.Phase_1.Reached.ForceY
Unfortunately not via the getcurveresults command. It's simpler:
forces_y = [] # making a list to fill in the force results of phasesforces_y.append(g_o.Phase_1.Reached.ForceY)