
Mr. Heinrich von Zadow
Moderators-
Content Count
223 -
Joined
-
Last visited
-
Days Won
12
Content Type
Profiles
Forums
Articles
Media Demo
Gallery
Blogs
Calendar
Everything posted by Mr. Heinrich von Zadow
-
Surrogate Assisted Optimization
Mr. Heinrich von Zadow replied to adrian.portillo.juan's topic in General Modeling
Hi Adrian, but can't you just open the project in CAESES and adjust the boundaries of your LHS sampling algorithm in the GUI? You can then still run the project in batch mode for the generation of the designs... Or do you do the sampling (i.e. LHS) through a method within your python setup? I'm asking, because CAESES does also provide LHS sampling... Also, instead of sampling a large design space and then another one in a second iteration, you could use the adaptive sampling method within CAESES. This will automatically start with a LHS and then switch to an adaptive mode based on uncertainty quantification or other criteria. You can check the documentation for an example on how to run CAESES in batch mode. Cheers Heinrich -
Fuction rand() generates not-really-random values
Mr. Heinrich von Zadow replied to Sody's topic in Feature Programming
Hi Sody, I think one should be careful when using the rand() function in a persistent feature. It seems to remember a fixed seed somehow. If you do not create a persistant feature instance in your project, but rather just transiently execute the definition repeatedly it should behave as expected. Cheers, Heinrich -
ffd FFD or deltashift Command question
Mr. Heinrich von Zadow replied to Graychen's topic in General Modeling
Hi there, this looks like you are shifting control points too much (or maybe you are shifting them smoothly but accidentally left out a group of points that is just outside the range thereby folding the polygon in an unwanted manner). Try looking at the control polygon to get a better understanding of what went wrong. In addition, I highly recommend to update to the latest release. Cheers, Heinrich -
Hi Adam, that looks promising already. When combining everything, you need to distinguish between boolean operations and simply adding sources. I went through your model and corrected a few things -- mostly adding the domain faces one-by-one using individual "add sources" operations. While doing so, I colored each operation so that your inlet/outlet/periodics, etc are colored reliably. I did the same for the blade and extruded and closed it to obtain a closed solid (you don't want any open/red edges and your final BRep should be closed > you can tell it is closed from it's icon being filled with grey color). Then there is only one boolean operation: substracting the closed blade from the closed domain. Since the blade and tip are already colored, the colors will "imprint" onto your domain during that operation. Hope this helps. Cheers, Heinrich FAN4_HvZ.cdbc
-
Hi Adam, take a look at BReps -- they are the way to go when combining, uniting, substracting, etc. various parts of your geometry. For boudary conditions you can make use of colors (their names) which can be applied robustly even when topologiacal changes occur in the model during shape variation. You should be able to find everything to get started within the help menu of CAESES. Cheers, Heinrich
-
CAESES outputs NAPA-format hull line file
Mr. Heinrich von Zadow replied to Mr. Chang Xie's topic in Ideas and Suggestions
Hi there, a few users have successfully implemented such features with varying degree of complexity. If you are familiar with NAPA definitions you can easily write a custom export in CAESES. However, there is no solution readily available in CAESES. Kind regards, Heinrich -
Hi Yuvraj, if everything else is set up correctly, you should be able to abort the CFD run and just take a look at the 'finaldata' file that is written by Dakota. This contains the predicted optimal design (or Pareto set, if multi-objective) and the predicted evaluations. Kind regards, Heinrich
-
CAESES to ANSYS Workbench Boundary Colors Issue
Mr. Heinrich von Zadow replied to Praveen's topic in Software Connections
Hi Praveen, thanks for the update, much apprechiated. Indeed, surfaces do not propagate their colors, BReps do. Cheers, Heinrich -
CAESES to ANSYS Workbench Boundary Colors Issue
Mr. Heinrich von Zadow replied to Praveen's topic in Software Connections
Hi Preveen, not sure if the problem still persists on your side? Have you chacked the documentation on boundary coloring/naming in CAESES? It should give plenty of information. Generally, there are no limitations on what colors can be exported ot not (except from export formats that do not support coloring). The name exported will always be the name of the color unless you specify a custom export name for that color. Cheers, Heinrich -
CAESES to ANSYS Workbench Boundary Colors Issue
Mr. Heinrich von Zadow replied to Praveen's topic in Software Connections
Hi Praveen, how did you label/color the subsequent BRep faces? Have you tried to export and import back to CAESES to verify the colors are there? Cheers, Heinrich -
Difference between i=i+1 and i+=1
Mr. Heinrich von Zadow replied to Piero Favero's topic in Feature Programming
Hi Piero, that should definitely work. My best guess is that the problem arises somewhere else in you feature. Could you post the complete Feature definition? Cheers, HEinrich -
Problem Connecting to OpenFoam
Mr. Heinrich von Zadow replied to gratschiller's topic in Software Connections
Hi WX, have you been able to resolve the issue in the meantime? Does it start the allrun script from within CAESES and have you set up any result values or files such that CAESES would know what to look for and when to consider the computation finished? Cheers, Heinrich -
Modified CSV files cannot be used as result pools
Mr. Heinrich von Zadow replied to Yukai's topic in Variation & Optimization
Hi Yukai, you can import the csv file via "Import Result Pool" in the optimization workspace to use it as a database for subsequent optimizations. Cheers, Heinrich -
Hi Alexis, if you choose to use existing result pools, designs that have been simulated before will not be simulated again. Instead, the old results will be linked. Cheers, Heinrich
-
Hi Alexis, Sobol+NSGA2: no, unfortunately you cannot re-use the Sobol as first generation of the NSGA2. Constraints: Yes and no... If constraints are such that you can evaluate them before running the external computation (e.g. hard points limiting geometric freedom, geometric properties like cross sectional area, volume, etc.) you can set them at the software connector: This way, no external computation will be run for infeasible designs. If you specify them at the Design Engine, the external computation will run anyways. Sometimes, a mix of both makes sense... Apart from that, in many cases it is possible to set up a geometric model in such a way that constraints are always fulfilled -- this is mostly a matter of clever parametrization and modeling but you can also make use of nested optimizations (e.g. to adjust a free variable automatically in order to fulfill a constraint). Cheers, Heinrich
-
Free Form Deformation of a ship's stern
Mr. Heinrich von Zadow replied to alexandros's topic in General Modeling
Hi Alexandros, I'm happy to show you the process, it is pretty straight forward. However, as will any partially parametric modelling, you will need a good baseline geometry if you want to achieve a nice shape variation. In your case, I recommend you to remodel the skeg first. Cheers, Heinrich -
CAESES file reading problems and parameter setting problems
Mr. Heinrich von Zadow replied to Yukai's topic in Miscellaneous
Dear Yukai, no worries, just had to make sure I understand the problem. If you want to trigger a CFD through CAESES you can either manually run the software connector or perform an optimization which will automatically trigger a CFD evaluation for every design variant. If you want to change the configuration you can change the templates in the software connector (as you described) or modify an input file on your computer to which the software connector refers. Generally speaking you want to use the template approach if you want to modify the input file for each design individually. If the input file is the same for all design variants, it is enough to supply that file to CAESES as a reference. Any changes you make in a CAESES project will be saved (temporarily in a recovery file and permanently once you manually save the project). What I could imagine is, that you changed a parameter for a particular design (i.e. after a design engine run, you can switch into any of the evaluated designs, unlock them and do modifications) -- these changes will not be reflected in the baseline design. Maybe this is what got you puzzled? If you can reproduce the described behavior, I'll gladly take a look to find out whats going wrong. Cheers, Heinrich -
CAESES file reading problems and parameter setting problems
Mr. Heinrich von Zadow replied to Yukai's topic in Miscellaneous
Hi YuKai, where exactly do you "modify any parameter in Openfoam"? Do you refer to changes in the template files of the software connector? Any changes in a project that you saved should never change back after re-opening the project. If you arrive at a different state the only reaso I could imagine is that you shoose to recover a crashed file upon opening. In this case, the recovery file and not the project file will be opened which could bring you to a different project status. Best regards, Heinrich -
Problem Connecting to OpenFoam
Mr. Heinrich von Zadow replied to gratschiller's topic in Software Connections
Hi Gian, can you manually run the Allrun script in the design directory? Cheers, Heinrich -
Hi YuKai, indeed, this might be a problem with your graphics card. Can you run getGLinfo() in the CAESES console an post the output here? Cheers, Heinrich
-
Hi there, do you have any specific reason for still using the 4.4.2? I highly recommend updating to the latest release, this alone should give you a significant increase in speed! Cheers, Heinrich
-
Hi Jan, I don't think there is an option in CAESES to adjust the sensitivity of the zoom. Maybe you can look into the driver/settings of your mouse? Anything else in your setup that might cause the problem (particularly high resolution display, remote desktop, etc)? How does it feel if you hold down ctrl and use the right mouse button while moving the mouse up and down? Cheers, Heinrich
-
Dakota Local Optimization question
Mr. Heinrich von Zadow replied to Yukai's topic in Variation & Optimization
Hi Yukai, it looks like you are trying to optimize multiple objective functions simultaneously? You can either use a suitable optimization algorithm NSGA2, MOSA, RSM-based or introduce a single objective (e.g. as a weighted sum). Cheers, Heinrich -
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