finite elements in matlab


by dede111
Tags: elements, finite, matlab
dede111
dede111 is offline
#1
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 Phys.org
SensaBubble: It's a bubble, but not as we know it (w/ video)
The hemihelix: Scientists discover a new shape using rubber bands (w/ video)
Microbes provide insights into evolution of human language
swraman
swraman is offline
#2
Apr13-09, 04:52 AM
P: 145
what exactly are you trying to do? Im not too clear...
dede111
dede111 is offline
#3
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  

dede111
dede111 is offline
#4
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, 30 views)
File Type: m boundary.m (626 Bytes, 20 views)
File Type: m dispvalues.m (1.7 KB, 13 views)
minger
minger is offline
#5
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?
dede111
dede111 is offline
#6
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
minger
minger is offline
#7
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.
dede111
dede111 is offline
#8
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?
sinohe78
sinohe78 is offline
#9
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