1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Finite elements in matlab

  1. Apr 9, 2009 #1
    I need to convert a 2D code to 1D for a simply supported beam using matlab.
    Does anyone have any experience regarding to this?
  2. jcsd
  3. Apr 13, 2009 #2
    what exactly are you trying to do? Im not too clear...
  4. Apr 13, 2009 #3
    I have a code for a simply supported beam in 2D which needs to be converted to 1D

    More info in the attachments

    Attached Files:

    Last edited by a moderator: Apr 13, 2009
  5. Apr 15, 2009 #4
    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:

  6. Apr 15, 2009 #5


    User Avatar
    Science Advisor

    I'm not going to open your files, but why not just use the 2D code, and make the second dimension one?
  7. Apr 15, 2009 #6
    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
  8. Apr 15, 2009 #7


    User Avatar
    Science Advisor

    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.
  9. Apr 15, 2009 #8
    At school I heared a stiffness matrix should be inserted and the boundary conditions and dispvalues should be different?
  10. Jan 11, 2010 #9
    i need a code for solving 2D frame in matlab , plzzzz help meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Finite elements in matlab
  1. Finite Element (Replies: 3)

  2. Finite element meshing (Replies: 0)