# Start a 2D optimization project(Rhino) [TOC=4] ## Calculation instructions: 2D calculation refers to the calculation of a plane object to approximate the simulated 3D environment. The advantage is that the calculation speed is faster. ## Attention: All 2D objects must be closed 2D objects (a flat surface or a closed curve) ## Example: 2D calculations can only be performed in Rhino's Top view. ****** ### 1. Define a design domain A plane represents a closed design domain. :-: ![](https://box.kancloud.cn/5e7f961c7b2d4b46594818748eafaa22_674x537.png =400x) ****** ### 2. Generate mesh Use the [**AmebaMesh**](mesh/Mesh.md) component to pick up the model, then right click on the component button Generate N_Mesh. :-: ![](https://box.kancloud.cn/35a90552f018dbcd288393ef31fa1a00_879x344.png =400x) Wait for a while, if the component is still yellow or red, you can click the small tab in the upper right corner of the component to view the error information. Usually the mesh becomes white when the step completes (Attention: **Size** must be set within the **Size range**). It is noticed that there are three alternative method to generate meshes, and users don't need to distinguish the features of them (try the other two if one doesn't work). :-: ![](https://box.kancloud.cn/49293e7b73297526bc9437f30c59b68f_1041x486.png =400x) After the success of dividing the mesh, we will see that the model is covered with blue mesh edges, and the top of the component shows how many mesh cells have been generated. :-: ![](https://box.kancloud.cn/aefcbea7c637fc05518baef746c038c4_1511x530.png =400x) #### If you encounter problems in this step, please click [Error Report and Solution](ErrorReportandSolution.md) ****** ### 3. Define the support The support defines the **red point** below. :-: ![](https://box.kancloud.cn/3a55f390dc234a6c9e7a238cb23e32a1_682x554.png =400x) The following figure defines the **fixed support** in the XY direction. :-: ![](https://box.kancloud.cn/6a94f248365e30d45c9e982d9e972736_678x191.png =400x) ****** ### 4. Define the load Define the load at the **blue point** below. :-: ![](https://box.kancloud.cn/28c3b3804f4e0041bf15f2c703c8e505_699x559.png =400x) Define the point load in the Y-axis direction :-: ![](https://box.kancloud.cn/822cd6182946f6e65d2c0294218b1563_723x246.png =400x) ****** ### 5. Define other parameters This example all stays default. :-: ![](https://box.kancloud.cn/1d6232554dffbf2a2ea6f642d662cf1c_825x798.png =400x) ****** ### 6. Computing services First of all, you are supposed to insure [**PreProcessing**](PreProcessing.md) component has revealed "**Written successfully!**" . Then users need to verify the license status by using [**Login**](Login.md) component. :-: ![](https://box.kancloud.cn/dc8ac857738eacc0c0e0d3a89f1112d7_1143x677.png =400x) :-: ![](https://box.kancloud.cn/bdb8e6d30bc9e0adcaf15f4a74b048c8_569x424.png =400x) :-: ![](https://box.kancloud.cn/53f237b9f32525f7c896fff94f20c80c_608x244.png =400x) Right-click [**Solve**](Solve.md) component and select "**Open the Solve Window**" to open the [**Solver Window**](Solver_Window.md) (or double-click this component). :-: ![](https://box.kancloud.cn/36ea9548b323c24c8d2499d7f51662a0_820x360.png) **Notes:** The key has just an hour of validity. But it can't be shut downwhen your project is under calculation. You need to regenerate it from Ameba's website. Click **Start** button and click **Show** button if you wanna review the results in real-time (you must connect [**Display**](Display.md) component before computing). And then, please wait a moment until the **Solver Information Panel** displays "The calculation has already started. Please wait patiently." Next, you can have a cup of coffee and wait about ten minutes(it depends on your mesh model, load case and internet speed). After completion, you can receive the result model using [**Display**](Display.md) component. #### You could click the [**Solver Window**](Solver_Window.md) and get more details. #### If you encounter problems in this step, please click [Error Report and Solution](ErrorReportandSolution.md) ****** ## 7. Visualize calculation results Access to the [**Display**](Display.md) and [**Step**](Step.md) component. In the above, the **Last Result** Button of the calculation window can directly adjust the [**Step**](Step.md) to the number of steps in the latest calculation. After the calculation is completed, you can click the **Last Result** Button to view the final calculation result. :-: ![](https://box.kancloud.cn/f00cb96278f1e2ba333c99730dc9abe4_771x434.png =400x) :-: ![](https://box.kancloud.cn/875fcc6a77ceeb2dcfb9124b478173f1_650x532.png =400x) ****** ### 8. Post-processing of two-dimensional topology optimization Post-process the resulting mesh model with the [Rebuilding2D](Rebuilding2D.md) component to achieve higher model quality. :-: ![](https://box.kancloud.cn/ad1d2d0c8ec020576505655c7a2c1ee9_1216x395.png =400x) :-: ![](https://box.kancloud.cn/a05ac8847dd6b76dffe5b46baa19b63f_764x562.png =400x)