CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > CFD Freelancers

Development of a Delphi model

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By andy_
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2014, 07:52
Default Development of a Delphi model
  #1
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
I am trying to find an expert to develop for me a source code in Delphi/ Pascal, for teaching purposes, (not Fortran or C++ or other languages). I want to get the source code and not only the application. The objective is to solve ONLY the type of problem showed in the figure showed in this link http://www.cognitor.com.br/ThesisExample.png . I do not need to solve problems more complex than this.. Preferably the code should have just this screen, a “calculate “button and the results would appear in the same screen as showed in the figure. There the input data appear in the red rectangles and the results data ( just 5 velocities in specific points) appear in the yellow circles.
I do not need professional interfaces and outputs with beautiful colored graphs, etc …. In principle I need just what is in this screen. If the results are in the range minus or plus 15 % of the measured values it is excellent for me.
The idea is that the code is as simplified as possible and uses an algorithm like SIMPLE or similar
The idea is to enter with the dimensions and to calculate the air velocities in the points P1 to P5 considering that the air enter from the lover opening at velocity V0 . The 2D approach is sufficient but it is possible that I will ask – in the future – for a new version with the same figure adding the 3rd axis for 3D .
The idea here is not to consider high velocities which could prorogue complex turbulence.... Just a teaching example for beginners. I know that there are excellent free tools and codes like Open Foam , etc.. but such codes are long for my objectives.

I imagine that many people in this group is able to do it or know some student or developer which could do it. For the ones which would like to send me a quotation to do this service please write to my private email sergiofeitoza@cognitor.com.br .I am in Brazil and if needed we can talk through Skype. I can speak in English, Spanish or Portuguese (and some French for small conversations) . If anyone have more questions or need more details please write to my private email Thank you very much in advance
Sergio Feitoza
cognitor is offline   Reply With Quote

Old   March 18, 2014, 06:53
Default New trial
  #2
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
Could anyone give me an indication where I could get this answer ? Thank you very much in advance
cognitor is offline   Reply With Quote

Old   March 19, 2014, 13:55
Default
  #3
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17
cdegroot is on a distinguished road
Quote:
Originally Posted by cognitor View Post
Could anyone give me an indication where I could get this answer ? Thank you very much in advance
You might be lacking responses because of the Delpha/Pascal requirement. Those aren't popular languages anymore. If you said Python, I'd be interested.
cdegroot is offline   Reply With Quote

Old   March 19, 2014, 16:29
Default Python instead of Delphi
  #4
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
Hi cdegroot. When I started to work with GLscene years ago I heard about Python but never tried to understand what it is. Maybe it is the time now. I will try to read about how this language works and if it is the case I will write you. Do you suggest a godd "easy" text to understand the Python language ?
Regards Sergio If you need my private email is sergiofeitoza@cognitor.br
cognitor is offline   Reply With Quote

Old   March 19, 2014, 17:05
Default Good but not
  #5
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
I understood the language but it would take me so much time. Only Delphi /Pascal is acceptable in this case
cognitor is offline   Reply With Quote

Old   March 20, 2014, 08:15
Default
  #6
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17
cdegroot is on a distinguished road
You might be interested in this link, estimating the current popularity of programming languages http://langpop.com

Of course you are free to choose whichever programming language you want for your project, I'm just suggesting that currently it may be more difficult to recruit a good Delphi/Pascal programmer in comparison to some of the other languages that are more widely used right now.

If you did want a good reference on Python, I recommend "Programming in Python 3" by Mark Summerfield.
cdegroot is offline   Reply With Quote

Old   March 20, 2014, 08:40
Default model language
  #7
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
Thaank you veru much cdegroot . I am starting to read this material. I am doing pros/cons assessment to see if I will go through Python to learn. I will contact you soon
cognitor is offline   Reply With Quote

Old   March 20, 2014, 08:53
Default Felphi + Python
  #8
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
I found this here http://www.atug.com/andypatterns/pythonDelphiTalk.htm
Could you provide me a quotation for preparing the source code in Python Please send to my private email sergiofeitoza@cognitor.com.br
cognitor is offline   Reply With Quote

Old   March 26, 2014, 07:06
Default Looking for a model developer in Delphi
  #9
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
I am looking for a Delphi developer to do the model in this post. You may write to my private email
cognitor is offline   Reply With Quote

Old   March 30, 2014, 07:30
Default Trying to find a developer
  #10
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
Could anyone suggest me some other forum or site to post this request ? Here up to now I did not succeed to find a developer interested in doing the work or even to quote it; I thank you for any help in advance.

