Boat Design Forums  |  Boat Design Directory  |  Boat Design Gallery  |  Boat Design Book Store  |  Thanks to Our Site Sponsors

Go Back   Boat Design Forums > Design > Software
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-03-2011, 02:53 AM
Leo Lazauskas's Avatar
Leo Lazauskas Leo Lazauskas is offline
Senior Member
 
Join Date: Jan 2002
Rep: 1816 Posts: 1,422
Location: Adelaide, South Australia
Lifting Surface Program (LSP)

I've attached a small lifting surface program that some might find useful.

It would be handy if someone could do some timing runs on their computers to inform others of the execution times on a variety of computers.
A good example would be to run the program for rectangular planforms, 32 chordwise panels, and for 10 aspect ratios. That should only take a minute or two.

There is a small compendium of results that I posted on another thread that you should also download:
http://www.boatdesign.net/forums/sai...tml#post446638

If there is interest, I will add more planforms and post an updated compendium in this thread.

And please remember, this is not a wing-design program. There are much better and far more versatile programs available if you need that capability.

Leo.
Attached Files
File Type: pdf lsp_manual.pdf (112.7 KB, 253 views)
File Type: zip lsp.zip (33.9 KB, 95 views)
Reply With Quote
  #2  
Old 03-14-2011, 04:19 AM
johnhazel johnhazel is offline
Junior Member
 
Join Date: Jun 2008
Rep: 35 Posts: 40
Location: Michigan
on a Toshiba laptop with Pentium T2330 1.6Ghz 2Gb and external screen the program ran about 5 min.

edit: the "during run" screenshot is off a bit due to my cut and paste error
Attached Thumbnails
Lifting Surface Program (LSP)-before-run.jpg  Lifting Surface Program (LSP)-during-run.jpg  
Reply With Quote
  #3  
Old 03-14-2011, 05:15 AM
Leo Lazauskas's Avatar
Leo Lazauskas Leo Lazauskas is offline
Senior Member
 
Join Date: Jan 2002
Rep: 1816 Posts: 1,422
Location: Adelaide, South Australia
Quote:
Originally Posted by johnhazel View Post
on a Toshiba laptop with Pentium T2330 1.6Ghz 2Gb and external screen the program ran about 5 min.

edit: the "during run" screenshot is off a bit due to my cut and paste error
Thanks, John.

I have nearly finished the manual for the more general (i.e. non-demo) version in which users can input their own curves defining the leading-edge and trailing-edge. This version will also be a little more accurate for the same number of panels.


Leo.
Reply With Quote
  #4  
Old 03-14-2011, 06:19 AM
johnhazel johnhazel is offline
Junior Member
 
Join Date: Jun 2008
Rep: 35 Posts: 40
Location: Michigan
Using the same Intel T2330 dual core 1.6Ghz laptop:

Running this again after updating and restarting my computer, then putting a clock on the screen I got 4:50 run time for one instance.

Running two instances gave close to the same amount of time. Both finished 5 min after starting them.
Reply With Quote
  #5  
Old 03-14-2011, 08:40 AM
johnhazel johnhazel is offline
Junior Member
 
Join Date: Jun 2008
Rep: 35 Posts: 40
Location: Michigan
Running on an AMD 7750 dual core 2.6Ghz cpu 32 bit Windows XP desktop the program finishes in 3:40 for two simultaneous instances.

A single instance finished in 3:38
Attached Thumbnails
Lifting Surface Program (LSP)-lspx2-amd-7750-each-square-six-seconds.png  
Reply With Quote
  #6  
Old 03-14-2011, 01:55 PM
johnhazel johnhazel is offline
Junior Member
 
Join Date: Jun 2008
Rep: 35 Posts: 40
Location: Michigan
3.0Ghz pentium 4 single core HT, 32bit windows

single instance 3:40

double instance 6:30

(yeah I can paddle a canoe 50+ miles in a day and still be this much of a nerd....)
Reply With Quote
  #7  
Old 03-14-2011, 02:11 PM
Leo Lazauskas's Avatar
Leo Lazauskas Leo Lazauskas is offline
Senior Member
 
Join Date: Jan 2002
Rep: 1816 Posts: 1,422
Location: Adelaide, South Australia
Quote:
Originally Posted by johnhazel View Post
3.0Ghz pentium 4 single core HT, 32bit windows

single instance 3:40

double instance 6:30
That's unusual isn't it? I thought the processes would each take about the same, or does this machine have little memory?

Quote:
Originally Posted by johnhazel View Post
(yeah I can paddle a canoe 50+ miles in a day and still be this much of a nerd....)
Nerd schmerd. I wrote the code while watching B-grade scifi shows and eating cold pizza for breakfast, because that's the way I like it
Reply With Quote
  #8  
Old 03-14-2011, 07:48 PM
johnhazel johnhazel is offline
Junior Member
 
Join Date: Jun 2008
Rep: 35 Posts: 40
Location: Michigan
Quote:
Originally Posted by Leo Lazauskas View Post
That's unusual isn't it? I thought the processes would each take about the same, or does this machine have little memory?
On the dual core tests the 2 instance finished in the same amount of time as the single instance. All that happened is that the second core became active and they processed in parallel.

The P4 is a single core processor so running a single instance of a program like this can take up all the processing power. Adding a second process forces them to share CPU time.

The P4 does do "Hyperthreading" which means it has 2 pipelines to the CPU that can be loading the next step while the current one is being completed.
It's something of a counterfit dual cpu.


BTW I do wish that Godzilla would continue to run in the background like this program does.
Reply With Quote
  #9  
Old 03-15-2011, 12:30 AM
Leo Lazauskas's Avatar
Leo Lazauskas Leo Lazauskas is offline
Senior Member
 
Join Date: Jan 2002
Rep: 1816 Posts: 1,422
Location: Adelaide, South Australia
Quote:
Originally Posted by johnhazel View Post
The P4 is a single core processor so running a single instance of a program like this can take up all the processing power. Adding a second process forces them to share CPU time.

The P4 does do "Hyperthreading" which means it has 2 pipelines to the CPU that can be loading the next step while the current one is being completed.
It's something of a counterfit dual cpu.
Ah yes, now I remember how they work.

Quote:
Originally Posted by johnhazel View Post
BTW I do wish that Godzilla would continue to run in the background like this program does.
The graphics version won't run in the background. My text versions produce no output while running and can be run in the background, but they require the number of evaluations to be specified in advance.

Thanks again,
Leo.
Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lifting Centreplates Chris Wren Boat Design 2 06-13-2010 06:19 PM
efficiency of surface drives and surface piercing propellers David Knight Powerboats 7 09-24-2009 04:10 PM
Lifting Keel JHuberman Boat Design 19 06-26-2007 02:11 PM
Lifting a Deck steveo Fiberglass and Composite Boat Building 2 03-10-2005 08:18 AM
Lifting Lines DavidG Boat Design 9 01-01-2004 11:00 PM


All times are GMT -5. The time now is 08:06 AM.


Powered by: vBulletin Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Web Site Design and Content Copyright ©1999 - 2012 Boat Design Net