This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Boundary conditions

0 votes

Dear all,
i have to solve NS problem in a cavity. How can i fix pressure value in the center of domain, basically UnitSquareMesh.
Best reguards,
Francesco

asked May 3, 2016 by Francesco_nuke_91 FEniCS Novice (280 points)

1 Answer

0 votes
 
Best answer

You can use a DirichletBC with method="pointwise".

answered May 4, 2016 by KristianE FEniCS Expert (12,900 points)
selected May 5, 2016 by Francesco_nuke_91
...