.. _wt_main_menu: Main window and menu options ============================ This chapter describes the Tdyn Wind Tunnel main window and the menu options it contains. .. figure:: img/wt_main_screen.png :scale: 80% :align: center Main window of Tdyn Wind Tunnel. Each button provides access to its corresponding menu. .. _wt_projects: Projects menu ^^^^^^^^^^^^^ .. figure:: img/wt_menu_projects.png :align: center Menu Projects: It allows to manage Wind Tunnel projects. This menu allows to create new projects, open created projects, and save projects after their creation. This menu allows for the creation of new projects, opening of existing projects, and saving of projects once they have been created. Body menu ^^^^^^^^^ .. figure:: img/wt_menu_body.png :align: center Menu Body: It allows to import geometry from IGES, Rhino and STEP files and apply some movement operation as rotations and mirrors This menu provides the capability to import geometry from IGES, Rhino, STEP and GiD files and perform movement operations such as rotations and mirrors. The movement operations are only accessible when geometry from IGES or another opened project is present. This geometry can be created using software applications like GiD, Rhinoceros, or any other CAD application that supports IGES export functionality. A :ref:`plugin` is available to facilitate the export of geometry from Rhinoceros and import it into `Tdyn Wind Tunnel`. If a new geometry has been imported, the previous geometry is replaced with the new one. .. _wt_geo_req: Geometry criteria ~~~~~~~~~~~~~~~~~ To perform a wind tunnel simulation, the geometry should fulfill the following criteria: * The body is expected to be be facing in the -X direction, as the wind moves in the +X direction. * The vertical reference of the body must be aligned with the Z direction. * The geometry must be expressed in meters. * If any symmetry (Y or Z) is used, then the body must be located Y=0 and/or Z=0. Otherwise, symmetry options are not available. * The volume of the geometry's bounding box must be greater than 10\ :sup:`-3`\ and less than 10\ :sup:`6`\. Otherwise, a warning message appears for the user to verify the correctness of the geometry units. However, it is not mandatory to modify the dimensions of the geometry. * The geometry must consist of one or more volumes or a set of surfaces that enclose one or more volumes. All these criteria are explained in :guilabel:`Body >> Tips for importing bodies`. .. figure:: img/wt_tips_bodies.png :scale: 80% :align: center :guilabel:`Body >> Tips for importing bodies`: It shows some tips about the geometry criteria should fulfill. Importing simple figures of revolution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ When a simple figure of revolution, such as a sphere, is imported into Tdyn Wind Tunnel, it may not be imported correctly. Simple revolution geometries (like cylinders and spheres), are sometimes oversimplified during their creation, resulting in volumes with the minimum possible number of surfaces, but without enough information. This makes it mathematically difficult, if not impossible, to perform the intersection and subtraction operations required to obtain the air domain, which leads to warnings during the import process or errors when meshing. To illustrate this with an example, consider a simple cylinder. Many CAD programs generate 3 surfaces: bottom, top, and side. Each of these is also defined by its boundary lines, where the side surface will have 3 lines: a bottom circle, a top circle, and a vertical line. The problem is immediately apparent, a surface that starts and ends with the same line. The workaround is to divide the body into two or more parts so that none of the revolved surfaces does so for a full revolution. .. _wt_setup_req: Set-up menu ^^^^^^^^^^^ .. figure:: img/wt_menu_setup.png :align: center Menu Set-up: It opens Set-up panel to define the necessary parameters for wind tunnel definition. This option is only activated when the model's geometry has been imported using the previous menu. .. figure:: img/wt_setup_conf.png :scale: 80% :align: center Set-up panel. Each parameter includes a tooltip providing additional information about it. After defining all the parameters and pressing the 'OK' button, the virtual tunnel environment is created to perform the simulation. .. figure:: img/wt_boxes.png :scale: 80% :align: center Virtual tunnel environment Run menu ^^^^^^^^ .. figure:: img/wt_menu_run.png :align: center Menu Run: It enables the creation of the model's mesh, execution of the simulation, and display of the calculation progress. Create mesh ~~~~~~~~~~~ Before executing the calculation, it is necessary to create the mesh of the wind tunnel geometry and virtual environment. In case the menu option 'Start calculation' is executed, then the mesh is automatically created before running the simulation. For some models with complex geometry, the following error may occur during mesh generation. .. figure:: img/wt_mesh_error.png :align: center This error message appears when the geometry is so complex that mesh cannot be created. To correct this error, it is necessary to open the `Set-up` window and increase the value of the `Results quality` parameter. When the value of this parameter is increased, the resulting mesh will be finer. Once the parameter has been modified, the mesh must be created again and check that the previous error is corrected. .. figure:: img/wt_results_quality.png :align: center `Results quality`: Increasing this parameter will result in a finer mesh. Start calculation and Calculation progress ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Once the mesh has been generated it is possible to run the simulation using the corresponding menu item. The Calculation Progress window will then appear. .. figure:: img/wt_calculation_progress.png :scale: 75% :align: center Calculation progress window: Shows the elapsed and estimated remaining time. It is also possible to open the :ref:`Process info` and :ref:`Forces graph` windows. Results menu ^^^^^^^^^^^^ .. figure:: img/wt_menu_results.png :scale: 70% :align: center Results menu: It opens the postprocess interface where results can be shown. This option is available when a simulation is running or finished. It opens the postprocess interface where results can be displayed. .. _wt_render: Render menu ^^^^^^^^^^^ .. figure:: img/wt_menu_render.png :align: center Render Menu: It provides options to choose from various render types and displays the model's mesh. A display of all available render types and the mesh view below. .. figure:: img/wt_renders.png :align: center A view of all available renders in geometry mode and mesh mode. .. _wt_views: Views menu ^^^^^^^^^^ .. figure:: img/wt_menu_views.png :scale: 70% :align: center This menu option contains different default views and allows zooming, panning and rotating the view camera. .. _wt_tools: Tools menu ^^^^^^^^^^ .. figure:: img/wt_menu_tools.png :scale: 65% :align: center Tools Menu: It allows access to the complete Tdyn interface and provides information on the mesh and the calculation process. * `Tdyn GUI`: It opens or close Tdyn interface. .. figure:: img/wt_Tdyn_interface.png :scale: 70% :align: center * `Mesh info`: If a mesh is present, it displays the number of nodes and elements of mesh. .. figure:: img/wt_mesh_info.png :scale: 90% :align: center * `Mesh quality`: If a mesh is present, a dialog box displaying mesh quality information will appear. .. figure:: img/wt_mesh_quality.png :scale: 70% :align: center .. _wt_process_info_link: * `Process info`: When a calculation is in progress or has been completed, a window is displayed with information about the calculation process. Here it can be seen the step currently being calculated, the time associated with that step, and if the numerical convergence has been achieved or not. It is normal not to reach convergence during the first steps. .. figure:: img/wt_process_info.png :scale: 70% :align: center .. _wt_forces_graph_link: * `Forces graph`: When a calculation is in progress or has been completed, a window is displayed showing a graph of the time evolution of the forces and moments acting on the objects under analysis. These forces and moments are obtained by integrating the forces due to dynamic pressure, static pressure, and viscosity over the surfaces of the object. They are provided as their Cartesian components. These plots are used to assess what is usually referred to as the convergence of the simulation, i.e., if all the resultant forces tend to a stable value, then it is likely that the solution available at that moment is accurate enough. On the other hand, if a stable value can't be reached, it is a good practice to allow more steps to be calculated. If this is seen after the calculation process is finished, it is required to increase the value of `Sweep length` in the wind tunnel set up and repeat the calculation. It is normal to find oscillations during the first steps. .. figure:: img/wt_force_graph.png :scale: 80% :align: center Help menu ^^^^^^^^^ .. figure:: img/wt_menu_help.png :scale: 90% :align: center Help menu: It allows to enter passwords and give access to Compass website, User's manual and Video tutorial.