Jump to content
The search index is currently processing. Activity stream results may not be complete.

All Activity

This stream auto-updates     

  1. Last week
  2. Hi Heinrich, Thanks for your insight, I really appreciate all of your recommendations, very useful for the future! This was for a piece of University coursework, which I have submitted so this is now a low priority issue for me. Although I think being able to override the maximum number of degrees may be a useful feature, if all of the caveats laid out by Andreas are understood. I'll paste the question here, upload my file, and explain my reasoning below. I have three Bezier curves which are joined to form a composite Bezier curve: a straight line, a 4th degree curve, and another straight line. The 4th degree curve has G0 & G1 continuity with the straight lines. The task is to augment the 4th degree curve to obtain G2 continuity with the straight lines at either end of it. Based on the other questions asked and the teaching given, the intent is for the degree of the curve to be elevated and the new control points augmented to give G2 continuity. My method to achieve this is as follows: I interpolate the 4th degree curve to calculate the new control points necessary for degree elevation, this is handled by the feature script 'BezierDegreeElevation' in the attached file. This results in a curve with n additional control points which is identical to the original curve. However if the curve degree is elevated above 9 there are some discrepancies due to the curve degree hard limit. I can then align the appropriate points to gain G2 continuity. Handled by 'AlignCurveToOrthoPosG2' in the file. This results in an augmented curve which is no longer similar to the original basis curve. If I were to further increase the degree of the curve before aligning the points, the resulting augmented curve would better approximate its basis curve. Hence the desire for further degree elevation. I can show this with the following handy graph which illustrates the reduction in deviation due to degree elevation, this uses data from the feature 'evalMaxDeviationBeteweenCurves' from the file. I appreciate that this is a very specific case, though I could envisage scenarios where a designer may want to augment a curve for continuity reasons, and then closely approximate that basis curve. Particularly in the marine hullform design space. Many Thanks, Tom Q2.cdbc
  3. I would like to design (attached below) rim type prop blade, it is for my project, how can do it? best regards shafeeh theory_based_naca66 v4.iges
  4. HI Shafeeh, Here is a model of a rim drive. Best Regards Clausrimdrive.cdb
  5. Hi. I was wondering if anyone had any experience designing a tip or rim driven impeller using CAESES? I am going to work with this in my thesis and I am currently doing research on what software options I have. Best regards shafeeh
  6. HI Heinrich, Thank you for your reply, I will try it. Best Regards YuKai
  7. Hi Tom, technically for B-Spline and NURBS curves the degree can be up to number of points minus 1 (in CAESES it is indeed currently limited to 9 though). For G2 a degree of 3 is all that is needed. With 4 you can already get continuity in the change in curvature... Personally, I rarely go higher than 4 or 5. Maybe the question is what you intend to do (you wrote that you want to get close to a given curve. However by increasing the degree you get the opposite: a degree of 1 still interpolates the control points. When increasing it, you get further and further away from it (and, as Andreas pointed out, trade local control for global a one). If you want a good approximation you can try some of the following options: 1. A C-Spline (this is an approximation of a point cloud and you are free to choose the number of points and degree (still 9 is the limit)). Prone to oszillations. 2. A generic curve that reproduces another curve but has a limited number of control points. That is a nice trick but no tangent information at the ends are taken into account. But that can be fixed. 3. An approximation curve (there is an operation called approximate by tolerance). Relatively new type, I like it a lot because it let's you choose tangents and degree. Results in very accurate approximations with only a few control points. Only downside: it will not give you a distinct number of points. 4. An interpolation through a number of points on the original curve (operation called approximate by point interpolation). Depending on the number of points and chosen interpolation method the results may differ. 5. Depending on the actual problem you are facing, typically you can get the best results if you re-model curves (potentially piece-wise) and capture the design intent. An F-Spline often times works wonders here (i.e. keep the original tangents, maybe even curvature at the ends and same area under the curve --> this will typically leave you with a very similar shape but perfect smoothness since the F-Spline is fairness-optimized) If you post your project or a sreenshot of the curve you want to approximate I may be able to give a more targeted advise. If you really just need a degree higher than 9 I can touch base with the dev team and see if they can make it happen. Cheers, Heinrich
  8. Hi Andreas, Thanks for your response. I'm elevating to high degrees for the purpose of G2 curvature continuity and to ensure very low deviation from a lower-order non-continuous basis curve. Control point positions are automated and I am not concerned with increased computational load/complexity. I do have a reason to want to do this. I know that Rhino can natively compute Bezier curves up to the 12th degree, and I am wondering if it is possible to lift or be above this limit in CAESES. Thanks, Tom
  9. Hi, Typically, a B-spline curve of a 3rd degree provides sufficient smoothness for engineering applications, with the number of control points being independent of the curve's degree. This configuration allows for localized control over the curve by adjusting individual control point positions. In contrast, the number of control points in a Bezier curve is directly tied to the curve's degree. This affords global control over the curve, meaning altering a control point's position affects the curve's shape across its entirety, which may not always be desirable. In conclusion, increasing the degree of a curve beyond 9 introduces computational complexity that is unnecessary for practical engineering purposes. Best Regards, Andreas
  10. Hi There, The maximum degree of an FBSplineCurve type appears to be limited to 9. I am producing curves with many more points than 10, is it possible to override this maximum and apply my own limit so that the degree may be correct to the number of points?
  11. Ah as soon as I typed that I found the bug! Amazing what a bit of sleep will do. I had neglected to cast the first and last points in the entityGroup of points to an FPoint type. Although they rendered on screen as points it seems like the spline curve was not actually reading them as points, which was maybe interfering with the allowable length of the knot vector?Weird... Anyway, Thank you very much for your help!
  12. Hi Heidi, Thanks for your response. The knotVector that shows in the curve inspection window is not the same as the knotVector that prints to the console. The vector I construct in the script has 14 values, while the one populated in the inspection window seems to have 10 values?
  13. Hi Thomas, Your code seems to work fine and sets the knot vector correctly for the b-spline curve. However, the display field of double series attributes in feature definitions has a small bug. So to see the values of the knotVector doubleseries you can drag and drop the "knotVector" into the console field and press enter. Cheers, Hedi
  14. Hi There, I'm currently writing a feature that will elevate the degree of a given B-Spline by generating new control points. My feature generates a curve and the points correctly. I am running into an issue with the Knot vector for this augmented curve. I am constructing the knot vector as an FDoubleSeries, this appears to be as per the documentation for the curve command .setKnotVector() The code evaluates with no errors, I can see that the correct number of items are in the series, but the double series does not appear to play nicely with anything else. I'm at a bit of a loss. I've placed the relevant code below and attached the working file, please excuse it's structure, it is a practice exercise. Any help is appreciated! //Constuct Knot Vector FInteger numPoints(augPoints.getSize()) FDoubleSeries knotVector([]) //Case where num Points is 10 or less if(numPoints<=10) loop(numPoints) knotVector.add(0) endloop loop(numPoints) knotVector.add(1) endloop //Case where num Points is greater than 10 elseif(numPoints>10) FDouble knotFraction(1/((numPoints-10)+1)) loop(10) knotVector.add(0) endloop loop(numPoints-10) knotVector.add(knotFraction) knotFraction += knotFraction endloop loop(10) knotVector.add(1) endloop endif echo("" + knotVector.getCount()) beginPersistentSection() BSplineCurve augCurve() augCurve.setDegree(augPoints.getSize()-1) augCurve.setKnotVector(knotVector) augCurve.setPointList(augPoints) endPersistentSection() Q2.cdbc
  15. Hello Yasin, As you asked at the helpdesk as well - here the answer public for everyone. Sometimes it can happen, that the license stuck on a PC/Node. For this case, you can release the license on your own: Best, Carl
  16. Hi Yukai, you can set up an inequality constraint and use it in your Software Connector under Execution Settings for that. Cheers, Heinrich
  17. Earlier
  18. Hello!! How should I set constraints so that CFD will not run when the slpoe parameter is greater than 45? Let CFD only performs the parameters I want Thanks for yours help !! Best Regards YuKai
  19. Hi everone, I have a student licence of Caeses. Last week i were using Caeses for my maste thesis. But now, i received and error like that. How i can solve this problem? Thank you. Best Regards
  20. Hi Yasi, in your screenshots I can see the 3DView and 3DWindow: If you select them and don't see what you are looking for, check that the objects are visible in the object tree, as well as the filters of the individual views. I recommend to familiarize with the GUI by going through some of the basic tutorials. There is one specifically about object visibility as well in the GUI section... Cheers, Heinrich
  21. Dear Heinrich. Firstly, thank you so much for your answer. But the problem is continue. In 2 hour ago, i was see the pic 1. I applied your advices but not solved yet. Yasin
  22. Hi there, you can reset the GUI layout to default here: also, if you right-click the dark ribbon on the left you can find windows that are currently not shown: Cheers, Heinrich
  23. Hello everyone. I'm a MSc student. I'm studing piston bowl optimization on my master thesis and i received CAESES project documents from a researcher. I opened the project but i don't see 3D view. I want to see his project's details include 3D geometry. How i can see? Btw he studied combustion and emission with converge cfd Thank you
  24. Hello Carl Thankyou for the help. I am trying to deploy this on a cluster. It is much need to to create FSC file. I am currently using software Connector. Regards Yuvraj
  25. Hi Yuvrai, The sobol you would like to run, needs to be called in the fsc script as well. Insert below the exports |<NameOfDesignEngine>.run() , e.g. |sobol1.run() . If you use the auto generation of fsc scripts in CAESES only the current state of the project will be implemented (1st open project file, 2nd set design variables). All actions you want to be done additionally you need to add into the script manually. But the lines added in the fsc are only called once. So if you want to export each design geometry of a design engine you need to use a software connector instead. best, Carl
  26. Hello CAESES I am trying to run a optimization module through the batch mode but not able to get specific keywords in the script file. Please guide me how to get specific keywords to run a sobol project in batch mode. It just export one single stl file which I mentioned but doesnt run the sobol. Thankyou trial.fsc
  1. Load more activity
×
×
  • Create New...