Anyone wish to develop a custom script?
 1-13  …  134-153  154-173  174-193  194-213  214-223

Previous
Next
 From:  Barry-H
4801.174 
Hi Anthony,
could you post the curve file that requires the projecting onto cylinders (shown in your video) as a Moi drawing so I can try to understand the construction method that you want to be automated.
Cheers
Barry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.175 In reply to 4801.174 
hi barry,

thanks for taking the time to look into this. unfortunately, I don't have the xyz file associated with the model shown. I do however have the rhino file. I have attached that for you. The points that were imported are in the file. This was an old model that is no longer consistent with PROP_DESIGN. I showed it because it was setup already and showed some problems with rhino. After the screencast, I went back and tried some things to get the projected geometry to work. I couldn't find anything to make it work out. For some reason, rhino breaks the geometry when you add any sort of root fillet to it. The red model wasn't an issue. The green model was done with a flat plate cross-section using an ellipse for the le and te. I didn't talk about that in the screencast. So it's an additional profile you could work with if you wanted. So the overall profile selection needs to be something like:

1) naca 65a009 airfoil with original le (an ellipse) and original te (a small radius arc)
2) naca 65a009 airfoil with original le and increased radius te
3) naca 65a009 airfoil with the le connected with straight lines and the te going to a point (for simplified fea blade models)
4) flat plate with radius at le and te, user defined thickness (for stalled models like computer case fans and house fans)
5) flat plate with ellipse at le and te, user defined thickness
6) straight line (midplane fea model, this is super easy to do manually though so no real need to automate it)

the main thing that would save a lot of time is something where you could select and define what kind of profile you want. then have it copy and orient that cross-section in all the right places. then an option to project onto cylinders. if there is airfoil or blade sweep, the projected cross-sections need to be rotated into position. once you get that far, the rest isn't too time consuming to do manually.

when I first created xyz, it was done with the idea you could do a 2 rail sweep using one profile. however victor, the developer of mecway, noticed rhino wasn't working right. so since then, I have had to do either a loft with multiple sections or a 2 rail sweep using the sections you would with the loft. rhino often makes you fix the orientations if you do a loft. the 2 rail sweep seems to work better as far as any need for additional corrections. but in that case, you have to manually make new rails when the airfoils have been projected onto cylinders. rhino has all sorts of problems. I have had to work around them. too many to list or even remember. so i'm not sure how well moi will work. but it certainly can't be any worse than rhino. they have set the bar as low as humanly possible.

if you need, I can make a new file using the current version of prop_design. it takes quite a long time to do. and there are all sorts of blade options. so it's not really possible to manually make a model for every conceivable situation. usually, I use the swept computer case fan. however, some of the options will make the radius have a different z value for each location. so those types of blades will be even more of a time suck to setup. it use to be that the swept computer case fan was the most challenging geometry. that is why I have worked with it all this time. but now, there are a few more options that would be even harder to do. I tried to expose everything one would need to know about the blade. if I forgot something or if something could be done to make automation easier, I can make changes to xyz. as far as I know, it should be good enough to start the process off.

let me know if I can be of any more help.

thanks again

link to file shown in screencast; https://drive.google.com/open?id=1x6GDAmBHWd3J8uBcUfuC4RxMfm3TeraJ

EDITED: 18 Feb 2019 by PROP_DESIGN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
4801.176 In reply to 4801.172 
Hello Anthony,

In a first step I´ve written 2 new nodes to evaluate vectors from lines and create frames/coordinate system from two vectors.



Maybe at the weekend more!

Have a nice day
Karsten
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.177 In reply to 4801.176 
wow, very cool. thanks karsten.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
4801.178 In reply to 4801.175 
Hi Anthony,
thanks for the file I can see the construction method better now. Based on that I can see it's possible to calculate the angles the airfoil profile needs to be rotated to be square to the circle (cylinder) for projecting onto the cylinder or I would suggest using Isect tool with a half circle and the airfoil profile.
I did a quick test using the node editor with the intersection node and that worked but it produces a surface and I need to be able to extract the edges from it and not sure how that is done at the moment. I have posted the problem on the forum and hopefully someone more able than me with the node editor will supply the answer.
It would be helpful if I could have the point file for the model you posted so I can do the maths for the rotations.
My thinking is that the Circle the rotation of the airfoil profile about origin and rotation (2 directions) of airfoil about it's own datum can be calculated to then Isect to give the desired profile that is the rotated back for the production of the blade.

