Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 42 Next »

The AMendate program allows to build an optimization model, to start this optimizationon a local level as well as via an interface with a server and to visualize the results.


Starting the Program

When the program is started, the projects menu appears first. In the "Local working directory" the storage location of the projects can be seen. The location can be chosen arbitrarily. In the "Projects" tab, an existing project can be renamed and opened, or a new project can be created. In addition, in the "Example Projects" tab, already prepared example optimizations can be opened and used as a template or tutorial.

The menu can be accessed at any time via the "Menu" filed. Next to this the name of the currently active project is located.

Summary

  • Menu "Projects" to create or open new projects
  • There should be no spaces or special characters in the memory path
  • "Sample Projects" offers already built up optimizations as templates and tutorials

Settings

The settings button opens a menu in which various visualization and general settings can be made. All settings are saved and retained when the program is reopened. (For professionals: in the file XXXXX further settings can be made on text basis.)

The tab "Visualization" offers settings around the image area. Both the graphical representation of the objects and the representation of the boundary conditions and results can be changed.

The tab "General" contains the language of the interface, the used unit system and the definition of a standard load case activated from the beginning.

Summary

  • The settings meu offers many options fpr customizing the software, divided into the tabs "Visualization" and "General"

Visualization Space

All loaded objects as well as forces, moments and fixations are displayed in the visualization area during the model generation. In the results area, the view changes to display the calcualtion results.

The display of the coordinate system can be reduced/enlarged or deactivated via the settings menu. In addition, the background pattern and color, brightness, shading and edge smoothing strength can be adjusted. In addition, the colors of the objects and boundary conditions can be adjusted according to your own ideas

Using the buttons in the lower right area, you can select both an orthographic and a perspective view, as well as different views according to the coordinate axes. In addition, screenshots of each view can be created and automatically saved in the project folder. Only the visualization area and the coordinate system are considered. The program interface itself is not saved.

The "Explosion" function pulls the individual objects apart to ensure a better view of the individual objects. Sometimes boundary conditions in this representation can be better applied to individual sub-objects.

In the visualization area there is a field in the bottom left corner in which messages are played back to the user. These messages contain both positive messages, e.g. when successfully loading a new file, and error messages, which are intended to draw the user's attention to a particular situation. This field can also be expanded upwards to display older messages.

Summary

  • Display of all relevant information in the visualization area
  • Extensive adjustments possible via the settings menu
  • Various buttons at the bottom right to control the display
  • Success and error messages are displayed in the information field

Model Generation and Visualization of an Optimization

The program is mainly divided into the three areas "Configuration", "Optimization" and "Results". The "Configuration" tab contains all settings for load cases, loads, materials and solids. Analogue the settings for the optimization parameters are entered in the Optimization tab. In the last tab "Results" the progress can be followed and the results can be viewed after starting the calculation.

The project can be saved at any time at the bottom left and continued at a later time.

Configuration: Definition of the Optimization Model

The Configuration area contains the "Load Cases" area in which load cases are added and/or removed. A name will be assigned to each load case, e.g. braking or accelerating. Either all required load cases can be created directly at the beginning or step by step during model construction.

Below are three further tabs, which are described in the following:

Objects/Surfaces

First, all STL files required for the optimization are loaded into the program in the "Objects/Surfaces" tab. This can be done either via the "Plus" button or by drag-and-drop from the Windows Explorer. Incorrectly loaded or revised objects can be removed individually or replaced by a new version. A removed file will not be considered during the optimization, but it will not be deleted from the project folder so that it can be loaded again.

An STL file is activated by clicking on it, so that a property field opens in the lower area.

  • Here you can change the name and select the material.
  • The material database can be extended with specific material properties via the gear next to the material field. (The Material file is saved in your personal AppData folder.)
  • For exactly one volume, the assignment must be defined as a design space. Several design spaces within a model are not possible, even though the volume of the design space may be shaped as complex as desired.

Boundary Conditions

