27 May
2015
27 May
'15
7:41 a.m.
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 [1] - sinbc() function - it shows how to apply Dirichlet BC using a function.
r.
[1] http://sfepy.org/doc-devel/examples/diffusion/sinbc.html