- Thank you received: 0
Solving PDE with non-trivial null space
6 years 9 months ago #353
by sxmeng
Solving PDE with non-trivial null space was created by sxmeng
Hi:
I am solving the following problem (solvability condition satisfied)
"a(u,v)- lam* b(u,v) = L(v),
where lam (non-zero) is the eigenvalue and the non-trivial null space is spanned by gfu, i.e. a(gfu,v) = lam* b(gfu,v)."
I assume that one cannot simply assemble the bilinear form "a(u,v)- lam* b(u,v) ", since lam is an eigenvalue. Is there a way to solve this PDE in netgen?
Any help is greatly appreciated.
Best,
I am solving the following problem (solvability condition satisfied)
"a(u,v)- lam* b(u,v) = L(v),
where lam (non-zero) is the eigenvalue and the non-trivial null space is spanned by gfu, i.e. a(gfu,v) = lam* b(gfu,v)."
I assume that one cannot simply assemble the bilinear form "a(u,v)- lam* b(u,v) ", since lam is an eigenvalue. Is there a way to solve this PDE in netgen?
Any help is greatly appreciated.
Best,
6 years 9 months ago #354
by sxmeng
Replied by sxmeng on topic Solving PDE with non-trivial null space
Could this be realized through defining a FE space incorporating that the solution u is orthogonal to gfu? If yes, does netgen provides such modifications?
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
6 years 9 months ago #367
by christopher
Replied by christopher on topic Solving PDE with non-trivial null space
I don't think you can do this purely in NGSolve without some C++ hacking, but if efficiency is not the key point you can use NGSolve to assemble the matrices, then convert them to scipy matrices and do the orthogonalization and solving in scipy...
6 years 9 months ago #372
by sxmeng
Replied by sxmeng on topic Solving PDE with non-trivial null space
Thanks for the reply. Efficiency is not an issue here
6 years 9 months ago #376
by joachim
Replied by joachim on topic Solving PDE with non-trivial null space
Hello,
I think we need more information for this problem.
Have you computed the Eigenvalue/Eigenvector in advance, or should it be part of the same equation ?
Are your matrices symmetric and positive definite ?
If you know the Eigensystem, you can pose your equation orthogonal to the Eigenvector using a scalar Lagrange parameter (from NumberSpace).
Joachim
I think we need more information for this problem.
Have you computed the Eigenvalue/Eigenvector in advance, or should it be part of the same equation ?
Are your matrices symmetric and positive definite ?
If you know the Eigensystem, you can pose your equation orthogonal to the Eigenvector using a scalar Lagrange parameter (from NumberSpace).
Joachim
6 years 9 months ago #377
by sxmeng
Replied by sxmeng on topic Solving PDE with non-trivial null space
Hi Joachim:
Thank you very much for the reply. I have computed the eigenvalues/eigenfunctions in advance using Arnoldi solver; the matrices are symmetric and non-negative definite.
I am not sure yet how to use a scalar Lagrange parameter (from NumberSpace), is there a short illustrative example on this?
Best,
Shixu
Thank you very much for the reply. I have computed the eigenvalues/eigenfunctions in advance using Arnoldi solver; the matrices are symmetric and non-negative definite.
I am not sure yet how to use a scalar Lagrange parameter (from NumberSpace), is there a short illustrative example on this?
Best,
Shixu
Time to create page: 0.099 seconds