I am trying to find an expert to develop for me a source code in Delphi/ Pascal, for teaching purposes, (not Fortran or C++ or other languages). I want to get the source code and not only the application. The objective is to solve ONLY the type of problem showed in the figure showed in this link http://www.cognitor.com.br/ThesisExample.png . I do not need to solve problems more complex than this.. Preferably the code should have just this screen, a “calculate “button and the results would appear in the same screen as showed in the figure. There the input data appear in the red rectangles and the results data ( just 5 velocities in specific points) appear in the yellow circles.
I do not need professional interfaces and outputs with beautiful colored graphs, etc …. In principle I need just what is in this screen. If the results are in the range minus or plus 15 % of the measured values it is excellent for me.
The idea is that the code is as simplified as possible and uses an algorithm like SIMPLE or similar
The idea is to enter with the dimensions and to calculate the air velocities in the points P1 to P5 considering that the air enter from the lover opening at velocity V0 . The 2D approach is sufficient but it is possible that I will ask – in the future – for a new version with the same figure adding the 3rd axis for 3D .
The idea here is not to consider high velocities which could prorogue complex turbulence.... Just a teaching example for beginners. I know that there are excellent free tools and codes like Open Foam , etc.. but such codes are long for my objectives.

I imagine that many people in this group is able to do it or know some student or developer which could do it. For the ones which would like to send me a quotation to do this service please write to my private email sergiofeitoza@cognitor.com.br .I am in Brazil and if needed we can talk through Skype. I can speak in English, Spanish or Portuguese (and some French for small conversations) . If anyone have more questions or need more details please write to my private email Thank you very much in advance
Sergio Feitoza
cognitor is offline   Reply With Quote

Old   April 4, 2014, 10:07
Default
  #11
Senior Member
 
andy
Join Date: May 2009
Posts: 269
Rep Power: 17
andy_ is on a distinguished road
Quote:
Originally Posted by cognitor View Post
I am trying to find an expert to develop for me a source code in Delphi/ Pascal, for teaching purposes, (not Fortran or C++ or other languages). I want to get the source code and not only the application. The objective is to solve ONLY the type of problem showed in the figure showed in this link http://www.cognitor.com.br/ThesisExample.png
As someone who has written CFD teaching programs in the past your project looks a bit strange. A closed commercial single platform system like Delphi is not something that students would normally be asked to invest their time learning. A single specific parameterised geometry is not how engineering software is normally organised. Has this got something to do with "apps"?

A 2D Cartesian grid CFD solver with blockages and a few different types of boundary conditions is straightforward to implement in any language. Easy interactive graphics tends to follow from the platform/s which you do not specify. If Delphi really is a requirement (?) you may be better off going to a Delphi shop and giving them a suitable CFD code like TEACH or similar and getting them to translate it and add the user interface.
andy_ is online now   Reply With Quote

Old   April 4, 2014, 14:10
Default Teach
  #12
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
Thank you for the reply. The main reason for the choice of Deçphi is that I work well with Delphi and only with Delphi. A can do something with Fortran but never succeded to do the forms well with Visual Fortran.Do you know where I can download Teach ? I tried to find it but could not identify a site? Here in Brazil I tried to find a software house to do more or less what you suggest but I did not find someone motivated. Do you have a name anywhere in the World to suggest ?
When I posted this in CFD on Line I was expecting to find someone interested in doing the work or at least to send a quotation but the only comments I got was that Delphi is not a good way to do it.
cognitor is offline   Reply With Quote

Old   April 5, 2014, 06:50
Default
  #13
Senior Member
 
andy
Join Date: May 2009
Posts: 269
Rep Power: 17
andy_ is on a distinguished road
Quote:
Originally Posted by cognitor View Post
The main reason for the choice of Deçphi is that I work well with Delphi and only with Delphi.
You have adopted a minor proprietary commercial system that is of almost no interest to developers of CFD software particularly in academia. There is a cost associated with such a choice.

Quote:
Originally Posted by cognitor View Post
A can do something with Fortran but never succeded to do the forms well with Visual Fortran.
By forms do you mean the graphical user interface?

Quote:
Originally Posted by cognitor View Post
Do you know where I can download Teach ? I tried to find it but could not identify a site?
TEACH is old Fortran software from the 1970s. If you are having difficulties finding it then there are a number of later codes that are probably more suitable. I think this site has a list somewhere.

Quote:
Originally Posted by cognitor View Post
Here in Brazil I tried to find a software house to do more or less what you suggest but I did not find someone motivated. Do you have a name anywhere in the World to suggest ?
Delphi is an old minor commercial programming system that is on the way out. There is every chance that there are currently more Delphi shops than there is Delphi work. I suspect that almost any Delphi shop will perform your work if you define the task clearly and pay their rates.

Quote:
Originally Posted by cognitor View Post
When I posted this in CFD on Line I was expecting to find someone interested in doing the work or at least to send a quotation but the only comments I got was that Delphi is not a good way to do it.
I expect you would if you did not specify using Delphi. This is not a particularly appropriate tool for CFD software and so experienced developers of CFD software don't use it. It is also a proprietary commercial tool requiring a reason to purchase and learn it.

It isn't clear to me why you can't simply download and use an existing CFD program for no cost apart from a bit of time?
andy_ is online now   Reply With Quote

