在 2015年5月27日星期三 UTC+8下午3:41:59，Robert Cimrman写道：
On 05/26/2015 11:04 AM, Kid Guo wrote:
> Hi Robert,
> at first thank you for your help, I have solved the problem, and now I want
> to use "sfepy/examples/multi_physics/biot.py", I suspect to add Dirichlet
> (essential) boundary conditions in the biot. Here I want to fix the bottom
> and load a press on the left facet and right facet, the press can be same
> or different, actually I want more is to load a linear function(like,P = γgh) from Top
> to Bottom along the z axis. How can I achieve it.
Check  - sinbc() function - it shows how to apply Dirichlet BC using a function.