Matlab and delphi
Matlab and delphi
(OP)
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.
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.





RE: Matlab and 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: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.
RE: Matlab and delphi
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.
RE: Matlab and delphi
Cheers
Greg Locock
SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.
RE: Matlab and delphi
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
RE: Matlab and delphi
Garland E. Borowski, PE
Engineering Manager
Star Aviation
RE: Matlab and delphi
Cheers
Greg Locock
SIG:Please see FAQ731-376: Eng-Tips.com Forum Policies for tips on how to make the best use of Eng-Tips.
RE: Matlab and delphi
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.
RE: Matlab and delphi
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
Regards,
krzysztof
RE: Matlab and delphi
there are a lot of math routines writen in pascal but you have to look