The Pressure object defines a pressure load.
The Pressure object is derived from the Load object.
import load mdb.models[name].loads[name]
This method creates a Pressure object.
mdb.models[name].Pressure
Required arguments
A String specifying the load repository key.
A String specifying the name of the step in which the pressure is created.
A Region object specifying the region to which the load is applied.
A Float or a Complex specifying the pressure magnitude.
Note: magnitude is optional if distributionType=USER_DEFINED.
A Float specifying the height of the zero pressure level when distributionType=HYDROSTATIC.
A Float specifying the height of the reference pressure level when distributionType=HYDROSTATIC.
Optional arguments
A String specifying the name of the AnalyticalField or DiscreteField object associated with this load. The field argument applies only when distributionType=FIELD or distributionType=DISCRETE_FIELD. The default value is an empty string.
A Region specifying the reference point from which the relative velocity is determined when distributionType=STAGNATION or VISCOUS.
A SymbolicConstant specifying how the pressure is distributed spatially. Possible values are UNIFORM, USER_DEFINED, FIELD, HYDROSTATIC, STAGNATION, VISCOUS, TOTAL_FORCE, and DISCRETE_FIELD. The default value is UNIFORM.
A String or the SymbolicConstant UNSET specifying the name of the amplitude reference. UNSET should be used if the load has no amplitude reference. The default value is UNSET. You should provide the amplitude argument only if it is valid for the specified step.
Return value
A Pressure object.
Exceptions
This method modifies the data for an existing Pressure object in the step where it is created.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the Pressure method, except for the name and createStepName arguments.
Return value
Exceptions
This method modifies the propagating data for an existing Pressure object in the specified step.
Required argument
A String specifying the name of the step in which the load is modified.
Optional arguments
A Float or a Complex specifying the pressure magnitude.
A Float specifying the height of the zero pressure level when distributionType=HYDROSTATIC.
A Float specifying the height of the reference pressure level when distributionType=HYDROSTATIC.
A String or a SymbolicConstant specifying the name of the amplitude reference. Possible values for the SymbolicConstant are UNCHANGED and FREED. UNCHANGED should be used if the amplitude is propagated from the previous analysis step. FREED should be used if the load has no amplitude reference. You should provide the amplitude argument only if it is valid for the specified step.
Return value
Exceptions
The Pressure object can have the following members:
A String specifying the load repository key.
A SymbolicConstant specifying how the pressure is distributed spatially. Possible values are UNIFORM, USER_DEFINED, FIELD, HYDROSTATIC, STAGNATION, VISCOUS, TOTAL_FORCE, and DISCRETE_FIELD. The default value is UNIFORM.
A String specifying the name of the AnalyticalField or DiscreteField object associated with this load. The field argument applies only when distributionType=FIELD or distributionType=DISCRETE_FIELD. The default value is an empty string.
A Region object specifying the region to which the load is applied.