FEM: periodic boundary conditions (1D)

Click For Summary
SUMMARY

This discussion focuses on constructing the mass matrix for a 1D finite element system with periodic boundary conditions. The mass matrix is defined as M = ∫{NN^T}dL, where N represents the finite element linear basis functions, specifically hat functions. The user is attempting to calculate the mass matrix elements for the 10th node, questioning the correctness of values M_{10,10} = -10/3 and M_{10,1} = -10/6. The consensus is that while x_{11} and x_{1} are not identical, they serve the same role in the matrix, and periodic conditions should apply uniformly across all nodes.

PREREQUISITES
  • Understanding of finite element analysis (FEA)
  • Familiarity with periodic boundary conditions in numerical simulations
  • Knowledge of mass matrix formulation in 1D systems
  • Proficiency in using hat functions as basis functions
NEXT STEPS
  • Study the implementation of periodic boundary conditions in finite element methods
  • Learn about mass matrix construction for higher-dimensional finite element systems
  • Explore the implications of node indexing in periodic systems
  • Investigate numerical techniques for validating mass matrix calculations
USEFUL FOR

Finite element analysts, computational engineers, and researchers working on 1D systems with periodic boundary conditions will benefit from this discussion.

Niles
Messages
1,834
Reaction score
0
I am trying to set up the mass matrix for a 1D system which I want to solve using finite elements. So the mass matrix is defined as

<br /> M = \int{NN^T}dL,<br />
where N is the finite element linear basis functions. I use hat functions.

Say I have 10 elements, corresponding to 11 nodes running from -5 to 5 so the spacing is 1. Node 1 is equal to node 11 since I want to employ periodic boundary conditions.

My issue is that I am not sure how to construct the mass matrix for the 10th node. As shown here, the elements for the 10th node will be (I use periodic boundary conditions, so x_{N+1}=x_1)

<br /> M_{10,10} = \frac{x_{1}-x_{10}}{3} = -10/3\\<br /> M_{10,1} = \frac{x_{1}-x_{10}}{6} = -10/6<br />
All other elements have positive values given by 1/3 and 1/6, respectively.

Are my values for M_{10,10} and M_{10,1} correct? I find it odd that their values are so much different than the values in the "bulk".
 
Technology news on Phys.org
This is 1D, so is it a line?
Is x_11 actually x_1 or is it x_1 + P where P is your period in X?
Thus f(x_11) = f(x_1) but x_11 is not actually x_1.
If this is the case, use x_11 for x_11 and in the matrix assign it the position of x_1 since it will be multiplied by that node.
 
Thanks, that is also what I thought. But then my matrix has dimensions 10x10, but my field will have 11 values since x_11 and x_1 are not the same. But that won't work when I multiply them together (?)

Am I missing something?
 
x_11 and x_1 are not the same in reality, but in the matrix they have the same role.
The main thing is that you are keeping with the periodic nature in your x, if all other entries are 1/3 and 1/6, then so should the ones at the edge.
You aren't actually putting the 11th value in, but when you plot it, you can manually put the 11th point in.
 

Similar threads

Replies
4
Views
2K
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 0 ·
Replies
0
Views
963
Replies
5
Views
2K
  • · Replies 21 ·
Replies
21
Views
1K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K