Jump to content
Sign in to follow this  
Guest Mr. YONG CHIANG LIEW

Lackenby Shift

Recommended Posts

Guest Mr. YONG CHIANG LIEW

Hi, 

 

I'm trying out the Lackenby shift and can i inquire what if i only need the aft body to be adjusted? 

Is there a way to fix the forebody and only adjust the curve for the aft body? 

I've been trying but can't seems to find a way. 

 

Thank you!

 

Warmest Regards,

Jeff 

Share this post


Link to post
Share on other sites

Dear Jeff,

 

in the Lackenbyshift Transformation you can set values for the Delta Curve of the aftbody and the forbody. A possible solution would be to set those values in way, that only your aftbody is influenced by the delta curve.

 

Please see the screenshot below which shows you our Lackenby-sample modified to your requirements.

 

post-45-0-65083600-1454671292_thumb.png

 

Best regards

 

Matthias

Share this post


Link to post
Share on other sites
Guest Mr. YONG CHIANG LIEW

Thank you so much Matthias! it helped! :) 

Share this post


Link to post
Share on other sites
Guest Mr. YONG CHIANG LIEW

Hi, Matthias, 

 

Apologies for the trouble, is there a way for me to export the Lackenby Data? Such as PDF, etc? 

 

Warmest Regards,

Jeff

Share this post


Link to post
Share on other sites

Hi Jeff,

 

what data do you want to export? Numbers and curves?

 

When running one of our design engines you'll have the option to export the results table as pdf. If you set some of your input paramters of your Lackenby as engine evaluation, you will have those numbers in the pdf report as well.

 

Another option would be to code a feature which creates a *.txt output with the numbers you specify in the code. The *.txt output could look like:

 

Lpp ...

Delta CP ...

Delta XCB ...

...

 

In addition you could add output from your hydrostatics as well (e.g. volume,...).

 

In the feature documentation which you can find in the documentation browser you'll find a small piece of code which shows you how to create a feature which exports data into a file.

 

Best Regards

 

Matthias

Share this post


Link to post
Share on other sites

Hi Jeff,

if you need to export as.txt file, here there's a sample how to do this:

 

 

The idea is to put all your values and all the name of the values in a objectlist and the write them with writeline(string)

 

 

//

objectlist text_coef()
objectlist values_coef()

double los_los(los/(los_ship))
text_coef.add("L/LOS")
values_coef.add(los_los)

double cb(volume/(los*beam*draft))
text_coef.add("CB")
values_coef.add(cb)

double b_t(beam/draft)
text_coef.add("b/t")
values_coef.add(b_t)

double cobx_los(cob:x/los)
text_coef.add("XCB/LOS")
values_coef.add(cobx_los)

//

file.openReadWrite()
file.readAll()

loop(values.getSize())
file.writeLine(text.at($$i).castto(fstring)+" "+values.at($$i).castto(fdouble).toString())
endloop

loop(values_coef.getSize())
file.writeLine(text_coef.at($$i).castto(fstring)+" "+values_coef.at($$i).castto(fdouble).toString())
endloop

file.close()

 

Best regards,

 

Carlo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...