FixedPressures
Prescribed pore pressure boundary condition -- fixes the total pore pressure value at the selected shapes. Supports constant or linearly-varying distributions.
Examples
feature = model.get_fixed_pressure(shapes)
feature.pressure = 100.0
feature.minus_plus = 'plus'
# Linear variation defined by values at anchor points:
feature.variation = 'linear'
feature.p1 = 50.0
feature.p2 = 100.0
feature.p1_location = [0, 0, 0]
feature.p2_location = [0, 5, 0]
Properties
- pressure : float
- Pressure value: the constant value ('constant' variation) or p1 ('linear' variation).
- minus_plus : str
- Side of the boundary the condition acts on: 'minus' (default) or 'plus'.
- variation : str
- Pressure variation over the shape: 'constant' or 'linear' (default).
- p1 : float
- Linear variation value at anchor point 1.
- p2 : float
- Linear variation value at anchor point 2.
- p3 : float
- Linear variation value at anchor point 3 (3D only).
- p1_location : object
- Anchor point 1.
- p2_location : object
- Anchor point 2.
- p3_location : object
- Anchor point 3 (3D only).