Volume strain through python API

I would like to set the volume strain for a polygon. Right now it seems that i can only set the volume strain for the parts that make of the entire polygon. Is there any way to set the volume strain for the whole polygon? Example:

i created a polygon: user_polygon

Plaxis creates the following subdivision: user_polygon_1, user_polygon_2

I want to set the volume strain for the entrire user_polygon, right now i can only activate volume strain for user_polygon_1 and 2.

Parents
  • Dear Niels,

    Geometry is created in the blue modes (Soil and Structures). When switching to green modes (Mesh, Flow conditions, Staged construction) intersection takes place.

    In your case, Polygon_1 gets intersected with some other geometry and as a result, you have two polygons that refer to the original, Polygon_1_1 and Polygon_1_2
    Both new polygons point to the original polygon so you can use that to make changes to both of them using a simple for-loop:

    for polygon in g_i.Polygon_1:
        polygon.Soil.VolumeStrain.Apply[g_i.Phases[-1]] = True
        polygon.Soil.VolumeStrain.epsvol[g_i.Phases[-1]] = 5

    Answer Verified By: Niels Zee 

Reply
  • Dear Niels,

    Geometry is created in the blue modes (Soil and Structures). When switching to green modes (Mesh, Flow conditions, Staged construction) intersection takes place.

    In your case, Polygon_1 gets intersected with some other geometry and as a result, you have two polygons that refer to the original, Polygon_1_1 and Polygon_1_2
    Both new polygons point to the original polygon so you can use that to make changes to both of them using a simple for-loop:

    for polygon in g_i.Polygon_1:
        polygon.Soil.VolumeStrain.Apply[g_i.Phases[-1]] = True
        polygon.Soil.VolumeStrain.epsvol[g_i.Phases[-1]] = 5

    Answer Verified By: Niels Zee 

Children