How to use the solution of other eq. to import the boundary conditions?

Dear all,

Example:
I want to solve Stoke equation that the BC of horizontal velocity is related to stress.
The stress data comes from the solution of another equation.

How to use the solution of another eq. to import the boundary conditions of Stoke?

Thanks for help~~