Old   April 5, 2014, 08:41
Default Lid Driven written in Delphi
  #14
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
Thank you Andy. I understand your points and will give some more details. The key point is that proper programing language for me, at my 59 years old, is the one that I can use without passing years again to learn. If you take a look in pages 294 to 332 of this download free book I wrote http://www.cognitor.com.br/Book_SE_SW_2013_ENG.pdf you will see screens of a software I developed in Delphi along the last years. It is not a CFD one but can produce some results that are possible – in a more precise way - with the CFD ones. Demo is here http://www.cognitor.com.br/InfoSoftEN.pdf
Many companies all over the World use it to develop electrical products. They use not because is free (for the participants of the trainings I apply like this http://www.cognitor.com.br/en_home.htm ). They use because it is easy to use and produce simulation results very near the ones obtained in real tests in expensive testing laboratories.
What I am trying to get with the request in my post is to improve a part of this above code to get more precise results. To do this I need only to be able to calculate the velocity of the air in a box as in the figure http://www.cognitor.com.br/ThesisExample.png . It would be enough if you replace that figure by the one showed in the classical problem http://www.cfd-online.com/Wiki/Sampl...)_-_Fortran_90 .
It is enough if I get a Delphi working code like this Lid Driven example using a SIMPLE algorithm. I imagine that among the readers of this forum there is people able to develop this. I want to pay for this but nobody sent me a quotation or just the name of a Delphi software house to translate. Maybe this Delphi
By the way, the idea here is to put this software as “free” when ready. After this I intend to reduce to almost zero my engineering activities and to work hard in my songs ( see her in the “English version” button http://www.gravadoravirtual.net/serg..._sergiofeitoza )
Regards and thanks again
Sergio sergiofeitoza@cognitor.com.br
cognitor is offline   Reply With Quote

Old   April 6, 2014, 08:19
Default
  #15
Senior Member
 
andy
Join Date: May 2009
Posts: 269
Rep Power: 17
andy_ is on a distinguished road
I can see a need to modify your Delphi code to handle the input and output. You are probably in the best position to handle this since you know your code or perhaps a Delphi shop if you really do want to spend your money.

I can see no need to write a CFD code in Delphi. Take an existing CFD code and adapt it to pass data between your Delphi pre/post processor and the CFD code. This could be done by either making the CFD code a library and linking it with your Delphi program or by keeping the CFD code as a separate process and exchanging data in one of a number of ways. The latter is probably the most robust and flexible.

Assuming you do the Delphi task, the task for the CFD person would be to write a small program/script/routine to receive the input parameters from your Delphi program, setup and run the CFD program, obtain the output parameters and return them to the Delphi code. This is a small task of a type familiar to quite a few CFD users/developers. There are a number of choices for the existing CFD program, the language for the small program/script/routine and the mechanism for passing data between the Delphi program and the small program/script/routine.
cognitor likes this.
andy_ is online now   Reply With Quote

Old   April 6, 2014, 09:11
Default
  #16
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

Just my 2 cents:
  1. Suggesting a Delphi development house is a bit hard, if no one on the forum has ever had this specific need.
  2. There is an open-source alternative to Delphi called Lazarus: http://www.lazarus.freepascal.org/
  3. Honestly, the only people I can think of when thinking about Delphi/Pascal, are the ones that develop Inno Setup, such as:
  4. Beyond this, after a bit of Googling, this company seems nice: http://www.psoft.com.au/consulting/delphi_software.html
  5. After this, any searches give the feeling that it's people looking for work, than software houses that can accept them for Delphi
I guess that we can only give thanks that you're not looking for CFD coding in COBOL

Good luck! Best regards,
Bruno
cognitor likes this.
wyldckat is offline   Reply With Quote

Old   April 6, 2014, 09:57
Default Thank you
  #17
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
Thank you very much wyldckat I am writing to them
This one about Cobol is great
When I was doing my electrical engineering in the 70´s we used it as well as Fortran. If we had a language like Fortran with a competente user interface like Delphi it would be great
Regards
Sergio

cognitor is offline   Reply With Quote

Old   May 27, 2014, 08:26
Default
  #18
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

unfortunately there is no delphi/freepascal support in swig

There is a python wrapper for openfoam called pythonflu but that project is not very active as well!

Last edited by elvis; May 27, 2014 at 08:26. Reason: correcting typo
elvis is offline   Reply With Quote

Old   May 27, 2014, 11:46
Default
  #19
New Member
 
Sergio Feitoza Costa
Join Date: May 2013
Posts: 15
Rep Power: 12
cognitor is on a distinguished road
Thank you Elvis
cognitor is offline   Reply With Quote

Reply

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
eddy dissipation model: combustion doesn't occur roukaia FLUENT 2 November 18, 2020 10:23
eddy dissipation model: combustion doesn't occur roukaia FLUENT 0 December 24, 2011 09:10
help for different between les model (subgrid-scale model) liuyuxuan FLUENT 1 October 2, 2009 15:25
Grid resolution for full-scale and down scaled model gravis Main CFD Forum 0 October 2, 2009 10:27
Advanced Turbulence Modeling in Fluent, Realizable k-epsilon Model Jonas Larsson FLUENT 5 March 13, 2000 03:27


All times are GMT -4. The time now is 12:51.