Open GoogleCodeExporter opened 9 years ago
Update: new *BC syntax (I hope the final for some time) will be:
the following are equivalent (setting all 'u' dofs to 0.0 on Y2_Surface region):
ebc_1 = {
'name' : 'ZeroSurface',
'region' : 'Y2_Surface',
'dofs' : {'u.0' : 0.0, 'u.1' : 0.0}
}
or
ebc_1 = {
'name' : 'ZeroSurface',
'region' : 'Y2_Surface',
'dofs' : {'u.all' : 0.0}
}
or
ebc_1 = {
'name' : 'ZeroSurface',
'region' : 'Y2_Surface',
'dofs' : {'u.[0,1]' : 0.0}
}
Mixed-variable BC will be possible again ('u' is a 3D vector, 'p' a scalar):
ebc_10 = {
'name' : 'a name',
'region' : 'a region',
'dofs' : {u.all : 0.0, 'p.0' : 1.0}, # same as {u.[0,1,2] : 0.0, 'p.all' : 1.0}
}
Any comments anyone?
Original comment by robert.c...@gmail.com
on 25 Feb 2008 at 10:16
Implemented :). Try to test it, please.
Original comment by robert.c...@gmail.com
on 25 Feb 2008 at 2:11
Migrated to http://github.com/sfepy/sfepy/issues/27
Original comment by robert.c...@gmail.com
on 30 Jan 2012 at 10:24
Original issue reported on code.google.com by
robert.c...@gmail.com
on 19 Feb 2008 at 3:56