Register to reply

Finite elements in matlab

by dede111
Tags: elements, finite, matlab
Share this thread:
Apr9-09, 06:22 AM
P: 5
I need to convert a 2D code to 1D for a simply supported beam using matlab.
Does anyone have any experience regarding to this?
Phys.Org News Partner Science news on
Wildfires and other burns play bigger role in climate change, professor finds
SR Labs research to expose BadUSB next week in Vegas
New study advances 'DNA revolution,' tells butterflies' evolutionary history
Apr13-09, 04:52 AM
P: 145
what exactly are you trying to do? Im not too clear...
Apr13-09, 09:04 AM
P: 5
I have a code for a simply supported beam in 2D which needs to be converted to 1D

More info in the attachments
Attached Thumbnails
simply supported beam.jpg  

Apr15-09, 09:44 AM
P: 5
Finite elements in matlab

Here's the main file, dispvalues and boundary conditions of the 2D programs which need to be converted to 1D

The beam has been posted above.

Hoping for a quick reaction, I only have a few days left.
Attached Files
File Type: m main.m (2.3 KB, 33 views)
File Type: m boundary.m (626 Bytes, 21 views)
File Type: m dispvalues.m (1.7 KB, 13 views)
Apr15-09, 09:59 AM
Sci Advisor
P: 1,498
I'm not going to open your files, but why not just use the 2D code, and make the second dimension one?
Apr15-09, 10:03 AM
P: 5
I don't have any experience using matlab, I just got enrolled in this class, cause I followed other classes at the same time, which are finished now
Apr15-09, 10:07 AM
Sci Advisor
P: 1,498
Well, at some point there should be a file that contains loads and constants, etc. If the code is 2D, which I am really, really assuming that it's quasi-2D, meaning that it treats the second dimension as just a thickness; a constant.

Basically, just set the beam depth, to 1. 1 whatever units you're using. Then, the load gets multiplied by 1, and the stresses get divided by 1. Your answer will be the same as if it were 1D.
Apr15-09, 10:10 AM
P: 5
At school I heared a stiffness matrix should be inserted and the boundary conditions and dispvalues should be different?
Jan11-10, 12:28 AM
P: 1
i need a code for solving 2D frame in matlab , plzzzz help meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Register to reply

Related Discussions
Finite elements Calculus & Beyond Homework 0
Finite Elements ProE Engineering, Comp Sci, & Technology Homework 2
Finite elements routines in 2D Programming & Computer Science 4
Finite elements in borland c General Engineering 0