Understanding the FEA Code for simple beam analysis

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
Faisal
Posts: 9
Joined: Fri Nov 23, 2007 9:27 am
Location: University of Engineering & Technology Peshawar Pakistan
Contact:

Understanding the FEA Code for simple beam analysis

Post by Faisal »

Hi to all!

I am a graduate student of Structural Engineering and have passion for coding in Finite Element Analysis.

My query is:

1. I want to learn how the CODE for line element works.

2. Provided that it is loaded with a Point load

3. And Displacements, Shear and Moment is required in output.

I have already downloaded the source and build a solution file in VS2005 after a lot of difficulties and errors.

Waiting for a reply for making the above code from scratch.

Faisal

Lecturer,

Civil Engineering Department
N-W.F.P University of Engineering & Technology Peshawar, Pakistan

faisal@nwfpuet.edu.pk
info@enggprog.com
Engr. Faisal-ur-Rehman [FR]

Assistant Professor
Department of Civil Engineering
University of Engineering & Technology Peshawar Pakistan
Peshawar, Pakistan


email: faisal@uetpeshawar.edu.pk
fslurrehman@hotmail.com
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

if you want to understand the existing code for the OpenSees line elements i suggest you start with the elastic beam column and linear coordinate transformation.

OpenSees/SRC/element/ElasticBeamColumn2d.cpp

OpenSees/SRC/coord/LinearCrdTransf2d.cpp

if you want to write new code i suggest you look at the code in OpenSees/PACKAGES/NewElement .. you can write cpp/c or fortran elements.
Faisal
Posts: 9
Joined: Fri Nov 23, 2007 9:27 am
Location: University of Engineering & Technology Peshawar Pakistan
Contact:

thanks

Post by Faisal »

ok I am studying these files and will discuss if something is hard to understand by my self.
Engr. Faisal-ur-Rehman [FR]

Assistant Professor
Department of Civil Engineering
University of Engineering & Technology Peshawar Pakistan
Peshawar, Pakistan


email: faisal@uetpeshawar.edu.pk
fslurrehman@hotmail.com
Post Reply