Cheers
Barry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.179 In reply to 4801.178 
hi,

sorry for the slow reply. it's been one of 'those' days. the example was based on option 4 of the xyz settings file. however, it was done with an old version of prop_design. so I can't re-create the exact info any more. if you want, run option 4 and generate new data. it will be similar. the angle you want to know is output by xyz. it is the file 'GNUPLOT_2D_TOTAL_SWEEP_ANGLE.DAT' the first column is radius in mm the second column is the angle you want to know in degrees. also the rail points will have the same angle baked in but it's difficult to extract that way. also output is the twist angle.

you can make the example more challenging by changing the chord distribution option from 1 to 3-5. 2 is a little more challenging but it still has the radius starting at the origin. one thing with projecting the geometry onto cylinders is you may need to make new le and te rails. so that is harder to do when you have the tips going to a point.

if you need me to generate files for you let me know. it's probably easier just to run the code yourself. once you understand how it works it's extremely easy to run. only takes the blink of an eye to generate a design. if you are just creating geometry for art/games/etc... you don't need to do any analysis on the designs you come up with in xyz. installing gnuplot would be useful so you can see some of the plots. they have the units shown. so if you aren't sure what the units are you can look at the plots to see. also the midplane is created there as well. but just for viewing rather than for cad.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
4801.180 In reply to 4801.179 
Hello Anthony,

now I understood how to generate data with your software:-) Really quite simple. I took the A400 example to get more complex test data. I had to make some new nodes. There are some difficulties to evaluate all coordinate systems. And I'm not sure if anything is right. Especially the placement of the profile curves. Should they placed normal to the span curve or should the z-axis in the plane of the profile?

Please have a look to the attached result.

Have a nice weekend
Karsten

EDITED: 6 Mar 2019 by KMRQUS

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.181 In reply to 4801.180 
hi karsten,

thanks for continuing to look into this. i'm glad you find prop design easy to use. that was one of my main goals. unfortunately over time the inputs and settings grew. but there wasn't really anything I could do about that. i'll take a look at the file and get back with you. in the mean time. there is a video that covers a few things I forgot to mention the cad issues video. i'm not sure if you seen it or not. it may help to answer your question too. the links for the video is; https://www.youtube.com/watch?v=jNkNNawmfJ0
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.182 In reply to 4801.180 
hmm, kinda hard to see what's going on in the model. that is a hard blade to model. I will model it manually and post the file for you to look at. I won't project onto cylinders though because that takes forever. with the tip going to a point, that makes it worse as well as far as projecting onto cylinders. but hopefully, the file i'll send you will help to see the default layout. the airfoils should align with the rail points that come out of prop design. if that makes sense. the orientations are always the same so once you get something working it should always work. I posted a file a few messages back for another user. it is the one shown in the screencast. it too may help you see the orientations. it has all of them in there too. so it is more thorough than what i'll send this time.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.183 
so that was useful. I started recording a screencast for you and right away ran into a bug with xyz. I fixed the bug but haven't posted the update yet. I finished the screencast too but have to upload it. I also have to finish working on the rhino file. So lots to do. Give me an hour or so to get everything done and I'll post the file when I'm finished with everything. Hopefully, this will all answer your question.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
4801.184 In reply to 4801.182 
Hello Anthony,

please don't generate the complete model. It's a lot of work - only 1 or 2 curves in the tip area where the span left the parallel to the xy plane. The shown examples don't show the orientation of the profile and the base coordinate system fro the orientation to the cylinder, because the span is nearly in a plane. By the way, the model was complete generated by the node editor. It's a hard peace of cake, but it helps me to improve the node editor extensions and understand the node editor itself. Now I have to view your video on YT:-)

Have a nice day
Karsten
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.185 In reply to 4801.184 
there seems to be something odd about a few of the airfoil positions. i'm looking into it now. but I posted the file and associated screencast. it may help. let me know if you have more questions. it looks like it's going to take awhile to dig into this on my end.

