The FluidExchangeProperty object is an interaction property that defines the fluid exchange property for a flow between two fluid cavities or between a fluid cavity and its environment.
The FluidExchangeProperty object is derived from the InteractionProperty object.
import interaction mdb.models[name].interactionProperties[name]
This method creates a FluidExchangeProperty object.
mdb.models[name].FluidExchangeProperty
Required arguments
A String specifying the interaction property repository key.
A sequence of sequences of Floats specifying the viscous and hydrodynamic resistance coefficients when definition=BULK_VISCOSITY. Each sequence contains the following data:
The viscous resistance coefficient.
The hydrodynamic resistance coefficient.
The average absolute pressure, if the data depend on pressure.
The average temperature, if the data depend on temperature.
The value of the first field variable, if the data depend on field variables.
The value of the second field variable.
Etc.
Alternatively, the sequence data may specify the mass flow rate. This is applicable only when definition=MASS_FLUX. In this form, only one sequence is specified and that sequence contains the following data:
The mass flow rate per unit area.
Alternatively, the sequence data may specify the mass rate leakage. This is applicable only when definition=MASS_RATE_LEAK. Each sequence contains the following data:
The absolute value of the mass flow rate per unit area. (The first tabular value entered must always be zero.)
The absolute value of the pressure difference. (The first tabular value entered must always be zero.)
The average absolute pressure, if the data depend on pressure.
The average temperature, if the data depend on temperature.
The value of the first field variable, if the data depend on field variables.
The value of the second field variable.
Etc.
Alternatively, the sequence data may specify the volume flow rate. This is applicable only when definition=VOL_FLUX. In this form, only one sequence is specified and that sequence contains the following data:
The volumetric flow rate per unit area.
Alternatively, the sequence data may specify the volume rate leakage. This is applicable only when definition=VOL_RATE_LEAK. Each sequence contains the following data:
The absolute value of the volumetric flow rate per unit area. (The first tabular value entered must always be zero.)
The absolute value of the pressure difference. (The first tabular value entered must always be zero.)
The average absolute pressure, if the data depend on pressure.
The average temperature, if the data depend on temperature.
The value of the first field variable, if the data depend on field variables.
The value of the second field variable.
Etc.
Optional arguments
A SymbolicConstant specifying the type of fluid exchange property to be defined. Possible values are BULK_VISCOSITY, MASS_FLUX, MASS_RATE_LEAK, VOL_FLUX, and VOL_RATE_LEAK. The default value is BULK_VISCOSITY.
A Boolean specifying whether the data will have pressure dependency. This argument is applicable only when definition=BULK_VISCOSITY, or when definition=MASS_RATE_LEAK, or when definition=VOL_RATE_LEAK. The default value is OFF.
A Boolean specifying whether the data will have temperature dependency. This argument is applicable only when definition=BULK_VISCOSITY, or when definition=MASS_RATE_LEAK, or when definition=VOL_RATE_LEAK. The default value is OFF.
An Int specifying the number of field variable dependencies in the data. This argument is applicable only when definition=BULK_VISCOSITY, or when definition=MASS_RATE_LEAK, or when definition=VOL_RATE_LEAK. The default value is 0.
Return value
A FluidExchangeProperty object.
Exceptions
This method modifies the FluidExchangeProperty object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the FluidExchangeProperty method, except for the name argument.
Return value
Exceptions
The FluidExchangeProperty object has members with the same names and descriptions as the arguments to the FluidExchangeProperty method.