The FluidExchange object is used to define fluid exchange between two fluid cavities or between a fluid cavity and its environment.
The FluidExchange object is derived from the Interaction object.
import interaction mdb.models[name].interactions[name]
This method creates an FluidExchange object.
mdb.models[name].FluidExchange
Required arguments
A String specifying the repository key.
A String specifying the name of the step in which the FluidExchange object is created.
A String specifying the first FluidCavity object associated with this interaction. This will be the only cavity specified if definition=TO_ENVIRONMENT.
A String specifying the FluidExchangeProperty object associated with this interaction.
Optional arguments
A SymbolicConstant specifying the type of fluid exchange to be defined. Possible values are TO_ENVIRONMENT and BETWEEN_CAVITIES. The default value is TO_ENVIRONMENT.
A String specifying the second FluidCavity object associated with this interaction. This argument is applicable only when definition=BETWEEN_CAVITIES.
A Float specifying the effective exchange area. The default value is 1.0.
Return value
A FluidExchange object.
Exceptions
This method modifies the FluidExchange object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the FluidExchange method, except for the name and createStepName arguments.
Return value
Exceptions
The FluidExchange object has members with the same names and descriptions as the arguments to the FluidExchange method.