EDITED: 18 Feb 2019 by PROP_DESIGN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.186 In reply to 4801.185 
I think there may be some bugs in xyz. I checked a few of the angles for the model in question and they don't match what they should be. It seems like the le and/or te rails may be incorrect. I'll keep working on it.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.187 
here is the swept computer case fan example. it's setup to the default cartesian reference frame. I ran into a rhino issue when doing it. so i'm going to go back to the example you mentioned and see if it was rhino messing up again. I came across a really weird orient problem. some of the airfoils came out right and a bunch came out wrong. so I had to redo them to get them setup right. so it maybe that oddball angle was a rhino problem. i'll keep working on it. but the attached file may answer your question better. everything appears in order with this model.

EDITED: 18 Feb 2019 by PROP_DESIGN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.188 In reply to 4801.187 
hi karsten,

so I made some errors creating the last two airfoils in the model I sent you for the a400m blade. I have it oriented much better now. the angle of attacks match. there isn't that odd angle showing up. however, the sweep isn't matching up exactly. so I still have to look into it a little more. I found you can use the 2 rail sweep going to a point with multiple cross sections. to smooth it out I skipped a few of the cross sections around the kink. the solid looks a lot like the one I usually get using just the first cross section. I also curve fit the rails to work out the kink, as mentioned in the video. so it's much better now. there may not be an issue with prop design. but i'm still not sure. I am seeing a much smaller difference. at least it's not a huge difference like I was getting.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.189 
hi karsten,

ok. so there were some rhino issues with my first attempt at the a400m blade. I left the links up to the file and video. However, I attached a new model and video to this message. The model seems to be accurate now. The video goes over the model. The only thing I see is that the sweep measurements are based off the te in this case. basically the sweep measurement is bouncing from various places. some models it would be the le, some the span, and some the te. this happened with the 10th anniversary update. I basically have to choose if I want the model to bounce around or the sweep measurement to bounce around. I thought it was better to keep the model from bouncing and hadn't realized the affect on the sweep measurement until now. the sweep seems fine it is just how the measurement is done that is changing. so it's probably something I should mention in the documentation. I don't think any changes to the code are needed right now. it is pretty confusing though.

anthony

EDITED: 18 Feb 2019 by PROP_DESIGN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
4801.190 In reply to 4801.189 
Hello Anthony,

Thank you very much!
I got it. I will try to correct the positioning of the profiles tomorrow.

Karsten
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.191 In reply to 4801.190 
yw karsten. i'm concerned I created an issue with certain chord distribution options. the sweep should really be defined at the aerodynamic center for all chord distribution options. I was surprised to see that wasn't the case on the a400m. I suspect options 3-5 are messed up. I'm not entirely sure how to fix that right now. hopefully this won't mess you up too much. if I have to make a code change then I also have to make new input files etc... so the example geometry may change slightly. I have to figure out what's going wrong first. seems like I fixed some things only to break others. i'm really glad you brought this to my attention. for now stick to options 1 and 2 and you should be fine to use the total sweep angles output by the code.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
4801.192 
@Barry,

It seems something is wrong with the email system. I'm not sure if this is what you looking for. Please replace the links for the csv files and adjust the extrusions.

Have a nice day
Karsten
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Anthony (PROP_DESIGN)
4801.193 
hi karsten,

I finally made some progress understanding that bug. I think ultimately nothing is going to change as far as for you. I just need to make some changes so the analysis is correct. Unfortunately, understanding the angles is pretty difficult. More so than I thought. I will have to make some pictures and things to try and explain it for the documentation. But basically the total sweep angle is measured in the top view (x-y). It would be about the local z axis of each cross section. In the videos I was saying the global z axis but that's not the case. So if you are using the total sweep angles from the file that is how to use them. I will have a new version of PROP_DESIGN out at some point but I don't think it will change much from what you are seeing and dealing with.

although on second thought. I can now compute the total sweep angle at the aerodynamic center. so I can output it as well. that may fix the whole mess of different reference points. In that case, you could measure everything from the ac. which is how it's supposed to be. i'll see about doing that. not sure what will happen. but i'll get back with you.

EDITED: 17 Feb 2019 by PROP_DESIGN

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-13  …  114-133  134-153  154-173  174-193  194-213  214-223