Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

FEM CODE MATLAB 2D

Status
Not open for further replies.

Samsung456

Mechanical
Jun 30, 2014
5
Hi,

i need a matlab code for a 2D-beam problem using the fem. i have to modify it, but need a basic code to start with.
please help me. it is very urgent. thanks.
 
Replies continue below

Recommended for you

Is this for school? Student postings are not allowed.

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529
 
No,it is not for school. i'm doing a research at my working place.i Nneed a basic code to develop it with new features, which fits in to the research.
 
Have you looked on the Mathworks site?

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529
 
I think I might have a matlab based FEM solver with beam elements. I can send some of the code, but I'm just curious as to why you would want it. Does your place of employment not have commercial code? You can even do simple beam FEM problems by hand if necessary.
 
Thanks for the help. Openfem seems to be to complicated.

I need just 2D FEM solver, which i want to develop for non-linear problems.

My company usually doesnt work with fem. thats why we have no commercial programms. It is just a research, to find out if fem fits to our necessarys.

@CSK62

I would be very grateful if you help me.Thanks.
 
Hi

Another approach could be to evaluate an existing commercial code. Just to see if it fits your needs.

Then you don't have to 'invent' something again.

Good luck

Thomas
 
The problem is that such commercial codes are not open or modifiable. Thats why our idea was to start with a easy 2D Code ( linear or nonlinear) und develop it. It is just an experiment, if it would work oder not.
I am a beginner in FEM so that is very difficult for me to wrote a complete new code. It would be very helpful if someone have a ready code.
 
Hi again

Is your problem something that the available commercial codes are unable to handle?

I am just being curious :).

Thomas
 
Seems to me that anything that the OP is attempting to code up, given his current level of expertise, is unlikely to not be included in the functionality of a commercial FEA package.

Also, it seems to me that if the OP is looking to determine the applicability of a commercial FEA for his application, that he should put together a test for his candidates to demo. This would seem to be a better approach than to attempt to code up something from scratch, since it's most likely that one would be spending time debugging programming errors rather than evaluating performance. Moreover, the likelihood is that a commercial FEA package is optimized for throughput, while anything create, ad hoc, will not be.

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529
 
If you are starting from scratch, and you can't find what you want in Matlab, you could have a look at an Excel spreadsheet that should do what you want:

It's all open source, and if you search the blog for frame analysis you'll find a fair bit of background.

Doug Jenkins
Interactive Design Services
 
2D FEM for beam elements. I think this code was developed by some students at an unnamed university in Ithaca, NY [frosty], so I don't know if copyrights apply. Use at own risk, but I think you should be fine, its not really novel.

As for manipulation of the base code, I'm not really sure what you want to expand on, but good luck. If anything obvious is missing let me know.



 
 http://files.engineering.com/getfile.aspx?folder=1a4132f9-f5ca-49c2-8d71-5f67abb40e78&file=2D_Beam_FEM.zip
Thanks to everybody, i think i have the answer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor