-
I am working on example 50 - Advection-diffusion in non-uniform flow. Then I apply boundary conditions as follows(skipped definition of laplacian and avection term for better visibility, they are some BilinearForms):
I wanted to ask about the way to set the boundary condition
Thank you for the help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Neumann boundary condition is natural (i.e. automatically satisfied) for the variational formulation you have chosen to solve. This is not specific to scikit-fem or even to the finite element method, but rather a general feature of the particular variational formulation which is being solved. There is lots of literature available on other types of boundary conditions, and I won’t repeat everything here, but you can for example look for ”inhomogeneous Neumann condition” or ”Robin boundary condition”. However, perhaps it helps you to know that there is no specific function in scikit-fem to set other types of boundary conditions: everything is done either via condense() or by adding correct terms to the bilinear or linear forms. |
Beta Was this translation helpful? Give feedback.
Neumann boundary condition is natural (i.e. automatically satisfied) for the variational formulation you have chosen to solve. This is not specific to scikit-fem or even to the finite element method, but rather a general feature of the particular variational formulation which is being solved.
There is lots of literature available on other types of boundary conditions, and I won’t repeat everything here, but you can for example look for ”inhomogeneous Neumann condition” or ”Robin boundary condition”. However, perhaps it helps you to know that there is no specific function in scikit-fem to set other types of boundary conditions: everything is done either via condense() or by adding correct …