← Back to team overview

dolfin team mailing list archive

Re: [Question #105900]: [Question #105900]: Setting 'pressure' BC in RT/P0 elements for mixed poisson

 

Question #105900 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/105900

Anders Logg proposed the following answer:
On Tue, Mar 30, 2010 at 02:01:01PM -0000, Chris Richardson wrote:
> Question #105900 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/105900
>
> Chris Richardson posted a new comment:
> Thanks - I am still not sure if it is behaving 100% as expected, although maybe my expectations are wrong...
> the velocity field does still look a bit odd at the corners.
>
> I suppose I am a bit confused as to the meaning of "x" in the boundary
> conditions. Is it the mid-point of an edge? or does it have to apply to
> both ends of the edge?

It has to apply to all vertices + the midpoint. Only then is the facet
(edge) marked.

The + midpoint condition was added recently to avoid setting boundary
conditions in cases like this:

           |
          /|
         / |
        /  |
  _____/___|

--
Anders

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.