In the Boundary conditions area, the "Plus" button is used to create the boundary conditions required for optimization. To do this, enter a name and select the concerned space. The load case relevant for the boundary condition (several are also possible) is then activated in the lower list of load cases. The boundary condition can be either a force, a fixation or a moment. Forces, fixations and moments are always specified in component notation in the main coordinate directions

Although the units within a model must be consistent, the choice of the unit system is left to the user (see Settings). The metric system is provided with the units kilogram, millimeter and Newton (kg, mm, N). STL files are often stored in mm and forces are given in N. Accordingly, the unit of the appropriate moment is Nmm

For the different boundary conditions, there are different approaches for the structure and design of the optimization model. In the following, different possibilities for the generation of different boundary conditions are presented and special features of the software are pointed out. A specified boundary condition (force, fixation, moment) always refers to the entire object. To support the input process, an area of a volume can be clicked directly after activating the check box "Force" or "Moment" and thus a direction orthogonal to the surface can be defined. This can be particularly advantageous for round surfaces, hollow cylinders of bolting points or bearing seats. By dragging the mouse pointer, an approximate load size can be defined directly afterwards. The exact values of the spatial directions can then be corrected and adapted via the input fields.

  • Loads
    • Forces are specified per object (volume) and distributed evenly over this object.
    • For a surface load, the active surface with thickness 0 must be loaded as a separate object (.STL file).
    • If only a single force is to act as a point load, a separate (very small) volume must be generated for this. Here it should be pointed out that an idealized point load in reality always corresponds more to an area/volume load!
  • Fixations
    • Displacements can be locked in the x, y and z directions.
    • The activation of all displacement restrictions corresponds to a fixed fixation.
    • A floating bearing can be created by selecting only one or two displacement restriction(s).
    • For optimization, each direction must be locked (activated) at least once on any object, so that no rigid-body movement can occur. (Exception when using symmetry, see below).
  • Moments
    • Moments also affect entire objects and can be defined in x, y and z directions. The right hand rule can be used to imagine the direction of rotation.

Summary

  • Uploading objects and assigning the respective properties

  • Input of the applied boundary conditions

Optimization (Definition of an Optimization)

Using the previously defined materials and boundary conditions, an analysis can already be performed for the selected geometry. In order to carry out a geometry optimization, further parameters must be set.

Design Type

First of all, a distinction can be made between the three settings "filigree", "normal" and "massive". This influences the design, which means that "filigree", "massive" or "normal" structures are formed during optimization. An example for the different settings is shown in the picture below. It should be noted that an optimization result with the "Filigree" setting is not automatically lighter than a "Massive" setting, because many fine struts can make the weight heavier than a few massive ones.


Figure 1: filigree, normal, massive


Calculation Type


Further it can be selected whether only an "estimation", an "optimization" or an "optimization" up to the printable design should take place. In most cases, an "estimation" only takes a few minutes and gives an overview of the weight and stress development that an optimization can achieve under the given boundary conditions. The "optimization" can take up to a few hours, depending on the conditions, and provides a detailed/high resolution design proposal. The "Manufacture" option takes the longest time, because here the resolution at the end of the optimization is significantly increased in order to obtain a good printable surface and structure of the component in detail.


Figure 2: estimate, optimize, manufacture


Optimization Goal

Then the optimization target must be defined. With AMendate, a target stress is specified that serves as the reference during optimization. For this purpose, a fatigue strength value of the material can be used and provided with an additional safety factor. The software does not take any safety factors internally into account when determining the design. This must be included in the maximum stress by the engineer. Through the stress-oriented optimization, an optimally uniformly loaded component is developed, in which above all the transitions between struts and surfaces are formed optimally and with few stress increases. The standard unit of stress MPa = Nmm^2 corresponds to the previously mentioned system of units


Symmetry

