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.

H1-P0 FEM

More
4 years 4 months ago #2165 by Yongbin
Replied by Yongbin on topic H1-P0 FEM
Hi Christopher!

In my code, I have to use the space with dirichelet bounary
V = NumberSpace(mesh, dirichlet=[1,2,3,4)
,It's still usable in my code, But I think it's strange. because the trial function is only 0, namely V=0 .

Many thanks
Yongbin Han
More
4 years 4 months ago #2167 by hvwahl
Replied by hvwahl on topic H1-P0 FEM
Hi Yongbin,

using a NumberSpace together with Dirichlet boundaries does not make sense to me. The NumberSpace gives a singe scalar unknown (1 dof). If this scalar is then constrained to be zero at the boundary, it will simply be zero and there are no free dofs left over.

Best wishes,
Henry
The following user(s) said Thank You: Yongbin
More
4 years 4 months ago #2168 by Yongbin
Replied by Yongbin on topic H1-P0 FEM
Hi,Hvwahl!

Thank you very much!

Yongbin Han
Time to create page: 0.145 seconds