How to Apply Boundary Conditions in Finite Element Analysis Using C++?

AI Thread Summary
The discussion focuses on applying boundary conditions in a finite element analysis program using C++. The user successfully assembled the global stiffness matrix and load vector and is now seeking guidance on implementing boundary conditions through the elimination approach. They have found a book that outlines an algorithm for transient heat conduction but are unclear about the step involving the correction of the nodal heat vector for boundary conditions after each time iteration. The user emphasizes their need for hints or guidance on this specific aspect, indicating a desire to learn more about finite element methods. Clarification on boundary condition corrections during time-stepping is the primary request for assistance.
dinaharchery
Messages
22
Reaction score
0
Hello all,

I am trying to create a simple finite element program in C++ and have been able to build and assemble the GLOBAL stiffness matrix as well as the load vector. I want to apply the boundary conditions using the elimination approach, can anyone tell me how to do this?

I am sorry for the simplicity of the problem but I have been unable to find any information on this particular issue. Thanks in advance.
 
Engineering news on Phys.org
Well, I figured out the boundary "elimination" approach to the GLOBAL stiffness matrix as well as the vector Load/Heat-Rate:smile: (I finally got a book on FEM)

The book has a section on transient heat conduction using a LUMPED capacity matrix - complete with algorithm. However, there is one step in the algorithm that I am not sure about.

The last step before iterating the time-loop again is to "correct" the just determined nodal heat vector (i.e. solution vector at current time) for boundary conditions. Can anyone please explain what is meant by correcting the solution vector for boundary conditions, I thought the bounds were set-up before entering the Time-Loop?

BTW, the algorithm is explicit forward difference for LUMPED capacity matrix. I really need some help if anyone has a hint?

Thank you
 
Anyone?

I just need some kind of hint in the direction to go for the application of boundary corrections at each time step. I am not an engineer but am trying to learn finite element for a program.

Once again, thank you.
 
Here's a video by “driving 4 answers” who seems to me to be well versed on the details of Internal Combustion engines. The video does cover something that's a bit shrouded in 'conspiracy theory', and he touches on that, but of course for phys.org, I'm only interested in the actual science involved. He analyzes the claim of achieving 100 mpg with a 427 cubic inch V8 1970 Ford Galaxy in 1977. Only the fuel supply system was modified. I was surprised that he feels the claim could have been...
TL;DR Summary: Heard in the news about using sonar to locate the sub Hello : After the sinking of the ship near the Greek shores , carrying of alot of people , there was another accident that include 5 tourists and a submarine visiting the titanic , which went missing Some technical notes captured my attention, that there us few sonar devices are hearing sounds repeated every 30 seconds , but they are not able to locate the source Is it possible that the sound waves are reflecting from...
Back
Top