Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Another question on Dirichlet BCs for VectorH1 space

More
4 years 7 months ago #1864 by Guosheng Fu
Hello,

I would like to define a VectorH1 space with different Dirichlet BC conditions for different components, currently, I am only doing the following, and then I have to define grad/div manually, which is cumbersome...
Code:
V1 = H1(mesh, dirichlet="top") V2 = H1(mesh, dirichelt="bottom") V = FESpace([V1, V2])
Is there a way to use VectorH1 to define the above space?

Best,
Guosheng
More
4 years 7 months ago #1868 by christopher
ngsolve.org/forum/ngspy-forum/846-bounda...-vector-valued-funcs

Here we had an example on how to set dirichlet dofs for the subspace manually. Is this what you looked for?

Best
Christopher
More
4 years 7 months ago #1869 by Guosheng Fu
I will try it out. Thanks.
Time to create page: 0.114 seconds