An axis symmetry around the coordinate origin can be selected for the calculation of symmetrical components. A model structure with complete geometry is recommended for this. For the calculation, however, only the positive area of the spatial axes is used, the result is then mirrored into the negative area. Both the geometry and the boundary conditions are mirrored. Therefore, for loads beyond the zero point (e.g.: area load of a symmetrical bridge), only the load portion for the positive coordinate space may be specified (halved force, corresponding to half the area, e.g.: only force on one of the bridge sides). For a correct calculation ALL boundary conditions must be symmetrical, this applies to fixations, forces and moments. Errors can easily creep in, especially when defining moments.

Configuration File

Finally, all the specified information can be viewed in the configuration file. Other special settings are also possible here, which are of particular interest to simulation experts.

Together with the stl files, the configuration file is the only input parameter for optimization.

The following settings can be made under User Setting:

onlyFEM

An analysis of the design space is carried out.

Further settings can be made in the FEM area:

solver=

Extern

CG

Conection to solver:

Externer solver from AMendate z.B. AMendateCudaSolver.

Uses an integrated conjugated gradient solver.

solverIP=localhostIP of the external solver, localhost for the same workstation. IP for cloud, for what the matrix is built locally and sent to the calculation unit. Large amounts of data can be moved with a corresponding amount of time.
solverPort=1234Port which is used to access the CudaSolver. This can be selected arbitrarily, according to the specified value when starting the solver.
eigenThreads=2Number of threads that can be used to build the matrix. At least one core should always remain free.
solverMaxMemory=10

Definition of the maximum available memory for the stiffness matrix. Corresponds to the resolution ot the model and thus determines the calculation time.

With GPU Solving, the GPU RAM must not be exceeded (1 GB to 14 GB if necessary with CPU also over 100 GB). We are mainly using Nvidia Quadro P5000 with 16GB Memory

The following output files can be selected:

export_stl_name_MC_SmoothResult geometry: stl with MarchingCube smoothing algorithms
export_stl_name_MC_Smooth_intersectionThe optimization result is intersected with the design space in each iteration on a voxel basis
export_all_allCasesEach defined export will be exported per loadcase
Stresses
export_ply_name_Stress_RGBStresses: ply in color
export_ply_name_StressStresses: ply values for nodes
export_mrc_name_StressStresses: mrc values for nodes
export_ply_name_Stress_PropStresses: ply values for facets
Displacements
export_ply_name_Dis_RGBDisplacements: ply in colour
export_ply_name_DisDisplacements: ply values for nodes
export_ply_name_Dis_PropDisplacements: ply values for facets

Result Geometry

export_stl_name_MC_Smooth_intersection


intersectionDetail =

The current optimization result is intersected with the design space on a voxel basis in each iteration.

0...3 Setting the resolution on the basis of which the intersection is performed. A good value here is 2.

Summary

  • Definition of design type, calculation type, optimization goal and symmetry
  • Definition of output files

Results

The first iteration is displayed as soon as a result is available. Further iterations are displayed as soon as they are calculated. You can use the control in the Result iterations field to switch manually between the different iterations or to view an automatic process.

The AMendate Log can be used to track the current progress in the form of the console output.

The result file is an STL file, which can usually be produced directly using an additive process.

Older result files can also be selected and displayed in the project.

Summary

  • Visualization of the optimization results

Model Generation and Visualization of an Analysis

Both optimization results and original components can be analyzed. After both analysis have been performed, the results can be compared and the performance of the optimization can be evaluated.

For the analysis of an object, the model generation is carried out exactly as for an optimization. All required files (Design/Nondesign space) are imported and the corresponding boundary conditions and load cases are created. The object to be analyzed must be activated as a design area in the Objects/Surfaces area.

The Optimization area does not have to be filled in, but the configuration file must be opened in this area and the command "onlyFEM" added under "User Settings". This only performs an analysis without optimization. In addition, the resolution can be changed under FEM to achieve more accurate results. The resolution of an optimization / analysis is always estimated according to the stl with the largest volume within the working folder. If the stl file of the original design space remains in the folder, the resolution is determined by this volume.

The result of the analysis shows the stresses and displacements in the selected object.

  • No labels