Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Matlab and delphi

Status
Not open for further replies.

run4fun

Mechanical
Feb 20, 2009
2
DK
Hi

In matlab I've tried making a little FEA program using 2D and 3D Beams. I've compared static and dynamic results on simple models with ANSYS and found that it works fine.
I have made a little postprocessor showing deformed shape and eigenmodes.

1. I was woondering if something similar is possible using delphi. (To be honest I've done very little research on this)?

2. Does anyone have Knowledge of a open source program in delphi doing FEA on BEAM models with a small postprocessor included.


 
Replies continue below

Recommended for you

What is Delphi?

Have you seen openFEM?

Mathematicians enjoy reducing problems to previously solved solutions, one wonders why you bothered.




Cheers

Greg Locock

SIG:please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Hi

Delphi is a development enviroment to make applications for windows.
OpenFEM requires Scilab or Matlab. I need to make something simple, that works independent of other programs.
The problem is, that the matlab routine was a school project, and since i have no license for either matlab or ANSYS, I need an alternative. I have seen severel small programs made in delphi, and whith my limited knowledge to code like c++ and so on, it seemed like the right alternative for me.

Maybe it was not the right forum to post this, but thanks for your help anyway.
 
If you can code for Fortran (or C) in Delphi then I am sure there are many Fortran FEA programs around.



Cheers

Greg Locock

SIG:please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Hi

When I used Delpi some years back it was based om Pascal. But it was very similar to the Visual Studio environment.

If you can find a code in Fortran or Basic it shouldn't be to difficult to convert it to Pascal and run it in Delpi. One difference between Delpi (or VS) and matlab is that in matlab you have the solver (matrix solver) integrated in the software. In Delpi you have to write your own.

Good Luck

Thomas
 
I agree with Thomas. I used to describe Delphi as "Visual Pascal", but that was when "Visual Basic" was a big "up-and-coming" program...so, basically, shortly after the dinosaurs disappeared from the known world...

Garland E. Borowski, PE
Engineering Manager
Star Aviation
 
Oh /that/ Delphi. To answer your original question, yes it is possible but a quick google fails to find an example. Any link it found would be bit-rotted away by now I'd have thought.



Cheers

Greg Locock

SIG:please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Delphi is compilable application development software. It is considerably different from visual basic in how it handles numerical calculations at least at the time we compared the two.

It is quite flexible and it is still written in a pascal variant. You are not likely to find any freeware source code floating around. Too much goes into its development.

Serious FEA and or calcualtion packages are using fortran because there are so many routines developed in that language. You also need something that is support in a multi-processor environment.

 
Hi.
I have been using Matlab during my studies (FEM for 2D, and3D elements).
And I also have been programming in Delphi (small programs for structural engineering (also with FEM)).
You can do the same things using Matlab and Delphi but:
MATLAB includes most of mathematics functions (for example solving equations..., reversing martrices....).These functions are proffesionally made and are very fast.
So it is very easy to build your own procedures using ready functions in program.
DELPHI: Most of mathematics functions you need to make from beginning.For example: To use function solving set of linear equations you need first to write such function. All small blocks (procedures, functions) you need to write from beginning. Good news: there is a lot of ready functions (free or nonfree) which are made by others and you can download them. Also as Pascal was very popular language there is a lot of books with numerical methods explaining code for many functions.
Another difference is that using Delphi you get compiled EXE file which you can run on computer without installed Delphi. To run MATLAB file you need to have installed Matlab.
If you are interested in Delphi, I would like to pay your attention to LAZARUS - this is open source project compatible with Delphi (almost ;-) )- it works on most of systems (WIN, LINUX,MAC....)
Regards,
krzysztof
 
the beauty of software like delphi is that you can also create dll's that work fine.

there are a lot of math routines writen in pascal but you have to look
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top