ANSA for CFD Brief User Guide

Size: px
Start display at page:

Download "ANSA for CFD Brief User Guide"

Transcription

1 v

2 Table of Contents 1. Introduction CFD layout How to get help about ANSA? Customizing ANSA Basic terminology View Control Detail on Demand effect Most important key actions Making Selections TOPO menu MESH menu DECK menu MORPH menu HEXABLOCK menu Geometry Preparation Data Input Resolution and Tolerances Effect of tolerances on CAD operations Geometry Clean up Wetted surface extraction for thin parts Wetted surface extraction for bulk parts or assemblies Watertight preparation Checking for intersections and proximities at Geometry level Creation of sub-volumes Model organization through the Model Browser (Part Manager) Detection of Baffles Link Geometry Treating Surfaces Surface Meshing Simplifying Macros Uniform size mesh Variable feature dependent size mesh (CFD mesh) Notes on CFD meshing STL like mesh Summary of Automatic Quality Improvement functions Useful Checks Watertight model preparation Intersecting meshed parts Surface wrapping approach Preparation for wrapping Constant length surface wrapping Variable length surface wrapping Post-wrap checks Identifying leaks Layers Volume Meshing Manual Volume Definition Auto Detect functionality for Volume Definition Meshing the Volume Semi-structured volume mesh Checking the Volume quality and fixing

3 8. Batch Meshing Setting up Batch Mesh sessions Hexablock Meshing CFD solver I/O formats Definition of periodic boundary conditions Model generation Checklist Recommendations for OpenFOAM model setup Setting up the quality criteria limits Surface meshing Layers generation Final Volume mesh improvement Setting up Boundary Conditions Solver setup Running the case Importing CFD results in ANSA Importing results from the same mesh Importing results from a different mesh Morphing for CFD Box Morphing Approach BOX preparation Box shape issues Box boundaries Larger Boxes maintain orthogonality Large Boxes result in smaller deformations of the volume mesh Tangency condition Additional User Tangency condition Tolerances Edge fitting on features of the model Using 1-D Box edges Troubleshooting morphing boxes Direct Morphing (without morphing boxes) Define MORPH Parameters The Deformation Morph Parameter Morph the geometry through deformation mapping Part Manager structure User Defined Functions for CFD models How To and Troubleshooting section COPYRIGHT BETA CAE SYSTEMS S.A. ALL RIGHTS RESERVED. Kato Scholari, Thessaloniki, GR Epanomi, Greece Tel: Fax: ansa@beta-cae.com URL: 3

4 1. Introduction This document is a compressed summary of ANSA's functionality for CFD and describes some important steps/points that are useful for the creation of a CFD model. As CFD models are usually large in size, ensure that you are using the 64bit version of the code to take full advantage of all your hardware s memory. Start ANSA as follows: /<installation_path>/ansa_v16.x/ansa64.sh for Linux, or./ansa64.bat for Windows This will open the ANSA launcher window: Start-up mode selection Option to start a new custom user defined mode based on the above selected one Specification of additional start up arguments and commands (press the? button to list them) Option to skip the launcher and always start with the current options Select the CFD mode and press OK. The CFD mode of ANSA is customized with respect to the interface and also the actual functionality (mesh parameters, quality criteria etc) so that it performs best for CFD pre-processing tasks. It is therefore highly recommended to use this mode of ANSA for your work. Note: if the launcher does not appear (due to special installation issues in your company) you can impose directly the start-up of ANSA in CFD mode by adding the argument -gui CFD, for example in Linux: /<installation_path>/ansa_v16.x/ansa64.sh -gui CFD 4

5 1.1. CFD layout 1. Windows: - UDFs - DB Browser - Settings 3. Help 5. Utilities: -Mesh Parameters -Quality Criteria... -Measure 4. Tools: -Batch mesh -Script editor -Checks 2. Lists: -Model list -Model Browser -PID list -MID list -SET list 14. ANSA Info window 13. Progress bar 6. Modules Group Name 7. Group of Functions 10. Visibility status buttons of entities 12. Selection assistant 11. FOCUS commands 8. Options window 9. Drawing Styles 1. Access to UDFs (section 15), DataBase Browser to browse the contents of the ANSA file, and Settings for customization of Functionality and GUI, correspondingly saved in CFD.defaults and CFD.xml files in your home directory under <homedir>/.beta/ansa/version_v16.x.x/ 2. Access to Lists: Model Browser for model organization through Groups, sub-assemblies and Parts PIDs (Property ID) for management of Properties of the model MIDs (Material ID) for management of Materials of the model SETs for management of SET (groups of ANSA entities like Elements, Properties, Faces etc.) 3. Access to Help from main menu bar: html Online-Help and all PDF documentation 4. Access to Tools: Batch Mesh for meshing automation Script Editor for user scripting language editor Checks for model validity and fix checks 5. Access to Utilities: Mesh Parameters for controlling the meshing algorithms and quality improvement Quality Criteria for setting quality criteria and Presentation Parameters Measure tool to make measurements of the model 6. Switch between the main Modules of TOPO for geometry creation, manipulation, cleanup and watertight preparation MESH for surface and volume mesh and fix DECK for solver related features and the creation of Size Boxes for controlling mesh size MORPH for mesh and geometry morphing HEXABLOCK for hexa meshing based on block structure of boxes 7. The functions are arranged in Groups, depending on the Entity that they are applicable to. Some additional functions that may exist in the buffer menu (hidden) can be accessed by clicking on the Group Name with the left mouse button. 8. The Options window displays all the settings of the currently Active function These flag buttons control the visibility mode of the model, in the form of flags or toggle buttons like coloring the model in ENT (Entity) or PID (Property ID), or SHADOW or WIRE mode etc. In addition, there are visibility flag buttons for different Entities. 11. The FOCUS group contains all the functions that are used to isolate and control the visibility of selected entities in order to obtain a clear image of the working area of the model 12. The Selection Assistant allows the selection of entities in different modes Progress bar, instructions and reporting of the program are printed in the message line and the ANSA info window. 5

6 The bottom section of the GUI consists of the button groups shown here below (names below icons activated with right-click option on any toolbar and selecting Show Labels : <-Selection Assistant-> < Focus Commands > < Visibility View Modes > < Visibility Status buttons > 1.2. How to get help about ANSA? This document is the best place to start from. However please have also in mind the following: ANSA Tooltips If you leave the cursor for a couple of seconds on any ANSA button you will find useful tool tip information Online Help If you press Ctrl+left mouse button on any function ANSA will open the html Online Help with more details about the function. Online help is also accessible from Help>ANSA Online Help. In this page you can also use the Search field to find other functions. ANSA PDF documentation From HELP> ANSA Documentation Index you can easily access all the PDF documents of ANSA, like User-Guides and Tutorials. Ensure that your system has a default PDF viewer so that the documents are accessible. Start with the two tutorials in the CFD section: CFD - The Basics - Meshing external aerodynamics BETA CAE Systems YouTube channel Look for the following videos on YouTube Live Introductory webinar on ANSA for CFD ANSA/META features for CFD ANSA Technical Support Please contact us at ansa@beta-cae.gr or at your local distributor for any further queries you may have. 6

7 1.3. Customizing ANSA The CFD mode is the best starting point of ANSA for CFD. This does not mean that you cannot change it of course according to your specific needs or preferences. You can make any change in the functionality settings (default solver, quality criteria, meshing parameters etc) or the GUI settings (button positions, colors, window sizes etc) and then save them through the Settings window: At the bottom left there are two groups of buttons: Settings: save all functionality related settings in CFD.defaults file and GUI Settings: Save GUI settings: save all GUI settings in CFD.xml file Save Settings and Save GUI Settings will save in your home directory, in a hidden folder called.beta your customized settings (in the files CFD.defaults and CFD.xml) as shown below for every ANSA version: CFD.defaults file contains all your customized functionality settings CFD.xml file contains all your customized GUI settings The CFD_TRANSL.py file is a file that contains user defined script functions (see section 14) The launcher.txt file contains the last used settings of the ANSA launcher window Next time you start ANSA, these customized settings will be read and applied. Note that these customized settings are very important as they affect not just the appearance of the software but also its functionality. If for whatever reason you are in doubt about these local settings, you may remove them from this location and then ANSA will start again with the default startup CFD mode. 7

8 1.4. Basic terminology In the TOPO menu the following entities appear: 3D Curve 3D Point Triple CONS Double CONS Single CONS Hot Point Weld Spot Face Surface Cross hatch Connecting Spot FE-model elements The Surface is the underlying mathematical CAD description of the Face where the actual mesh takes place. The CONS (Curves ON Surfaces) are the boundaries of the Faces. According to their connectivity, they are colored in Red (single edge), Yellow (double connectivity) or Cyan (triple -or more- connectivity). The Hot Points are the end points of CONS. 3D Curves are curves in space that are used for CAD constructions, but they are not connected to the Faces. 3D Points are also used for geometrical constructions. Correspondingly, in the MESH and DECK menus: Perimeter Segment Perimeter Node Hot Point Weld Spot Macro Area Connecting Spot FE-model elements A Macro Area may consist of one or more joined Faces. The Perimeters are the boundaries of the Macro Areas. The Hot Points are the end points of the Perimeters. FE-model mesh is a mesh that is not associated to geometry (dead-mesh). Finally, a yellow Connecting Spot indicates connectivity of a Macro area with FE-model mesh. 8

9 1.5. View Control Basic view control can be achieved with the mouse: Rotate With the Ctrl key pressed, rotate the model with the left mouse button. Note that with Ctrl+Shift pressed, you get dynamic mode rotation (automatically Shadow mode and other details become de-activated for faster view manipulation!). Ctrl Translate With the Ctrl key pressed, translate the model with the middle mouse button. Ctrl Zoom With the Ctrl button pressed, zoom in and out pressing both left and middle mouse buttons. Moving the mouse left and down the view zooms in and moving right and up the view zooms out. You can also zoom in and out by using the mouse wheel. Ctrl View control is also possible using the Function keys of the keyboard: F1 F2 TOP FRONT F3 F4 F5 LEFT BOTTOM BACK 9 F6 F7 RIGHT ZOOM IN F8 F9 F10 ZOOM OUT ZOOM ALL Default View

10 1.6. Detail on Demand effect By default, the visible details of a model vary with the current zoom level. This means when you view a model from far, less detail is displayed (for example you cannot see the WIRE of the mesh). As you zoom in, you begin to see more and more details like the mesh wireframe. Zoom in high detail Zoom out low detail The magnitude of this effect, called detail on demand, is controlled by the Quality Criteria window (F11 key), Presentation Parameters tab with the slide bar shown on the left. F11 higher detail lower detail 1.7. Most important key actions The mouse buttons are mainly used as follows: The left mouse button (1): - to activate menu buttons - to select or define entities The middle mouse button (2): - to confirm selections or processes The right mouse button (3): - to perform the opposite action of left mouse button (e.g. select/deselect or insert/delete) - to reapply last action to other entities The ESC key cancels operations, exits from functions and closes windows at any step of the process. So if you are in doubt, press ESC. The ESC key can also be used to interrupt a function while it is running (for example aborts the Surface or Volume meshing process during its calculation, if this takes too long). Esc F11 The F11 key gives access to the Quality and Presentation Parameters window. In this window the user can specify the quality criteria definitions and their threshold values, as well as other presentation attributes. 10

11 1.8. Making Selections Selections are performed with left mouse button. Selected entities are highlighted in white and can be deselected with right mouse button, if it is required. Selections can be made in various ways: single entities, box selections, or feature selections. The selection assistant appears at the bottom, next to the FOCUS commands, like for example the selection of shell elements by feature angle here below: The selection assistant appears in two modes, one for Area selection (shell elements, Faces etc) and one for Line selection (3D Curves, CONS, element edges, nodes along an edge etc Area selection mode ENT: selection of individual entities, one by one. PID: selection of all the entities of one selected PID. PID region: selection of the entities of an unconnected region of one PID. Macro Area: selection of an individual Macro area and its elements. VOL: Selection of a specific ANSA Volume entity. PART: Selection of all the entities of an ANSA Part Feature Angle: Automatic selection of shell elements or Faces within a user specified feature angle. Line selection mode ENT: Selection on individual entities, one by one Corner Angle: Automatic selection of edges/curves along a user specified corner angle. Loop: Automatic selection of closed loops of edges/cons etc (useful for hole closure). Opposite: Automatic selection of parallel Perimeters, edges etc. (useful for aligning nodal number and spacing on Perimeters). Note that when selecting edges or CONS in Corner Angle selection mode, the direction of selection is dictated from the side that is picked, as shown here. direction picked side 11

12 1.9. TOPO menu In this menu the user can create, modify and clean up the geometry. The menu is divided in groups of functions according to the entities that they refer to. Hot Points These functions are used to create or delete Hot Points or Weld Spots. CONS Functions that are applied on CONS (Curves ON Surfaces). Faces Functions to create or modify Faces. Surfaces Functions that create Faces and modify Surfaces. Curves Functions to create 3D Curves. Points Functions to create 3D Points. Auxiliaries Functions to create Working Planes in order to draw in 2D mode. Options List window The available options of the currently active function appear in this window. 12

13 1.10. MESH menu In the MESH menu the user can create, modify and fix surface and volume mesh. Hot points Functions to insert or remove Hot Points or Weld Spots. Perimeters Functions to assign Perimeter nodes. Macros Operations to modify Macro Areas, manually or automatically, in order to improve their shape for better surface meshing. Grids Manual operations on grids (move and paste). Mesh Generation Surface meshing algorithms. Shell Mesh Quality improvement functions (Reshape, Recons, Smooth and Fix Qual) and other operations on surface mesh. Elements Manual operations on elements and Surface Wrapping tool. Volumes Volume definition, mesh generation and quality improvement functions for volume elements. Options List window The available options of the currently active function appear in this window. 13

14 1.11. DECK menu In the Deck menu the user can specify the Solver for which to prepare a model (etc. OpenFOAM, Fluent, Star etc). In addition, they can perform some operations on Grids, Coordinate Systems, Elements, or define Size Boxes for mesh size control, and setup solver controls. NODE Functions to create, delete or disconnect nodes. COORD. SYSTEMS Functions to create orthogonal, cylindrical or spherical coordinate systems. ELEMENTS Functions to create manually individual line, shell and solid elements and renumber them. SIZE BOXES Functions to create and manage Size Boxes in order to control the max element length of surface and volume mesh in specific regions of the model. AUXILIARIES Setup solver controls (like the controldict file for OpenFOAM or definition of non-conformal interfaces). 14

15 1.12. MORPH menu In this menu the user can morph surface/volume mesh and geometry in order to modify and improve a design. Boxes Functions to create and manage Morphing Boxes. Controls Functions to define and manage Morphing Parameters. Control Points Functions to insert Control Points on Morphing Box edges in order to change their shape. Edges Functions that affect Morphing Box edges (like for example the control of Tangency on them). Hatches Functions that work on Morphing Box faces (Hatches). Box Morping Movement of Control Points (with or without Morphing action, depending on the status of the Morphing field in the Options List window). Direct Morphing Morphing without the need of Morphing Boxes. Checks Troubleshooting checks for Morph Box morphing. Options List window View Mode: Control of visibility of the geometry in TOPO or MESH view mode. Morphing: The status of this field controls whether a control point movement, from the MODIFICATION group of functions, will Morph or not the model that is loaded in the Boxes!! See section 12 for more details. 15

16 1.13. HEXABLOCK menu In this menu the user can generate pure hexa meshes based on block topologies (see section 8). Boxes Functions to create and manipulate Hexa Boxes. Control Points Functions to insert Control Points on Morphing Box edges in order to change their shape later on. Association Functions to associate the Control Points, Edges and Faces of the Boxes on the actual model geometry, so that the mesh can be projected on the geometry. Modification Functions to move specific Control Points in order to change the shape of the boxes. Edges Function to assign and modify the nodal distributions on Box edges. Shell Mesh Functions to generate shell mesh on Box Faces. Volume Mesh Functions to generate volume mesh in Boxes. Options List window: View Mode: Control of visibility of the underlying geometry in TOPO or MESH view mode The available options of the currently active function appear in this window. Most important are Element type: mixed or tria and Project on geom: Option to project the generated mesh on the underlying geometry. 16

17 2. Geometry Preparation 2.1. Data Input In ANSA you can File>Open directly the following CAD files: Neutral files Native CAD files IGES, STEP, VDA Catia v4 and v5, Unigraphics, ProEngineer, SolidWorks, Inventor, Parasolid, JT Reading native CAD data offers a better quality geometrical data and in addition you can also translate and bring into ANSA information about Property name and ID, Part name and assembly structure of the model, etc., as designed in the CAD system. This additional information helps you to manage your model easier and also allows the ability to trace back a Part, if needed. Before opening a CAD file ensure that you check the Settings>Translators which control important translation options like: - How Properties (PIDs) are extracted (from CAD Body, Part, Layer etc) - If Sets are created. This may extract names of areas of the geometry that may be useful in model management. These SETs could then be translated in PIDs (see section 15) - How topology and cleanup is performed If when opening a CAD file you do not see the information of PID or Part that you would expect, try changing the above settings.! Keep in mind that for example an IGES file does not have topology information so ANSA topology must be active. A Catia file, on the contrary, already contains the topology information, so ANSA topology does not have to be applied. Another important setting when opening neutral CAD files like IGES that do not contain topology information, are the Settings>Tolerances. Depending on the size and detail of the model you may want to try alternative settings to see which one gives the best resulting topology. The two tolerance values represent the maximum distance between two Hot Points and two CONS below which ANSA topology will connect them. When opening IGES or STEP files, you can also activate in Settings>Translators>Neutral Files Topology the option Clean Geometry in order to get even fewer errors. Finally, for IGES and STEP files you can try to read them either with ANSA or CT libraries, by selecting Settings>Translators File Associations for Neutral files, in order to check which one gives the best result. 17

18 2.2. Resolution and Tolerances Good resolution ANSA displays the geometry (the Faces) based on a certain Resolution (element length). By default, this resolution is set to 20 (but the user can alter it from Settings>Resolution). The exact geometrical accuracy is not compromised, the resolution only affects the display. The resolution length should be set near the element length which will be used to mesh the model. In this way the geometry is displayed with the same level of detail as the final discretized meshed model. Very coarse resolution If the geometry is very small in dimensions, then the default resolution (20) may not be appropriate and the model may look ragged. The user can either change the Resolution or go to Mesh>Perimeters>Length and change the element length. Alternatively, they can use the Mesh>Perimeters> Spacing [AutoCFD] (see section 3.3) and ANSA will assign proper nodal distributions to resolve all curved details. Very small model dimensions compared to tolerances In addition, when ANSA performs topology to stitch together Faces and close gaps, it uses some tolerance values. By default these values are set to middle level (0.05 for Hot Points and 0.2 for CONS) but can be altered from Settings>Tolerances. These tolerances are also graphically represented by two horizontal white lines at the bottom left of the graphics window. If these lines are as large as the model, this implies that the model has very small dimensions and should be scaled up (Transform>Move [Scale]), otherwise problems may occur in geometry Tolerance lines representing graphically the tolerance values handling and meshing!! In general when you fit the whole model in the view you should not be able to see the white tolerance lines.! Check also your current units in Settings>Units and ensure that the setting is correct. Make a measurement to see if the model in indeed in mm, inch or metres for example. 18

19 2.3. Effect of tolerances on CAD operations Apart from the topology operations (during CAD import or afterwards by TOPO and PASTE functions), the current Tolerance Settings also influence the accuracy of all CAD operations in ANSA. Being aware of this, the user can adjust the tolerances to obtain the desired result. Tolerances are managed in Settings>Tolerances. Draft tolerances The effect of tolerances will be demonstrated in the following example using the CONS>Project function. The idea applies to all CAD operations. In this example a 3D Curve is projected on a Face to trim it near its edge.! Note that the 3D Curve lies very close to the boundary CONS of the Face. Draft tolerances If the Projection takes place with Draft Tolerances, the result may not be good. Here the trimming has not taken place along the whole length of this edge of the Face. In some other cases, no cut may take place at all. Draft tolerances Contrary, if Fine Tolerances are used, the trimming takes place with high accuracy and a very thin part of the Face is cut, exactly along the original 3D Curve. Extra-fine tolerances Fine tolerances, do not always mean the best possible result. In this example, the two 3D Curves are projected on the Faces below.! Note that the 3D Curves do not meet at a common location. A gap exists between them. 19

20 The 3D Curves and the corresponding Faces are selected for the CONS>Project function. With Draft Tolerances a closed cut is performed, because the gap of the original Curves falls within the current tolerances. Draft tolerances However, with Fine Tolerances, the gap of the original Curves is reflected on the cut of the Faces. The created CONS do not meet. As a result SHADOW is usually lost. The user must then close the cuts manually to close the Faces and recover Shadow. Extra-fine tolerances Another example here demonstrates the effect of tolerances on the creation of a new COONS type Face. With draft tolerances a Surface with few patches is created, resulting in a lighter geometry description. Draft tolerances With extra-fine tolerances, a Surface with several patches is created, possibly due to some noise' in the curvature of the selected CONS. The extra detail of the CONS which may be unnecessary leads to a heavy surface description. Extra-fine tolerances 20

21 2.4. Geometry Clean up When reading geometry in ANSA you should first check the topology. You can refer to CFD Tutorial The Basics to follow the clean up steps of this model. De-activate SHADOW and DOUBLE CONS visibility and see if there are any red or cyan CONS which indicate single or triple connectivity. You can also do this with one click if you press Drawing Styles>TOPO Check Gaps Topological problems Check if these features are intentional, or topological errors. Use the TOPO functions to fix such problems No Topological problems The final view should be like the one shown here. Before switching to MESH, activate SHADOW. If ANSA reports UNCHECKED Faces in the legend on the left then this means that there are Faces that cannot be shaded. These are problems that need to be fixed. Use right-click on the legend for Show Only or Fix 21

22 You can also use the function Check>Geometry to identify and fix automatically some problems. There are different categories of problems that can be identified. If problems are identified the user can right-click on the list to isolate or fix them automatically if possible. 22

23 2.5. Wetted surface extraction for thin parts If you start with solid description parts, you need to extract the outer (or middle) surface. Depending on the case, you should use one, or a combination, of the following approaches: Pressed sheet metal Parts (clean geometry) For pressed sheet metal parts that have no topological problems (gaps, red CONS) the Faces>Mid. Surface [Skin] function can be used. This function can quickly identify the two sides of the thin part and the user can select which one to keep. Cast parts with triple connectivity For parts that do not have fully clean and closed geometry or are not plain pressed sheet, but contain ribs and reinforcements, the Faces>Mid. Surface [Skin] function cannot be used. Instead, the user can follow this workaround. Use the FOCUS commands OR and NOT with the feature angle selection active and a suitable angle value limit (you may have to increase the default angle to around 70). With this approach the geometry may contain gaps. The result is a simple outer surface extraction of one of the two sides. Another option is to use the Faces>Mid. Surface [Casting] function. This will generate the middle skin of a complex cast part as shown below. This option is more computationally intensive than the SKIN option, so should only be used for really complex parts. Note that the result of the Faces>Mid. Surface [Casting] function is an FE-model mesh. 23

24 2.6. Wetted surface extraction for bulk parts or assemblies When you are dealing with large bulk parts (engine, transmission, exhaust box, interior passages of HVAC systems, etc.) there are two functions that can assist you in extracting the geometry of interest, whether this is the outer or the inner side. Each one has pros and cons, so the user can try both to see which brings the most desired results. The Isolate [Skin] function. This is an example of an exhaust system with a catalyst inside. In order to easily extract say the exterior Faces, if the domain of interest is the flow surrounding the exhaust system the user can activate the Isolate [Skin] function. This function does not require perfectly connected geometry, red CONS and intersections may be present. Still, some major openings, like the inlet and outlet, should be closed by the user. Here they must specify to isolate Outer or Inner Faces. Specify also the minimum gap or leak size. Provided that no gaps larger than this size are present in the model, ANSA will isolate all the outer Faces. On complex models, most of the times one cannot be sure if a model is fully closed. Specifying some source points inside the dead regions allows ANSA to detect possible leaks. If there is a leak, with respect to the leak length specified, ANSA will stop and create a 3D curve of the leak path. The user can trace the curve, find the leak, close it and re-apply the function. If there is no leak, ANSA will leave visible only the required Faces. The Isolate [Exterior] function For the same example the function Isolate [Exterior] will mark each entity with a value from 0 to 1, where 0 is for absolutely exterior, 1 for absolutely interior and any intermediate value for faces that are partly exterior and partly interior. The model is displayed in contour plot of this value and a window pops up with all the entities listed with the corresponding value. The user can right-click on each entry and use Show Only for example. 24

25 2.7. Watertight preparation Having extracted the outer surfaces, you must create the watertight model by sealing all gaps and eliminating the overlaps. If these gaps are small (close to the Tolerances), they can be closed by Faces>Topo or Paste functions. If they exceed (by far) the tolerances, then new Faces must be created (usually with Faces>New [COONS]) to close them Checking for intersections and proximities at Geometry level You should make some checks for intersection and proximity while constructing your model. First of all, use the Checks>Penetration [Intersections] to locate intersecting areas (wrong topology, misplaced parts etc). Fix these areas using Topo functions (like Faces>Intersect). Use the Isolate>Flanges [Proximity] function to isolate Faces within a certain distance apart. This will indicate you all the proximity problem areas that may cause problems in volume meshing. Then use the Faces>Fuse function to close these narrow proximity passages, where possible. Isolate>Flanges [Proximity] Faces>Fuse 2.9. Creation of sub-volumes Usually you need to create more than one volumes, either to allow different boundary conditions (porous and moving zones), or to be able to change only a part of the model and re-volume mesh only the area around it, or even for post-processing purposes. When you create new Faces to define the sub-volumes, remember to put them in PIDs that can be easily recognized by a name convention (say interior ) so that you can filter them easily in the PR.LIST. It is also a good idea to create a Part in the Part Manager, where you place all such interior faces. 25

26 2.10. Model organization through the Model Browser (Part Manager) When working with complex models with hundreds of Properties it is very useful to use the Model Browser. The Model Browser is like a file manager. It consists of Groups and Parts just like folders and files. In this sense it contains a tree structure of the assembly of your model. By default this tree structure is automatically extracted from the CAD file that you have read in ANSA (Catia, UG etc). If you do not have a proper Model Browser structure you can create your own, starting from creating new Groups and Parts, placing entities inside Parts, and Parts inside Groups. The most useful functions are: New>Group: Creates a new Group New>Part: Creates a new Part View: Select between Icon and Tree structure view mode Utilities>PIDtoPart: Create one Part for each PID of your ANSA file Set Part: Select entities from the screen (Faces, elements, Curves etc) confirm and place them in an ANSA Part (Remember Entities belong inside Parts and Parts belong inside Groups). Identify: Click on an entity on the display and ANSA will show to which Part it belongs There is also useful functionality in the right-click menu Show/Hide/Show only: function to control the visibility of selected Parts Open in a new Window: Open the contents of a selected Group in a new Window. Note you can also double click on a Group to see its contents. Edit Tree: You can move Groups or Parts using cut/paste or with drag and drop actions. Mark As: Lock (or Unlock) selected Groups/Parts so that when you press ALL only these appear. Save: Option to save selected Groups/Parts in a separate ANSA file. Delete: Option to Delete the selected Groups/Parts. 26

27 2.11. Detection of Baffles In complicated models sometimes it is hard to identify if and where baffles (zero-thickness walls) are. This can be done automatically using the function Isolate>Baffles The model must be meshed and ALL visible. ANSA leaves on the screen only the baffles surface mesh. You can now easily assign the visible element to different PIDs using the User Defined Function ChangeBaffleProperties (see section 14). This UDF will create new PIDs with the extension _baffle so that the user can easily distinguish the zero thickness walls. This is necessary if later on layers must be generated from baffles from both sides. 27

28 2.12. Link Geometry Many CFD applications, like external aero cases have geometries with similarities, like symmetry for example, while other cases have rotational periodicity. In such cases it is possible to use the functionality of LINK Faces. This will save time in the meshing process as you will only have to do this on one side and the other will obtain the same mesh automatically. Link type geometry is distinguished by a light brown crosshatch. Link Face Parent Face Link type geometry can be generated by Transform>Link [Translate, Rotate, Symmetry...] For periodic model Link type Faces is the only way to guarantee exact matching nodes at the boundaries. Parent Face!Note: when creating models with periodic BCs, ensure you set Extra-fine tolerances during the generation of any geometry in ANSA in order to ensure that the geometry is accurate to several decimal points and hence exact node matching can be ensured. Link Face Link type geometry obtains the exact same mesh as its parent. Any modification on one has the same effect on the other and vice versa. See section 10.1 for details about the setup of periodic BCs. 28

29 2.13. Treating Surfaces If the underlying Surface is a revolute of 360o, you may get unmeshed Macros. Use the Surfaces>Break [Constant Curvature] function, so that ANSA splits it in four quadrants. This is applicable also to pipe geometries. Other surfaces that may cause problems in surface meshing are ones with very high local curvature areas, like leading edges of wings or nacelles. Surfaces>Info can be used to examine them. Use the Surfaces>Break [Curvature Peaks] function, so that ANSA cuts the Face exactly at the location of peak curvature. (Note that you can also use the UDF SplitCurvaturePeaks that will apply automatically apply the action only on the Faces that require it). The result is a geometry that can be meshed much better like this leading edge of a wing. Sometimes the underlying Surfaces of Faces are too large. This may significantly delay some TOPO operations like project, intersect, meshing, etc. Use the Surfaces>Reduce function, select All Faces and confirm. Now the Surfaces of all Faces have been shrunk to their Face limits. 29

30 3. Surface Meshing The following sections describe some tips for surface meshing Simplifying Macros The quality of the resulting mesh can be greatly improved by joining Macros together, prior to applying Perimeter lengths and spacing. Joining Macros can be done manually using the function Perimeters>Join It can also be done automatically with the function Macros>Simplify!!! Before using the function ensure that correct element length has been applied either through Perimeters>Length or Spacing [AutoCFD], as the de-featuring that is performed depends on it. Keep all default settings, meaning a medium level defeaturing, keeping sharp edges and perimeters along the symmetry plane. Press Run. ANSA previews the Perimeters that are going to be joined in light orange color. Press OK to confirm the previewed joined Perimeters. ANSA joins the Perimeters that do not form important features and should be removed. Delete any remaining Hot Points and re-apply the correct Length or Spacing. Larger Macros result in better flowing mesh. Any manually (Join) or automatically (Simplify) joined Perimeters can be brought back to their original state by selecting them with the function Perimeters>Release. 30

31 3.2. Uniform size mesh If you want to mesh with Uniform size mesh follow these steps: 1) Assign to all selected Perimeters the target element length with the function Perimeters>Length 2) Use the function Macros>Simplify to join some perimeters 3) Mesh the Macros with the function Mesh Generation>Adv.Front algorithm as it gives the best quality mesh. If Adv. Front leaves unmeshed Macros (reported in the legend on the left), then you can try to mesh them with another more robust algorithm like Free. 4) Having completed the surface mesh, perform a quality switching to HIDDEN mode. The legend on the left should display bad quality elements as OFF. You can right-click on the legend entry to Show Only the problematic areas. 5) For quality improvement of this mesh, make ALL visible and use the function Shell Mesh>Reshape [Advanced] with the option Violating active. This will automatically select the areas around the violating elements and will perform automatic JOIN and mesh improvement Variable feature dependent size mesh (CFD mesh) For a variable size tria mesh you should: 1) Use the function Perimeters>Spacing [AutoCFD] This function will apply automatically curvature dependent refinement to selected Perimeters or Macros. Set the min and max length values of the curvature dependent mesh to avoid over-refinement or over coarsening. Optionally, set the sharp edge length values to refine the convex and concave sharp edges as shown here. Note that the orientation of the Macros indicates the positive direction (gray side) and based on that, the convex and concave angles are distinguished as shown here. Note also that sharp angles are detected only between Faces that are of BC type wall (not symmetry, inlet etc) so the user should first assign the proper BC type to each PID. 2) Use the function Macros>Simplify to join some perimeters 3) Re apply Perimeters>Spacing [Auto CFD] as after Simplify the Perimeters have been modified 4) Mesh the Macros with Mesh Generation>CFD with the same settings in the Options List, as that for the Spacing[AutoCFD]. Note that the CFD algorithm grows the mesh size on flat Macros. If, for any reason, you want to keep the mesh size on selected Macros constant, use the Adv.Front algorithm or another one instead. 5) Having completed the surface mesh, perform a quality check switching to Hidden mode. The legend on the left should display bad quality elements as OFF. You can right-click on the legend entry to Show Only the problematic areas. 6) For quality improvement of this mesh, use Focus>All visible and use the function Shell Mesh>Reshape [Advanced] with the option Violating active. This will automatically select the areas around the violating elements and will perform automatic Joining of Perimeters and mesh improvement. 31

32 This function will perform local Perimeter joining and mesh reconstruction operations without altering the local variable length. Note that apart from the skewness criteria the user can optionally set a Minimum Length in F11 (a value less than the min length of CFD mesh by at least 50%) so that ANSA can distinguish the small features that should be joined automatically. Narrow Macros->skewed elements After RESHAPE [Advanced] 3.4. Notes on CFD meshing 1) Further control of size Note that you can also create Size Boxes to control the maximum length of the functions: Perimeters>Spacing [Auto CFD] for setting Perimeters spacing Mesh Generation>CFD for meshing Macros and Volumes>Mesh Volu. for volume meshing. Size Boxes are created in the CFD Decks from the Group Size Boxes. Main functions are: DECK>SIZE BOXES>NEW DECK>SIZE BOXES>LIST You can perform the above task with different values for each PID or area of your model. Remember that Spacing [Auto CFD] works on Visible and you should pay attention to what happens at their common boundaries. So, if you have to use Spacing [AutoCFD] with different length ranges for different areas, start first from the small length areas. Use Spacing [Auto CFD] and CFD mesh and then Macros>Freeze them, selecting them with right mouse button. Then bring the larger element size areas to visible and reapply Spacing [Auto CFD] with new values. All frozen Perimeters will be treated by default as size sources and this will ensure a smooth size transition from small to large length areas. 2) Quality problems in CFD meshing 32

33 Note that because the CFD algorithm meshes according to the local CAD curvature, if some surfaces are problematic the following things may occur: This is an extreme example for demonstration purposes. Note the over refinement on Perimeters and inside Macro, which is due to bad geometry definition. Note that you can check the curvature of CONS using CONS>Info and the curvature of Faces using Surfaces>Info. These functions can usually pin point the problems of mesh over refinement, caused by problems in the geometry. In this case try to limit the minimum length in the Spacing [Auto CFD] and Mesh Generation>CFD Options List window. If this does not give a satisfactory result, switch to TOPO and use Surfaces>Info to check the underlying Surface. Ensure you set in the Options List the Contour plot of Average curvature to detect any local peaks in curvature which are mainly noise. Use the Surfaces>Reduce function to simplify the description of the Surface, removing unwanted noise. Note that if you increase the Tolerance value the Reduce effect will be stronger, so you can try this progressively until you get a good quality mesh for the selected Macro. Re-applying Spacing and remeshing should give better results now. Problematic Surfaces may also result in squeezed elements like here. Use the function Shell Mesh>Smooth or Reshape to repair the mesh locally (Note for Reshape it is recommended that you specify a Target Length in the Options Window). If the underlying Surface is very bad (Look for twisted or collapsed iso-parametrics using Surfaces>Info) you should use a different algorithm, like Adv.Front or Free. 33

34 In some rare cases there are fillets with peak curvature in the middle and zero curvature at the ends, as Surfaces>Info contour plot displays here. Such cases, with variable curvature may lead to undesired effects in the Spacing [Auto CFD] and CFD meshing algorithm. The curvature of this fillet is not followed in the middle, but only along its narrow perimeters To overcome such problems the user should activate the option Enhanced Curvature Sampling in Spacing [AutoCFD] This will make ANSA identify more robustly the curvature and lead to a good quality mesh. 3) Unmeshed macros in CFD meshing There may also be unmeshed Macros if some extreme Joining has been performed. In this example the joining to avoid the skewed angle in the mesh has resulted in an abrupt discontinuity, and CFD algorithm fails due to curvature discontinuity. It is suggested to make a Macros>Cut to isolate the problematic area and mesh only this with Free, and the rest with CFD as desired. CFD FREE CFD 34

35 3.5. STL like mesh If you want to create an STL like mesh, then: 1) Use Perimeters>Spacing [Auto STL], set the max cordal deviation and max element length 2) Use Mesh Generation>STL with the same settings in the Options List window. Notes: - Note that if there are any unmeshed macros, use Free algorithm. - STL mesh should mainly be used on Non-Joined Macros. The results on joined macros may not be so accurate. - Avoid STL meshing of Macros of revolution of more than 180 degrees. Split them if needed for more robust results. If needed, quality improvement for this kind of mesh can be done using the function Shell Mesh>Collapse [Violating] by collapsing needle like elements.! Note that for this step the user should not use the default CFD quality criteria which are strict but set suitable quality criteria, like the ones shown below. Use the UDF SetQualityCriteria and select the PowerFlow option to assign propert criteria for STL like mesh. 35

36 3.6. Summary of Automatic Quality Improvement functions The table below summarizes the features of the main automatic quality improvement functions in the Shell Mesh group Before Function After Fix Qual Fix quality violations by small nodal movements. Result can be undone using Grids>Origin Reconstruct Fix quality violations by mesh reconstruction. Results however are always bounded by existing Perimeters! Reshape Most advanced function as it performs local Perimeter Join operations and mesh reconstruction. For 99% of the cases you should use Reshape [Advanced] to fix all mesh quality issues. All these functions can be used on meshed Macros or FE-mod mesh. For FE-mod mesh the identified feature lines behave like Perimeters. For example, Reshape can join the identified feature lines ( perimeters ) if needed, to improve the quality. It is recommended to use the Reshape function because it is the most powerful one. Reconstruct and FixQual can be used for some final touch up actions, if needed. Result of Reconstruct. All violations are fixed by further mesh refinement as the Perimeters cannot be joined. Mesh may have overrefinements. What controls automatic quality improvement functions Original model with very narrow Macros and hence skewed trias. 36 Result of Reshape. All quality violations are fixed by Joining of Perimeters and mesh reconstruction. Small unneeded features are removed.

37 The functions Reshape, Recons and Fix Qual are controlled by the following settings: Quality Criteria ANSA will only fix the mesh if it violates the current settings of the Quality Criteria window. Mesh Parameters The target length in CFD mode is Local This means that ANSA will reconstruct the mesh using the same underlying size of the elements it improves. The Target should only be changed temporarily for specific operations (for example reconstructing the mesh to a uniform target size). Join Perimeters with distance < 0.4*L Flat Perimeters defeaturing level: medium ANSA will join a perimeter if the feature that will be removed is smaller than 0.4 of the local element length. Increasing this value will lead to more joining of perimeters and more de-featuring of small details. If after joining and reconstruct of Reshape function there are still remaining element violations, then ANSA will use Fix Qual, that is it will move some nodes in order to fix these violations. This controls how large these movements can be, with respect to L, the local length value. 37

38 3.7. Useful Checks Before proceeding to Layers or Volume meshing please check the following: - Checks>Penetration [Intersections] This will isolate all intersecting elements, which may exist due to bad cleanup, or badly meshed Macros. - Checks>Penetration [Proximities] This will isolate all elements that have a proximity problem. Activate the option Check grey-grey to check only the grey side of the mesh for proximities. Proximity check takes place based on two parameters: the shell element length and a user specified factor, or an absolute distance. This check can be performed between different PIDs as well as within same PIDs. The option Auto-Fix is also available, so that ANSA can reconstruct and refine the mesh locally. Ensure that you use Auto-Fix on selected areas so that you can determine whether it should take place or not. - Check>Duplicate This will isolate any duplicate elements that may exist, although rarely. Check if there is a topological problem there. - Check>Mesh>[Sharp Edges] This will isolate elements that form very narrow or steep angles that may cause problems in layer generation or volume meshing. - Isolate>Bounds [Single and Triple] This will identify unwanted single or triple connectivity areas of the surface mesh. You can also see this in BOUNDS view mode: Deactivate visibility of Perimeters, Hot Points, Shadow, Wire and activate Bounds and Grids (The Grids flag is useful for the visual detection of small bounds in a big model). Checks Manager You can also use the Check>Checks Manager with predefined groups of checks for each stage of your work. These check templates can also be customized by the user for other tasks. 38

39 4. Watertight model preparation One of the challenging tasks in CFD model build up is the generation of a watertight surface mesh from complex geometry. Depending on the input format (CAD geometry or STL tessellated model) and data quality the user has the following possibilities: CAD nurbs data STL tessellated data TOPO functions If the geometry is relatively clean and easy to extract the watertight wetted surfaces, this is the recommended approach for high quality meshing (see section 2). Not applicable Shell Mesh>Intersect If the geometry is relatively clean and consists of several solid description unconnected parts in contact or proximity, this approach can work very. The macros must be first meshed and then Released to FEmod mesh (see section 4.1). This approach works very well for solid description parts in contact or proximity. The original meshes should have no topological problems. The final mesh is a watertight model that maintains all the details of the original meshed parts (see section 4.1.). Elements>Wrap If the geometry is not clean and extracting the watertight surfaces is very difficult, this is the only approach (see section 4.2). If the mesh contains many topological problems (intersections, gaps, duplicate elements etc) then this is the only approach for efficient preparation of the watertight model (see section 4.2). Of course, depending on the model, one can use a combination of the above approaches in different areas of the model. For example, one area of the model can be treated at geometry level and meshed, while another area can be surface wrapped and so on. In the end, all areas can be connected together using the functionality of Shell Mesh>Intersect Intersecting meshed parts The function Shell Mesh>Intersect is a very powerful automatic function that allows the connection of FE-mod meshed parts as shown here. The user has the option to keep or not the connected common interior surfaces. OR Shell Mesh>Intersect function has various sub-options: Solid description Connects solid description meshed parts that are in intersection/contact/proximity Skin description Connects skin description parts that are intersecting Welding FE Automatically extends and connects free edges of surface mesh to nearby mesh Fuse panels Connects overlayed skin description parts keeping always the outermost parts and removing the covered ones (example are skin parts consisting an underbody) For the option Solid Description, the connection of parts in proximity is performed within a user specified tolerance and takes place via two options, fuse or inflate. Fuse is recommended for clean planar contacts, while inflate is intended for more complex and irregular interfaces between different parts. 39

40 4.2. Surface wrapping approach Surface wrapping is a technique that should be used when the input data are either too complex to extract the wetted surfaces from, create a water-tight geometry and clean it up, or when the input data is raw tessellated STL with several problems like intersections and gaps. The wrapping functionality of ANSA can be found in the function Elements>Wrap. The process of wrapping is described with the help of the following sketches. Initial surface description full of openings, intersections and overlaps Generation of background octree hexa mesh Identification of intersecting hexas with original surface description and marking of these elements in blue Extraction of the outer skin (green) of the identified intersecting hexas Projection of the green skin on the original surfaces A water tight surface mesh (green) is created In this way Wrapping overcomes all geometry problems. Still, wrapping should only be used if the conventional way of geometry cleanup and shell meshing (which always gives the best quality results) is very labor intensive. You can find an example in the CFD tutorial for Surface Wrapping. 40

41 4.3. Preparation for wrapping Depending on the input data the following actions should be taken prior to the wrap tool: Input Data Pre-wrap actions STL 1) Examine the model for openings in Bounds view mode. 2) Use the function Shell Mesh>FEMTopo to close small gaps in the STL mesh 3) If the STL mesh is very dense use the function Shell Mesh>Reduce to coarsen it without loosing any detail. This will accelerate all subsequent steps. 4) Use the function Shell Mesh>Fill [Holes] Single bounds and feature line holes to close red bound holes and tubes or caves respectively 5) Use the function Shell Mesh>Fill [Manual] to manually close large openings in a regular pattern 6) Use the function Shell Mesh>Fill [Gaps] to automatically detect and close proximity areas 7) Use the function Elements>Stitch to manually quickly patch up irregular leak areas 8) Check for leaks using the leak tools described in section 6 Please refer to tutorial Watertight Preparation of STL data. CAD surfaces 1) Ensure that most of the Faces are topologically connected. Small gaps and triple CONS are not however a problem for wrapping. 2) If there are small openings that you do not want to keep, use Isolate [Tubes] isolate on the screen small inner passages like tubes and bolt holes on solid parts. Delete these Faces and then use CONS>Fill Hole to close the created openings in the solid model. 3) Inspect the model and create new Faces to close any openings that are larger than the wrap minimum length, or to cover any details that should not be captured by wrap. 4) The Macros should be meshed! Meshing the model prior to wrapping ensures that you assign correct element length on the model, because the wrapping tool will create a wrap mesh with similar shell mesh variations as the original model. Hence meshing the model allows you to control the element length of the resulting wrap mesh. You should not worry about the quality of this mesh, just have it there as shell size information. The best way to mesh the model is to use Perimeters>Spacing [Auto CFD] (specifying a min/max length and sharp edge length) and then Mesh Gen.>CFD. Check for any remaining large unmeshed Macros and use another algorithm like Free. Check again if there are any large unmeshed Macros. The small ones you can ignore as the wrap mesh will cover them. Alternatively, if the model is very large, you can also use Perimeters>Spacing [Auto STL] and Mesh Gen>STL. This will be faster than CFD meshing process. 5) If the model is very large, you may consider after creating the base mesh to use the function Elements>Release and then Delete the original Faces, which will eave you with only the FE-mod tria shell elements. This will leave you with a lighter version of the model to work on and allows you to use the tools described in the STL section above. In general the wrapping tool is meant to be used for complex models. If however you have to prepare a very large model, you may try to wrap it in individual sub-assemblies independently and then merge the resulting wrap meshes using the functions Shell Mesh>Intersect. This will allow you to use wrap more quickly and with better control per sub-assembly. A good preparation of the structure of the assembly of the model in the ANSA Part Manager will highly help in this effort. In the Part Manager you can separate which Parts should be wrapped and which parts should be meshed in the standard ANSA way. 41

42 Surface Wrapping in ANSA has two options, Variable or Constant length, depending on the octree that is used in the background. The following table summarizes the advantages and disadvantages of both: Variable Length Constant Length Pros Cons - Variable size wrap ensures better detail capturing. - Mesh that adapts and refines in curvature areas and captures the model's feature lines. - Can handle proximities, variable parameters per PID, Size box refinement areas. - Includes leak check. - Labor intensive algorithm requiring time. - Ultra fast wrap algorithm. - Smooth surface result leading to no problems in volume meshing. - Includes leak check. - Creates a uniform size mesh. - Does not capture model feature lines. - For complex model it usually requires posttreatment to fix areas that may lead to problems in volume meshing Constant length surface wrapping Constant length wrapping is a very fast wrapping algorithm. Although it does not capture the features of the model like variable wrap does, it can generate a good quality watertight surface mesh at a fraction of the time. Starting point can be FE-mod STL mesh or unmeshed geometry. Geometry resolution length is important in case the geometry is unmeshed. User specifies the constant length of the octree and the amount of smoothing, from 0 (no smoothing) to 1 (high smoothing). They can also select if they want inner or outer wrap and define seed points for leak checking. Upon acceptance of the previewed octree, ANSA generates a problem free watertight surface of constant size. If the user wants to coarsen the result they can: - Use Recons with target length=2*local. - Then use Reshape with target length = local. The final result can be checked from Check Manager>Post Wrap Checks. If any problems are identified they can be fixed automatically using the UDF PostWrapFix Variable length surface wrapping 42

43 Surface wrapping is a powerful tool that can be used in ANSA to create watertight models in a fraction of the time needed. Below is a summary, while more info can be found in the tutorials and the User Guide. Select if you want Outer or Inner wrapping. If you select inner specify the number of the first Nth largest identified volumes to be wrapped. Specify the global Min and Max length (these can later be changed for each PID in the next window, if needed). Applying Scale Base Length the wrap mesh will copy or map the local element length of the original model. This factor can be used to scale up or down the copied element length. Setting this value to 0 results in no length mapping. Merge Property is area below Allows merging of small PID regions to their larger neighbor. Feature lines above this angle will be identified and captured by the wrap tool. Curvature refinement will be applied to ensure good mesh resolution. Leak check allows the user to specify some points where the wrap should not reach. If it does, ANSA will stop and create leak path curves so that the user can trace the leak areas. Pre-wrap treatment requires extra time, as it carries out additional checks and fixes, which may not always be necessary. This option should be skipped if the user performs some steps in advance, see section 4.1. Post-wrap treatment provides options for mesh quality improvement after wrap. The Basic option is recommended. In the local control window the user can set different settings for each PID or Part. In addition they can set proximity refinement control. The user can select which PIDs to wrap and what min and max length each one should have. Property/Part proximity and Self-proximity can be activated for each property. 43

44 self proximity refinement In order to ensure adequate refinement the user can specify a min length reduction factor value in the range 0.1<f<1.0. In this way, ANSA is allowed to locally drop the local min length of the property in order to ensure contact prevention. For example for a PID with min length 4 and a reduction factor of 0.2, the length may drop down to 0.8. PID proximity refinement 4.6. Post-wrap checks Performing a good quality wrap that captures all the important details of the model may take a few iterations until you achieve the best result. Once you are satisfied with the final wrap it is recommended that you delete the original mesh/geometry. In the Part Manager, ANSA places the wrap mesh in a separate Part. You can delete the original model with rightclick and delete. This will leave a lighter database and you will be able to focus more easily on the final checks of the wrap mesh. After wrap with post-wrap treatment the user must check for intersection, proximities, flipped elements and quality issues. The checks below should take place one after the other and possibly in more than one loops. Check>Penetrations [Intersections] Find problems and fix them with Grids>Paste and Elements>Delete and Shell Mesh>Fill [Holes]. Check>Mesh>Sharp Edges Find problematic flipped elements and fix them with Grids>Paste. Check>Penetrations [Proximities] Find proximity problems and fix them with the right click option Fix (auto refinement) or with Grids>Move. Mesh quality check Use Reshape [Advanced] to fix remaining quality violations. Check>Duplicate Remove any duplicate elements. Isolate>Bounds [Single or Triple] Check if there are unwanted free edges or triple connectivity. All the above checks should be performed iteratively until all problems are eliminated. In addition you can also use the Checks>Checks Manager. This tool contains set of predefined multiple checks. One of them is a check for CFD_post_wrap that includes all the above mentioned checks. Press Execute to apply all these checks simultaneously. Note: You can also use the User Defined Function PostWrapFix accessed from the UDFs button in order to perform all the above fixes in an automated way. Finally, if you want to coarsen the mesh, you can set a Min Length value in F11 and then use Reshape [Advanced] again. This will remove smaller elements from the model and reduce the element length. 44

45 5. Identifying leaks There are three main functions to identify leaks on complex mesh models with gaps, overlaps and intersections, to be sent for wrapping, or on clean good quality meshes. The Isolate>Skin function. Here the user selects whether to isolate exterior or interior geometry. In this example we select exterior and we also specify excluded volumes, that is positions in space where ANSA should not find a path from the exterior. Select from the screen point position to extract their CoG and confirm. More than one seed points can be specified. Based on the user specified value of leak size if ANSA finds a path from the exterior to the seed points then it will create a 3D curve indicating the leak patch through the opening. The Elements>Wrap [Variable length] function provides an integrated leak check tool with an additional advantage with respect to the Isolate>Skin function, the fact that it uses a variable length octree that adapts to the local length. The user can specify multiple leak check points. 45

46 ANSA wrap algorithm will run and if there is a leak will stop and create several 3D Curves. This allows the user to trace and locate multiple leak areas in one step. Finally, the function Isolate>Short Path [Leaks] can only be used on good quality mesh (not STL mesh with intersections and other problems) if there is a suspicion that there is a leak which is not easy to locate in a complex model, and the automatic Volume detection algorithm fails. The user specifies one outer point (green) and one (or more) inner ones (red). Points must NOT lie on the surface mesh but inside or outside the volumes in question. To select easily a point that lies inside the volume and not on the surface, select more than one points and ANSA displays the CoG of them and highlights it. Then proceed with the next source point, select many nodes on the surface, ANSA displays the CoG. Finally confirm all selections with middle mouse and ANSA will calculate a curve of the Leak Path, if such a path exists. The leak can be found by tracing this path. Finally you can also perform a visual inspection of the model in Display Styles>TOPO Check Gaps and Display Styles>MESH Check Gaps to see if there are red single bounds in the model. 46

47 6. Layers When you generate layers with the function Volumes>Layers the user should consider the following: - Do not grow layers inside already defined Volumes. Remaining volumes should be Defined/Detected after layers generation. - Which are the surfaces from which you grow layers, so that they are placed in separate PIDs - Which are the surfaces on which you want to adjust/connect the layers sides to. Is the angle of these side meshes suitable for auto-connection? These surfaces should be visible when growing layers. - Start with a relatively good quality surface mesh (Fluent skew<0.7). However, thanks to the advanced ANSA capabilities of layer excluding, collapsing and squeezing, you can start with a moderate quality mesh and ANSA can automatically remove layers from bad surface mesh regions. There are three options that ANSA can automatically overcome layer generation problems (due to intersections, proximities or element quality violation). The function Layers has four tabs: 1) Basic parameters are: First height: Absolute value or Aspect (height=base length*factor). Growth factor: Geometric growth rate of subsequent layer heights. Number of Layers: Number X of layers to grow. Additional outer layers: ANSA starts with an X number of layers in absolute mode and then adds Y more layers so that the last aspect ratio is around 0.5. This is a very recommended way to generate layers as it leads to a very small volume change of the last layer and the first tetra element. 2) Side treatment parameters: Connect to Macros: Connect to meshed macros without releasing to FE-mod mesh. Auto-connect to neighboring mesh: Connect the sides of the layers to the neighboring mesh, provided the angle if less than the Auto-connect limit. Auto-connect to neighb. Map-QUAD mesh: Connect to pre-existing side mapped mesh using the same mesh nodes, provided the angle is less than the auto-connect limit. Generate Quad-Tria interfaces: If there are sides of the layers that do not connect to surface mesh (are free exposed) create an extra set of triangular mesh so that volume meshing can be done based on the trias and not the high aspect ratio quads. This will require the definition of a Non-conformal mesh interface between the side quads and tria interface meshes. Collapse free edges: If there are sides of layers that do not connect to surface mesh, collapse them so as not to leave exposed side quad facets. 47

48 3) Vector treatment parameters: Smooth vectors: Option to allow vectors to deviate from their calculated normal vector (to withing the max angle deviation) so as to be able to grow more layers Separate vectors at sharp edges: Option to split the layers at vary acute angles to avoid mesh quality issues Smooth top cap shell mesh: Option for an extra smoothing step of the top cap of the layers. This allows the growth of more and higher layers in complex models. 4) Growth control parameters: Max top facet skew: Max allowed Fluent EquiArea skewness of top cap mesh Proximity factor: Check distance to ensure a good gap between opposite layers Minimum first layer height: Minimum height that will be respected by layer squeeze. Minimum layer aspect: Minimum height to base length ratio that will be respect by layer squeeze. Maximum layer aspect: maximum height to base length ration of layer to be generated. If value is reached ANSA will proceed with constant height or collapse layers locally. In case of failure retain valid layers: If layer growth comes to a problem ANSA will leave the layers that were already generated. Following the definition of global layer settings, the Layer Area card opens where the user can set different layer settings for different PID areas: Which PIDs to Grow layers from What first height, mode and growth factor each area has. Zero-thickness: should layers grow from both sides of a PID? What Property should the generated layer elements belong to? 48

49 ANSA layer generation algorithm provides several problem overcoming options as described below: Squeeze Layers Advantages: - Can be applied on penta or hexa layers. - Does not alter the mesh type. Disadvantages: - Cannot overcome all problems. In case where the original mesh has areas where no normal vector can be calculated or no layer of acceptable quality be generated, Layers Generation will stop and these areas will be placed in a SET for the user to examine. - Changes locally the specified layer height. Collapse Layers Advantages: - Can overcome any problem. Disadvantages: - Changes the mesh type around the collapsed areas and creates pyramids and tetras in the layers. Tips: When using collapse it is better to switch Squeeze option off, so that you do not end up with skewed tetras and pyramids due to the collapsed prisms. Exclude Layers Advantages: - Can be applied on penta and hexa layers. - Can overcome any problem. - Does not change the mesh type. Disadvantages: - Leads to exposed side quad facets of the layers. In these cases it is recommended to use the option of non-conformal interfaces, as pyramid generation may have problems with very high aspect side quad facets. Layers sides can connect to exterior or interior shell mesh boundaries, if the option is active and the angle is withing the limit. You should be careful though that these surfaces are placed correctly as shown here: 49

50 It is recommended that your first attempt of growing layers on a model does not use the options Collapse or Exclude but only Squeeze. Ideally, you can grow layers from all the selected surface mesh. However, in reality on complex models there may be areas where no layers can grow. In such cases ANSA will stop and will place these areas in a SET so that the user can isolate them from the SET list with Show Only and examine them. In many cases, a modification of the surface mesh can help things a lot. In some cases changing the proximity settings may allow the layers to be generated even at narrow corners like the tyre contact patch above. However there may also be cases where no valid vector can be generated at all. In such cases the user may either change the geometry locally and remesh, or allow ANSA to locally exclude or collapse the layers. Growing layers on complex models is not an easy task. There is always a compromise between element quality and extent of layer collapsing or excluding at problematic areas. Here are some settings of the LAYERS function that are important for the tuning: 1) Vector treatment>smooth Vectors Max Angle: The smaller the value the more orthogonal the layers, but also the more chances to end up with problematic regions that can only be solved with collapsing. 2) Vector treatment>smooth top cap mesh: This option allows ANSA to perform extra smoothing of the layers so as to overcome problems without collapsing or squeezing. In some cases however it may lead to poorer element quality. 3) Growth controls>max top facet EquiArea skew: The smaller the value the more strict the criterion and the more are the chances of ANSA stopping layer growth or needing to locally collapse the layers. 4) Growth controls>proximity factor: The larger the value the more squeezing or collapsing will be required. The smaller the value the more in danger to end up with very tight spaces for volume meshing afterwards. 50

51 7. Volume Meshing Having first created the boundary layer elements, you should now proceed with the definition of the Volume entities. This can be easily done with the function Volumes>Define [Auto Detect]. All the Volumes defined manually or detected by ANSA are listed in the Volumes>List window. You should check this list to monitor the type, Name, PID and status of the Volumes. Note that Large volumes (by default larger than 200 million elements) are drawn in Outline Draw mode. This means that only the outline of the volume is visible and no Focus commands can be applied, in order to accelerate the view manipulation of large models. Of course all remaining ANSA functionality, like quality improvement functions and output, can be performed normally on such volumes Manual Volume Definition First, isolate the Macros that define the Volume, using FOCUS commands either in PID or ENT mode and use Volumes>Define [Manual] and select all visible Macros with box selection. Place the Volume entity in a new separate Part (to facilitate later its handling) and then assign a PID to it. Here it is recommended to assign it to the same PID as that of the layers underneath it. In fact, if there is no specific need later for post-processing of volume zones, it is better to assign the same PID for all fluid elements. You can always manage the Volumes in your model using the Volumes>List list window, edit any volume and change its PID as well Auto Detect functionality for Volume Definition Defining Volume entities from complicated assemblies can be a complicated task. Sometimes the separation of PIDs from the list is not enough to isolate all the Macros that should form a closed Volume. For complicated models you can use the Volumes>Define [Auto Detect] function. This function can detect and define automatically volumes from meshed Macros or FE-model mesh. Remember to have the Highlight button activated in the Volume list. All Detected Volumes are placed in separate Parts in the Part Manager Meshing the Volume ANSA provides different meshing algorithms for volume meshing, as shown in the table below: Tetra Rapid Very fast and robust tetra mesh generation for any model. Recommended for all cases. Tetra CFD Old tetra mesh generation for CFD models with large variation in element length on the surface. Significantly slower than Tetra Rapid, it should only be used if Tetra Rapid fails to mesh a specific volume.. Tetra FEM Old tetra mesh generation for smaller models with thin volumes. Significantly slower than Tetra Rapid, it should only be used if Tetra Rapid does not perform well in a specific case. 51

52 Hexa Interior Fully conformal variable hexa mesh inside the domain with prism and pyramids transitions between different hexa sizes and with pyramids and tetras near the surface. HexaPoly A combination of variable size Hexa and Polyhedral elements inside the domain with transition with polyhedrals and tetras near the surface. Conv2Poly A pure polyhedral mesh can be generated from the conversion of any tetra or HexaInterior or hybrid mesh. Ensure that the tetra mesh quality is good (Fluent Skew< 0.8 or 0.85 ) prior to conversion, as it cannot be improved afterwords (Fix the tetra skewness using Improve>Reconstruct [Violating] and [FixQual]). If you have a mesh with very high aspect layers, you may consider excluding the layers from the conversion using the respective option. Excluding the layers will also reduce the memory needed for the conversion. Converted Tetra mesh Converted HexaInterior mesh The above meshing algorithms are controlled by the Options window at the bottom right of the ANSA interface. Specify the maximum length for the tetras and the growth rate, and select a quality criterion type and target threshold value (for example Fluent skewness =0.85). 52

53 You can also create Size Boxes that will control the maximum tetra size at certain locations of the model. These Boxes are created from any CFD Deck from the Size Box group of functions Semi-structured volume mesh For relatively simple volume shapes, like for example ducts, radiators etc, you can use the functions Volumes>Map in order to generate semi-structured penta or hexa mesh. You need to define three areas, the master that must be meshed with trias or quads, the slave which can be unmeshed as it will obtain an image of the mesh of the master, and the guiding side which must be meshed with map quad mesh. The result is hexa mesh (if master mesh is quads) or penta mesh (if master mesh is tria).! Note: Map type volumes do not have to be defined/detected prior to the use of the Map function. The Map function will define and mesh the volume in one step Checking the Volume quality and fixing Check in the Volumes>List if all required Volumes are now meshed. Switch to HIDDEN mode to see if there are any OFF elements exceeding the quality threshold values in F11. You can get quality statistics in the Text Window (average quality, ranges and worst elements) for a selected meshed Volume entity using the Volumes>List [Info] function. Alternatively, you can get statistics for the whole model from Deck Info button in the main toolbar. Finally, fix any remaining violating solids with Volumes>Improve>Fix Qual [Visible], but ensure you set proper quality settings in F11 for solids first. It is recommended to set also Jacobian and Warp criteria when fixing skewness, in order to ensure that no pentas are affected by the fix of tetra skewness. Use the User Defined Function SetQualityCriteria to select predefined set of quality limits. 53

54 8. Batch Meshing Batch Meshing is a tool that can automate all the meshing steps to build up a CFD model. The use of Batch Meshing ensures the following: 1) Automation: Meshing is performed without user intervention. 2) Consistency: Meshing can be re-applied in a consistent manner to subsequent models. 3) Traceability: The whole meshing process is saved in the file so that later on if the file is accessed the user can quickly be informed about the meshing specifications of the model. The Batch Meshing tool consists of templates that can be setup once and then they can be executed repetitively on new geometries, ensuring meshing consistency and automation. There are four types of so-called scenarios: - Surface Meshing - Surface Wrapping - Layers generation - Volume meshing The user can setup one or more of the above types of scenarios in Batch mesh. Each scenario consists of several sessions, so that each session can contain different PIDs that should be meshed with different element length and optionally different quality criteria. The distribution of PIDs in sessions can be done manually by the user or in a more automated way using filters based on name conventions or IDs. This allows the automatic re-application of a scenario to a new geometry. Please refer to the CFD tutorial Batch Meshing of a Pump. Surface batch meshing consists of the automatic application of all manual operations that would be used in order to obtain a good quality mesh in ANSA. So for example when setting up a CFD type surface mesh session, ANSA will perform the following steps on the Properties that have been placed in this session: 1) Apply Perimeters>Spacing>AutoCFD to assign a proper element length on the model based on the curvature, sharp egdes, and Size Boxes. 2) Apply Perimeters>Simplify in order to automatically join some Perimeters and created larger Macro Areas for a better flowing CFD mesh. 3) Apply a second step of Perimeters>Spacing>AutoCFD, as the previous step of SIMPLIFY has deleted some hot points and thus reset the nodal distributions. 4) Use Mesh Generation>CFD to mesh all Macro Areas. 5) Use Shell Mesh>Reshape [Violating] to automatically join and reconstruct any violating elements according to the corresponding quality criteria of the session. All these steps are performed sequentially for each session one after the other, in the order in which they are listed. The sessions order affects significantly the result (as demonstrated in the next section) so the user must place some care in this issue and create them in the proper order. The order of the sessions can also be altered with drag and drop in the Batch Mesh list window. 54

55 8.1. Setting up Batch Mesh sessions When setting up a batch mesh scenario for a CFD model you will probably need to use several sessions so that different areas of the model are meshed with different element length. The following example demonstrates the importance of the order by which the sessions will run one after the other. Consider the simple case where we have two PIDs, Fine each one placed in a separate batch mesh Curvature angle 5 degrees Min length = 1 mm session. Property Fine is to be meshed with CFD mesh with a feature angle of 5 degrees and a min length of 1mm while Property Coarse is to be meshed with CFD mesh with feature angle 20 degrees and min length 5mm. Coarse Curvature angle 20 degrees Min length = 5 mm Two Batch Mesh sessions are created with the corresponding mesh specs. In the first case the Coarse mesh session runs first followed by the Fine mesh session. As a result, the Perimeters that are common to both sessions are meshed with the Coarse length. This creates a bad mesh transition around that area. Fine session follows Coarse session first In contrary, if the Fine session runs first and then the Coarse follows, the common Perimeters are meshed with the fine mesh. Fine session first The result is much better. Coarse session follows Ensuring that the order of sessions is proper in this respect may not always be easy when dealing with a complex model with many properties, however it is a condition that must be fulfilled in order to get the best results from the Batch Mesh tool. For Layers and Wrap type scenarios there is an extra subdivision under each session, called Area. Sessions are run sequentially one after the other, while Areas are run simultaneously. So if for example you want to grow layers with different settings for different PIDs you need to define Areas under the session, so that the layers are generated in one step and are connected together in the common boundaries. 55

56 9. Hexablock Meshing Hexablock meshing is a module in ANSA that can be used to generate pure hexa meshes. This approach can be applied on geometry data or FE-mod mesh, although geometry is much preferred as input. The concept is based on multi-block box topologies that are created and fit on the model. The mesh is generated in the boxes and projected on the original geometry. There are two approaches to construct the hexablock boxes. The most common one (topdown) is to start with a large box, split it in smaller ones, delete some and fit the rest on the model. The other approach (bottom up) is to start building and connecting the boxes one by one on the model. In this example we use the first approach (topdown), so a large box that includes the whole model is created. The function that is used to generate boxes is Boxes>New. The box is split in areas that are aligned with the main features of the model, using the function Boxes>Split. The boxes that are not needed are deleted. 56

57 The remaining boxes are associated on the model. The user can associate Box Points, Edges and Faces, using the functions: Association>Points Association>Edges Association>Faces The correct order of doing this, is first associating the Points. Then associating the Edges. The advantage of using Geometry as input (not FE) is that the user can perform specific cuts in the TOPO menu, having the desired shape and alignment, so that the association of the box edges on them can be highly controllable. In most cases associating the Faces is not necessary. If in some rare cases the geometry is highly curved and the box faces are very far from the model, the resulting mesh may look distorted. In such cases, associating the box Faces on the model faces will help ANSA produce a better mesh. The final associated box topology looks like this. The user can check the quality of the model fit using the function Association>Check. Having associated the boxes, the user can proceed with the assignment of nodes on the box edges. This can be done with the functions Edges>Length, Number and Spacing. Then they can use Shell Mesh>Map or Free to generate the surface mesh. During meshing the user can select whether to project on the geometry. This option can be skipped for the first draft mesh in order to accelerate the result. The final mesh however must be performed with the option project on geometry active, so that the generated mesh lies exactly on the underlying geometry. The final step would be to generate layers using the Boxes>O-Grid function. This will improve the internal angles of the boxes and will also resolve better the boundary layer with better elements. Finally the user can generate the hexas using Volume Mesh>Pure Hexa or Map. The mesh quality depends highly on the shape of the created box. Some further quality improvement can be performed using the function Volumes>Improve>Fix Qual in the main MESH menu. 57

58 Important points for HexaBlock meshing Visibility Status flags Hexablock Box visibility is controlled by the green set of buttons at the bottom of the GUI. When you are working with the Hexablock module it is highly recommended to set the visibility of buttons as shown here, that is: BOX POINTS: OFF (you do not need to see the control points on the curved edges of boxes) BOX GRIDS: ON (you should see the nodal distributions on the edges as these affect the meshing) If you want to see the number of elements of your model you should also activate the View Mode>Mesh button in the Options List window. Associations You should associate all box edges that lie on curved CONS. Associated edges are colored in magenta color instead of cyan. There is no real need to associate straight edges to straight CONS. It helps if you first associate the points and then the edges. Association of Box Faces is not needed, unless: 1) You want to generate shell mesh on an interior box Face in order maybe to create shell mesh for post-processing purposes 2) The underlying Faces are very curved and deviate from the Box Face. In this case the mesh projections may be lost. Associating the box Face to the underlying Faces will help Mesh projection When using any shell or volume meshing function in Hexablock you should note the status of the Project on Geom flag in the Options List window There are two cases when you should have this flag de-activated: 1) When you are at the initial stages of meshing and you perform some trial and error about the mesh density and spacing and you may need to mesh and erase several times. This will save you time as you skip the projection step. In the end when you are satisfied with mesh you can erase and mesh it again, this time with the projection flag activated. 2) When you want to shell or volume mesh a box (or some facets of it) without any geometry around. In this case you avoid lost projections that you would not expect. Combining Hexablock with unstructured mesh In some cases the user may have to combine hexablock meshing with unstructured meshing. In order to achieve this one must: 1) Mesh completely the shell and volume mesh of the hexablock first. 2) Use the function Mesh>Hot Points>Multi Pr. with the option Nodes, selecting all the perimetric nodes of the hexablock mesh. In the options list the flags Connect to geom and Initialize Perimeters must be active. Then select the Perimeters of the Macros where connection must be achieved. Upon confirmation the nodes of the hexablock mesh are connected on the Perimeters. Yellow Spots verify the connectivity at the nodes. Please refer to the CFD Tutorial Hexablock meshing for more details. 58

59 10. CFD solver I/O formats Apart from the mesh generation, the user can also setup the names of the surface and volume properties from the Property list to setup properly the CFD model. You should always specify at the start for which solver you want to prepare a mesh. This is done from DECKs pull down menu (by default OpenFOAM). This will allow ANSA to provide also the respective boundary condition types in the Property List. As CFD volume models tend to be large, it is recommended to setup all the surface boundary condition names and types before volume meshing, while the file is still small. After volume meshing you can assign the correct fluid properties also before file output. An example of a model with boundary condition types for Fluent is shown below: The BC types can also be represented visually on the model if the user switches to VISIB>ENT to VISIB>BC. BCs are represented in Fluent convention coloring (blue inlet, red outlet etc). The Property list contains all zones and respective BC types. The user can double click on a property to Edit its BC type in the card. The property list supports also mass modification of several properties. Select the properties, right click on the column that you want to change and select the type. ANSA can generate CFD models for several solvers. Depending on the solver, there are various levels of support, from plain mesh I/O to full case and solver setup. 59

60 The following table concentrates all the supported CFD solvers/formats: OpenFOAM A full case can be setup in ANSA, including the mesh, property names, boundary and initial conditions and the solver settings (controldict etc). Property names and boundary conditions can be setup from the Property list, while the rest is controlled from DECK>AUXILIARIES>SOLVER INFO You should output a full surface AND volume mesh for OpenFOAM. Fluent (*.msh)) A surface or volume mesh and their zone names and boundary condition types can be setup in the property list of Fluent Deck. Zone names and BC types are setup in the Property list. Fluent 2D (*.msh) Generate the model in the x-y plane and assign from the Property list the fluid zone names. From DECK>FLUENT 2D>BCs>BC [New] and [List] you can assign the edge boundary condition name and type on selected CONS or FE-mod edges. StarCCM+ (*.ccm) Specify in DECK>STAR>AUXILIARIES>SOLVER INFO if you want to create a mesh for StarCCM+. The respective BC types will be available in the Property list. You should output a full surface AND volume mesh for StarCCM+. StarCD (*.inp, *.vrt, *.cel, *.bnd) Specify in DECK>STAR>AUXILIARIES>SOLVER INFO if you want to create a mesh for StarCD. The respective BC types will be available in the Property list. CFD++ Mesh and property names are supported. 2D mesh output is not supported. For 2D meshes output Fluent 2D msh files and convert them to CFD++ afterwards. CFX (*.cfx5) Mesh and property names can be output in CFX5 format to be read into CFX through mesh>import. You should output a full surface AND volume mesh in cfx5 format All interior faces must be uniformly oriented before output! SC/TETRA (*.pre, *.mdl, *.s) Input and output of.mdl and.pre files. The *.pre file contains surface and volume mesh (properties and volume definitions) while the *.mdl file contains surface mesh. Also support of exporting and importing *.s files which contain all currently supported boundary conditions. Here all boundary areas are defined as regions. TAU (*.cdf, *.grid) Support of output of native DLR-TAU mesh files (*.cdf or *.grid and *.bmap) with boundary conditions as specified in the Property List for TAU Deck. Actuator disk surface are defined in the Property list. The actuator disk Face gray side, as well as the rotation axis must be oriented in the flight/thrust direction. For moderate size models use the standard mode during output. If your model exceeds around 200 million elements, use the HDF5 flag instead. UH-3D (*.uh3d) Mesh, property names and boundary condition types are supported for input/output of surface mesh files. PowerFLOW (*.nas) Surface mesh and property names can be read into PowerFLOW through the NASTRAN output format. CGNS (*.cgns) For other CFD codes (like AVL-FIRE, Code Saturn, SU2, ONERA's Elsa and Cedre or FOI's Edge) the CGNS format can be used for mesh I/O. Supports CGNS library v2.5-5, ADF version with FaceCentre BC location. Input accepts structured and unstructured formats, separated PIDs (per element type) or mixed. Output of separated PIDs (per element type) or mixed is available. Output of structured i,j,k format is also possible for hexa meshes created in HexaBlock only. RadTherm (*.tdf) Full support for input/output of RadTherm files (mesh, names, BCs, materials etc.). Theseus FE (*.tfe) Full support for input/output of Theseus FE files (mesh, names, BCs, materials etc.). 60

61 10.1. Definition of periodic boundary conditions Depending on the solver the user can create models with periodic BCs that are either conformal (matching nodes between two sides) or nonconformal (different mesh at each side). These periodic BCs can be rotational or translational. The following tables summarize the setup needed. Conformal periodic BCs Solver Fluent Interface defined in A single Shell Property. Open A single Shell FOAM Property. BC Type Communicati ng zones Type definition periodic In the PID card via two Rotational SETs of Faces, one for each side. Translational Rotation axis defined in property card of solid property contained between periodic faces. In the PID card via two Rotational SETs of Faces, one for each side. Translational Rotation axis defined in property card of periodic property. Two separate Periodic / Shell In-Place / Properties. Repeating CONDITION TYPE defined as ContactInterface. cyclic wall STAR AUXILIARIES> (it will be processed CCM+ INTERFACE automatically during output) TAU A single Shell Property. Additional information required - - In the PID card via two Rotation axis defined in Rotational / SETs of property card of periodic Translational Faces, one property. for each side. Periodic plane Non-conformal periodic BCs Solver Fluent Interface defined in Communicati ng zones Type definition BC Type Two different Shell Properties. AUXILIARIES> interface INTERFACE Open AUXILIARIES> cyclicami FOAM INTERFACE Two different Shell Properties. STAR AUXILIARIES> N/A CCM+ INTERFACE Two different Shell Properties. 61 Rotational Additional information required Angle distance of matched faces in CFD_INTERFACE card. Translation vector of Translational matched faces in CFD_INTERFACE card. Rotational Rotation axis defined in CFD_INTERFACE card. Translation vector of Translational matched faces defined in CFD_INTERFACE card. Periodic / In-Place / Repeating CONDITION TYPE defined as ContactInterface.

62 11. Model generation Checklist At every stage of the model preparation there are certain checks that should take place before proceeding to the next one. The table below lists a summary of the steps that should take place in the traditional CFD mesh preparation process. These are geometry clean up, watertight model creation, surface meshing, layers and volume mesh generation. For surface wrapping please refer to section 4.2. Geometry preparation Faces Resolution Different models require different discretization length. Assign a suitable element length on your model from Mesh>Perimeters>Length or Spacing [Auto CFD]. This will allow you to better display the model details. Faces Orientation Activate Visibility>Shadow mode. All Faces should be uniformly oriented. Gray is the positive side and yellow the negative. Use Faces>Orient to assign uniform or invert the orientation. Unnecessary Hot Points Perform a Hot Points>Delete with box selection to remove any unnecessary Hot Points. Check>Check Manager> Geometry Checks The user can use the Checks>Checks Manager functionality to identify several common problems in one click. Use the template Geometry Checks to find all the problems shown on the left. ANSA will report all the problems. Double clicking on each category will allow the user to right click and isolate or automatically fix the problems (if possible). Triple CONS may exist in a CFD model on purpose. Single CONS should only exist if the model has zero-thickness walls (baffles). If any penetrations are identified, the user should use the function Faces>Intersect to fix any intersecting parts. Isolate>Flanges> Proximity This check will identify parts that are very close together (although not actually intersecting). The absolute distance value is left to the user to decide. Very often such geometries also need to be topologically connected, using Topo functions like CONS>Project and Faces>Topo. Surface meshing Perimeters>Length or Perimeters>Spacing [Auto CFD] Ensure that you assign to all Perimeters the desired Element Length. For uniform element length mesh, use Perimeters>Length, while for variable, curvature dependent surface mesh use Perimeters>Spacing [Auto CFD]. Unmeshed Macros After using the various meshing algorithms (Adv.Front, CFD etc) the user should check for Unmeshed Macros in the legend on the left. Use right click for Show Only and then use alternative algorithms, or cut them into smaller macros, or check the underlying geometry. Visibility>Hidden Switching to Hidden mode allows you to check if there are violating elements, reported in the legend as OFF. Use Shell Mesh>Reshape [Advanced] to fix them automatically (perform twice if needed). If there are any remaining OFF elements, then use right click Show Only on the legend OFF to identify and examine these areas. You may have to use Shell Mesh>Fix Quality or even change the geometry or the element length to better resolve such areas. Do not proceed to layers or volume meshing if you still have OFF elements on the surface. OFF elements Surface mesh orientation If layers are to be generated ensure that the orientation is uniform 62

63 and correct for the whole of the model. Use Macros>Orient. Checks>Checks Manager> Surface Mesh Checks Use the Surface Mesh Checks template of the Checks Manager to identify all the problems of the surface mesh. Unmeshed Macros and Intersections Sharp edges: This check will identify very sharp angles in the surface mesh. These may be due to flipped elements on the surface or to the actual nature of the geometry. Such areas may cause problems, especially for layers generation, so you should treat them appropriately. Trias on Corner: identifies triangles at three edge corners and swaps them if needed so that layers with better quality can be generated afterwards. Duplicate and Triple Bounds: will identify duplicate elements or triple connectivity edges. Check for proximities that may lead to problems in layers of volume meshing. The check distance can be an absolute value, but it is better to specify an element length factor (<1). This implies that the check distance will be equal to the factor multiplied by the local element length. Activate also the options to check proximities among areas with the same PID (self-proximity) and provided that you have oriented your shell mesh (Macros>Orient) correctly, check only the positive side (gray one) for proximities. Layers generation Volumes>Layers Generate the Layers prior to Volume detection. Ensure you have assigned correct PIDs to the model, as the layers will be generated based on this grouping of the model. Ensure also that the surface mesh orientation is correct. Try to grow layers only with the squeeze option. If ANSA stops and detects problematic areas, open the SET window and make visible (Show Only) these areas. Investigate the cause of layer failure from these areas: poor mesh quality, very tight angles, proximities? If possible make corrections to the surface mesh. Otherwise activate also the Collapse or Exclude options and grow the layers again. Volume meshing Volumes>List After layers generation, ensure you have the whole model visible and use the function Volumes>Define [Auto Detect] to automatically identify all volumes. Mesh them with Volumes>Mesh Volume. Open the Volumes>List and check that all volumes are marked as Meshed. Check also that they have correct Property Name (Use Volumes>Set PID if needed). Select a Volume and press Info to get quality information. Visibility>Hidden Switching to Hidden mode allows you to check if there are violating elements, reported in the legend as OFF. You can optionally press right click Show Only on the OFF legend to isolate them. To fix them, press Focus>ALL, ensure that the visibility of Macros, FE-mod and Volumes are all active and then use Volumes>Improve>FixQual [Visible]. You may have to press the function again in order to fix any remaining elements. Output Before outputting the model it is recommended that you clear the database from any empty or unused grids, PIDs, etc, using the function Compress. Use also the UDF>Tools General>RenumberModel to renumber all PIDs and elements. Bring ALL entities you want to output to visible. Ensure Macros, Volumes and FE-mod are active. Use optionally the Check>Checks Manager>PRE_Volume Mesh Output checks template. Then use the Output Visible option. 63

64 12. Recommendations for OpenFOAM model setup This section outlines a series of steps that should be followed in order to create a high quality mesh that meets the requirements set by OpenFOAM. Additionally, recommendations regarding OpenFOAM case set-up (numerical schemes, solution and algorithm control) are presented Setting up the quality criteria limits The most important OpenFOAM Quality Criteria that affect the convergence of a simulation are Skewness and Non-Orthogonality. A high quality mesh will keep Skewness below 4 and Non-orthogonality below 60. However, these values can be extended up to 5 and 70 respectively. You can automatically set the correct Quality Criteria thresholds by activating the User Defined Function SetQualityCriteria, and select among the three available options (Strict / Medium / Relaxed). (Note that OpenFOAM quality criteria apply only to volume elements. ANSA will set appropriate quality criteria for surface meshing based on Fluent definitions.) Surface meshing It is important, before proceeding to layers creation, to ensure a good quality surface mesh that will report no OFF elements in Hidden mode. For this, follow the procedures described earlier in section 3.3. Another check that is important after the completion of surface meshing is Checks> Mesh> Trias On Corner, which searches for Tria elements having two of their edges lying on feature lines of the model. Areas where such elements exist, might lead to poor quality volume mesh later on. Activate the check and if any elements are found, right click on them in Checks Manager window and select Fix. Also, it is recommended to create two rows of elements in faces that form narrow ribs, like shown on the picture. This will ensure better quality for layers later on. Use the trailing edge refinement option in Spacing AutoCFD to achieve such a mesh. 64

65 12.3. Layers generation Most frequently, elements with high skewness or nonorthogonality will appear in the layers section of the volume mesh. Regarding layers generation, it is advised that Exclude option is activated, in combination with Squeeze. This will ensure that in problematic regions, all layers will be excluded and over-squeezed elements will be avoided, as shown here for a concave area example. Additionally, Generate Quad-Tria Interfaces option should be activated along with Reconstruct Tria Interfaces flag, as shown in the image. These options are found in Side Treatment tab of Layers function. Thus, two superimposed PIDs will be created at the excluded areas, which will be used for the definition of a non-conformal interface later on. Also, in Vector Treatment tab, Separate vectors at sharp angles option can be enabled. This will separate layers at sharp angles (e.g. airfoil trailing edges), ensuring that highly skewed elements will be avoided in areas like the one shown below. Moving on to Growth Controls tab, an appropriate Minimum first layer height value should be set to avoid over-squeezing of layer elements. Moreover, Minimum layer aspect option can be set to a higher value (e.g. 0.05) to avoid elements with low aspect ratio that might increase non-orthogonality value. These settings will have effect only when layer squeezing will take place to overcome proximity issues. 65

66 When generating layers with Exclude and Generate Quad-Tria Interfaces options activated, a NonConformal-Interface is automatically defined. The two PIDs, side_quad and tria_interface are set by default of type CyclicAMI. In the OpenFOAM deck activate AUXILIARIES > INTERFACE function. Click Edit and in the window that opens, to examine the definition of the AMI Interface Final Volume mesh improvement After layers generation, it is recommended to proceed with volume meshing of the rest of the domain. Quality improvement of any reported OFF elements should be made in the end on the whole domain, as Fix Quality will give better result. In order to check the quality of the mesh, you can switch to Hidden view mode and isolate the reported OFF elements. In addition you can use the Check>CheckMesh tool that includes all the checks that are necessary for a mesh to be output and solved with OpenFOAM. Clicking Execute, any violating elements will be reported along with their values. In order to improve mesh quality, activate Volumes> Improve> Fix Quality [Visible] function, ensuring that all volume is visible and the correct Quality Criteria have been applied in Quality Criteria window. Before outputting the model it is recommended that you clear the database from any empty or unused grids, PIDs, etc, using the function Compress. Use also the UDF>Tools General>RenumberModel to renumber all PIDs and elements. Use OpenFOAM>Elements>Util>Renumber Mesh [Model] to reduce the bandwidth. Bring ALL entities you want to output to visible. Ensure Macros, Volumes and FE-mod are active. Use optionally the Check>Checks Manager>PRE_Volume Mesh Output checks template. Then use the Output Visible option. 66

67 12.5. Setting up Boundary Conditions The table below summarizes the recommended boundary conditions for each variable (depending on the selected turbulence model) at each boundary, for a High Reynolds model (y ). Note that there is a UDF called SetupOFCase that will assign correct parameters to each PID given minimum user input. Inlet Outlet Stationary Walls Moving Walls Rotating Walls p zerogradient fixedvalue zerogradient zerogradient zerogradient U surfacenormalfv zerogradient or inletoutlet fixedvalue 0 fixedvalue The velocity of the wall rotatingwallveloc ity k fixedvalue k=(3/2)*(ui)2 U: Free stream velocity I: Turbulent intensity zerogradient or inletoutlet kqrwallfunction kqrwallfunction kqrwallfunction epsilon fixedvalue zerogradient epsilon=k*omega or inletoutlet epsilonwallfuncti on epsilonwallfuncti epsilonwallfuncti on on omega fixedvalue zerogradient omega=ρ*(k/μ)*(μ or -1 inletoutlet t/μ) ρ: Density k: Turbulent kinetic energy μ: viscosity μt: turbulent viscosity omegawallfunctio omegawallfuncti omegawallfuncti n on on nutilda fixedvalue zerogradient or inletoutlet zerogradient zerogradient nut calculated calculated nutkwallfunction nutkwallfunction nutkwallfunction zerogradient The table below summarizes the recommended boundary conditions for each variable (depending on the selected turbulence model) at each boundary, for a Low Reynolds model (y+ 1-5). Inlet Outlet Stationary Walls Moving Walls Rotating Walls p zerogradient fixedvalue zerogradient zerogradient zerogradient U surfacenormalfv zerogradient or inletoutlet fixedvalue 0 fixedvalue rotatingwallveloc ity k fixedvalue zerogradient or inletoutlet fixedvalue 0 fixedvalue 0 fixedvalue 0 epsilon fixedvalue zerogradient or inletoutlet fixedvalue (small value e.g. 1e-12) fixedvalue (small value e.g. 1e-12) fixedvalue (small value e.g. 1e-12) omega fixedvalue zerogradient or inletoutlet fixedvalue (small value e.g. 1e-12) fixedvalue (small value e.g. 1e-12) fixedvalue (small value e.g. 1e-12) nutilda fixedvalue zerogradient or inletoutlet fixedvalue 0 fixedvalue 0 fixedvalue 0 nut calculated calculated nutkuspaldingwal nutkuspaldingw nutkuspaldingw lfunction allfunction allfunction 67

68 12.6. Solver setup This section presents some tips regarding OpenFOAM case set-up that may help stabilize a diverging simulation. Keep in mind that nothing can substitute a good quality mesh, however if further improvement is not possible these hints might prove to be useful. Keep also in mind the UDF SetupOFCase that will automatically setup several case settings for BCs in the PID list and in the Solver Info section. - Solver Settings (fvsolution) Solution divergence may be observed in case of meshes with high non-orthogonality (above 70). In that case you can increase the Non Orthogonal Correctors of the SIMPLE algorithm in the fvsolution file from the default 0 to 2, as shown here: SIMPLE { nnonorthogonalcorrectors 2;... } In the above example, two correctors have been used for the simplefoam solver. This number may be reduced to reduce the computational time. In general, for non-orthogonality above 60 but below 70, 1 corrector may be used. For non-orthogonality between 70 and 80, 2 or more may be needed. - Disable OpenFOAM Floating Point Exception Signal In some cases a simulation may crash in the first few iterations due to extremely high values of some variables. The crash may be avoided if the Floating Point Exception Signal is deactivated. To do so, navigate to the case folder and type: unsetenv FOAM_SIGFPE After unsetting it, the line marked in bold below should not appear at the beginning of the solution output: Pstream initialized with: floattransfer : 0 nprocssimplesum : 0 commstype : nonblocking polling iterations : 0 sigfpe : Enabling floating point exception trapping (FOAM_SIGFPE). filemodificationchecking : Monitoring run time modified files using timestampmaster allowsystemoperations : Disallowing user supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Running the case To run an OpenFOAM case follow these steps: 1) Navigate inside the case folder and initialize the flowfield with potentialfoam to help solution convergence: potentialfoam writep tee potentialfoam.log 2) Start the solver with the output in a log file like: simplefoam tee a simplefoam.log 3) Use the ANSA UDF function MonitorOFSolution, to create two files, so that you can monitor the solution progress through residuals and monitors like Cd and Cl values using the gnuplot command: gnuplot residuals to obtain a real-time plot of residuals as shown on the left, and gnuplot coeffs for a similar plot of Cd and Cl Parallel execution To run a case in parallel, ensure you have specified the number of processors in Solver Info>decomposeParDict and then execute decomposepar to decompose the mesh and mpirun np 20 simplefoam parallel tee a simplefoam.log to run simplefoam in 20 processors 68

69 13. Importing CFD results in ANSA It is possible in ANSA to load, display and manage results calculated from CFD simulations. These results are handled by the DECK>AUXILIARIES>RESULT entity. Example of such results are: - Pressure or temperature loads to be mapped on meshes for FEA analysis - y+ results to be used for modification of boundary layer first height distribution - adjoint sensitivities to be used for morphing The following sections describe the steps the user must follow for difference cases Importing results from the same mesh In case the user wants to import results in ANSA from a simulation performed on the same mesh, there are two options, depending on the solver used. OpenFOAM Results OpenFOAM results, as long they come from a single processor case (i.e. they are reconstructed), can be directly input in ANSA. Go to AUXILIARIES>RESULTS and press New in RESULT list window. As Result type choose OpenFOAM. In Filename field, you can press question mark? to open a file browser for choosing the file. This file should contain the OpenFOAM result of interest (p, U, yplus etc). Press OK. In the RESULT list window, press the Apply button. The Status should change to Built. Note that if you have multiple Result entries only the Current one (marked in Red) can be visualized. You can change this using the Current button. Switch to Results view mode to visualize the current Result. All other CFD solver Results Results from a simulation performed in any other solver, apart from OpenFOAM, cannot be read directly into ANSA. Instead they should be read in META and META will output in a text file (readable by ANSA) all the information needed. Follow these steps: 1) In META, load the case along with the results that should be exported. 2) Isolate on screen the entities for which results should be exported. 3) In CFDPost toolbar, go to Output tab and press Refresh button. The drop-down list becomes populated with the available results. 4) From the drop-down list choose the result that should be exported. 69

70 5) Press Output button. Results are written in a text file in the format: x y z value for scalar values x y z value_x value_y value_z for vector values Where x, y, z are the coordinates of element centroids. 5) In ANSA, go to AUXILIARIES>RESULTS and press New in Result [RESULT] window. As Result type choose Custom. In Filename field, press question mark? to open a file browser for choosing the file. In case the results exported from meta uses different length units from the model loaded in ANSA, you should define an appropriate Scale Factor (For example if your simulation is in metres and your ANSA model is in mm, then this scale factor should be 1000). 6) In RESULT window, press the Apply button. If all parameters have been defined correctly, the Status should change to Built. 7) Activate Fringe>RESULTS to visualize the loaded RESULT Importing results from a different mesh For importing simulation results in ANSA coming from a different mesh, initially mapping should be performed between the two meshes. This will take place in META. 1) In META, load the simulation containing the results (this is the source mesh) 2) Load as new model in active window the mesh for which results should be input (target mesh). 3) Activate User Toolbars>Map Resutls. 4) Setup the fields in Map Results toolbar and press Map Results button. 5) A new state is generated for target mesh with a new result called Mapping. 6) Isolate on screen the entities for which results should be exported. 7) In CFDPost toolbar, go to Output tab and press Refresh button. 8) The drop-down list becomes populated with available results. 9) From the drop-down list choose the result that should be exported. 10) Press Output button. Results are written in a text file in the format: x y z value for scalar values x y z value_x value_y value_z Where x, y, z are the coordinates of element centroids. for vector values Once the text file is obtained from META, follow the steps described in the previous section for any other CFD results. 70

71 14. Morphing for CFD ANSA Morphing allows easy and accurate morphing of complicated CFD models. Morphing can be applied on Surface and Volume mesh and on Geometry also. Morphing can be achieved either using Morphing Boxes, or without them, using Direct Morphing functions. The following table summarizes the capabilities: Type Applicable to Characteristics Box Morphing (Create morph boxes and move their control points) Surface and Volume FE-mod mesh - Efficient algorithm for fast morphing of full volume CFD models - Highly controllable with suitably designed boxes - Ability to re-use existing morphing boxes on new models (see section 14.16) - Final results can also be applied on Geometry (see section 14.15) Direct Morphing (DFM function) Surface FE-mod mesh or Geometry (Faces) - Does not require construction of Boxes - Easy to perform (see section 14.12) Tangency condition This simple example demonstrates the box morph approach. Control point One box is split into two. Tangency condition is applied across the edges by default. Loaded elements in box Morph box edge Moving a control point results in the proportional morphing of the elements that are loaded in the boxes. The table summarizes the most common functions that should be used in order to perform Box Morphing: Task Morph Function Create Box Boxes>New Select some elements to create a Box around them Split Box Boxes>Split Split the Box at appropriate locations to limit the morphing area Modify Box shape Control Points>Insert to insert additional Control Points if needed Box Morphing>Move to move the Control Points and change the shape of the Box so that it follows better the geometry Fit Box Box Morphing>Fit Snap selected Edges on selected features of the model Load elements Boxes>Load [Visible] Always perform a Load Visible step to ensure that the proper elements are loaded in the corresponding Boxes. You can examine this using Boxes>Info Morph Box Morphing>Move Select Control points to move with the Morphing Flag Active in the Options List Window!) 71

72 14.1. Box Morphing Approach There are two approaches when constructing the Morphing Boxes: Loose morphing In this approach a large box is created and split in the three directions, to localize the effect of morphing, thus forming a lattice. Moving the outer Control Points results in morphing of the mesh. Always prefer this approach if you can accomplish what you want as it is less constraining than the tight edge fit approach. Tight edge-fit morphing As in the previous approach, a large box is created and splits are made, using Boxes>Split. The internal Morphing Box edges are snapped to the feature lines of the model, using Box Morphing>Fit [Edges]. This enables the user to morph or freeze certain feature lines very accurately. 72

73 14.2. BOX preparation When creating a large Box using the Boxes>New [Ortho] function, all selected elements are loaded in the Box. Using Boxes>Info the user can visualize the contents of a Morphing Box. When splitting this Box, ANSA automatically redistributes the elements to the proper Boxes, as shown below. In every change of the topology or shape of the Boxes during their preparation for the morphing, ANSA checks the contained entities and the boundaries of the Boxes. Because real CFD models usually contain very large number of elements, these checks delay the Box manipulations. It is therefore recommended to start your work with an empty Box. With an empty box the user can perform operations like split, and control point movement much faster than with a loaded Box. To empty the contents of the original Box, simply de-activate temporarily the visibility of the FE-mod flag and perform a Boxes>Load [Visible] operation. As nothing is visible, the selected boxes will be emptied of their contents. In the end when you have split, reshaped, edge-fit your boxes, just before doing the Morphing, you can perform a Boxes>Load [Visible] or [Whole DB] operation to load the proper elements to the proper Boxes. Remember that every time you make a modification of shape of the Boxes (without morphing) you should use the Boxes>Load function to ensure that the proper elements are loaded to the proper Boxes. Failure to do so may result to such discontinuities during morphing, like the one shown here. 73

74 When creating boxes around a vehicle try to use as few splits as possible. This makes the model easier to handle and also results in smoother morphing. Take also advantage of the Transform>Link [Symmetry] to create LINK boxes as shown. A change on one side is mirrored on the other. Observe how the splits follow the shape of the car.... in every direction. 74

75 14.3. Box shape issues When splitting the Boxes in order to edge fit the internal edges onto the feature lines of the model, you should take care that the morphing Boxes are as orthogonal as possible, and certainly do not have internal angles that exceed 180o degrees. On the left image the Box that is bad internal angle good internal angle inside the vehicle has an angle higher than 180, while in the second image a better Box construction results in better angles. In the example below again the left model has two boxes with very wide angles. The Box topology on the right has much better shaped Boxes. Non-optimum topology improved topology Creating the Boxes is similar to creating Boxes for Hexa mesh. Like in hexa mesh, the better these blocks are, the better the result. You can also check for invalid boxes with Morph>Checks>Distorted Box boundaries The Boundaries of the Boxes should be placed sufficiently away from the model to be morphed. On the left the first model has some confined morphing space adequate morphing space boxes that are small. The model on the right has much better boxes. 75

76 14.5. Larger Boxes maintain orthogonality The images below indicate that even if the initial Boxes have good internal angles, these angles may be violated if morphing takes place. Having larger boxes reduces this risk. Bad resulting box angle >180o confined morphing space adequate morphing space OK resulting box angle Large Boxes result in smaller deformations of the volume mesh confined morphing space squeezed solids good solids adequate morphing space 76

77 14.7. Tangency condition Depending on the status of the Tangency status in the Options List window, when you split Boxes ANSA assigns or not tangency conditions between adjacent Boxes. Tangency is indicated by the thicker lines and can be added or removed using the Edges>Tangency [Manual and Remove] functions. In most cases it is better not to have tangency applied because it may over constrain the form of the Boxes. It is therefore recommended that you remove all tangencies and then add them selectively at areas and along specific directions that you really want them. no constrain over constrain The following simple example demonstrates the effect of tangency. You could start without any tangency over all edges and then selectively add them manually, where it is really needed. with tangency without tangency without tangency tangency only along one direction 77

78 14.8. Additional User Tangency condition Sometimes it is very useful to impose and freeze tangency in a certain direction. This can be achieved through Edges>Tangency [User] Select NEW pick an edge and confirm. When the window opens pick two point positions in order to define the required direction. By default ANSA creates the User Tangency in the current direction of the edge. A user imposed tangency is displayed with a yellow arrow. In this example, the tail of the vehicle is squeezed in width and the rear roof is lowered. These changes do not however affect the tangency of the model upstream and maintain a smooth shape variation. The image on the left shows how a User Tangency condition can improve the morphing results. Without any Tangency, sharp discontinuities arise. With standard Tangency there is no discontinuity in curvature BUT a movement of the rear end of the vehicle affects upstream the model as shown on the left. With User Tangency, on the right, the continuity is guaranteed and also there is no distortion upstream, because the edge is frozen. 78

79 14.9. Tolerances Tolerances is an important issue, especially when morphing CFD models that contain very small elements (especially in volume boundary layer elements). To avoid accuracy errors you should activate the extra-fine tolerances in Settings>MORPH Optimization. (in general the tolerances should be two orders of magnitude smaller than the smallest element length). smooth mesh mesh wrinkles Edge fitting on features of the model When using the Box Morphing [Fit Edges] function to snap the Morphing Box edges on the feature lines of the model it is not recommended to place an excessive number of Control Points. Too many Control Points delay all the algorithms without actually improving the accuracy of the result. excessive number of Control Points normal number of Control Points Fitting of Edges on the model should not be implemented on every feature of the model. As a general rule you should FIT edges on the model only when: - aiming to freeze a certain feature line so that nothing is moved around it - aiming to move a feature line either as a rigid body or to snap it to a different curve. For all the rest it is better to keep a more loose box structure with as few control points as possible, 79

80 In this example we have fitted the upper and lower edges of the rear windscreen. Note that the vertical edges of the screen do not have edges fitted on them. They are left to deform freely. Here we have fitted two edges only: - The one we want to move as rigid body or to snap to a different target curve - The one we want to freeze so that it is not affected by the neighboring morphing - when we want to morph a specific target 3D Curve. When moving only one side of an edge, the result will usually be better if there are no intermediate Control Points as shown below: With intermediate control points Without intermediate control points 80

81 Using 1-D Box edges 1-D Box edges can also be easily created from the function Boxes>1-D Morph These edges have a radius of influence of the entities (Faces or shell elements). However it is more appropriate to use Load>Select function to load exactly the entities that you want in specific 1-D Morph entities. Then you can easily pick a control point of such an edge and morph your model. 81

82 Troubleshooting morphing boxes Morph boxes should be as orthogonal as possible. Avoid severely distorted boxes because they will give bad morphing results. You can use the CHECKs>DISTORTED to find badly shaped Morph Boxes and fix them. The message overlapping morphing boxes may appear when trying to morph a model. In this case morphing will not be allowed because there is conflict with respect to the contents of the boxes. ANSA reports the Ids of conflicting boxes in the Text area, for example Overlapping morphing boxes selected (morph id: 201 and 222). In such cases use the DatabaseBrowser to locate these boxes. Double click in the MORPHBOX entry to open the list of Morphing Boxes. In the filtering section at the top, type the requested Ids and click on Show Only Overlapping boxes usually occur because some elements are loaded to more than one boxes, usually when one has morphing boxes inside other morphing boxes, and they move the control points of both boxes simultaneously. In such cases ANSA cannot understand how to move these elements (which box should affect them?) and prints this message. Overlapping boxes may also occur if the box construction is not proper. This happens when the shape of the boxes is severely distorted or if there are duplicate Control Points (that is points within a very small distance). Use Control Points>Rm.Dbl. in such cases and specify a tolerance, say 5mm and select and delete the identified duplicate control points. Use also Checks>Distorted to identify bad boxes. Then use Boxes>Load again to load the proper elements to the proper boxes and proceed with morphing. 82

83 Direct Morphing (without morphing boxes) Morphing on Geometry (Faces) or surface mesh can be achieved very efficiently without the need of morphing boxes using the function: Direct Morphing>DFM (Direct Fit Morph) The user need to specify 3 groups of entities: O What Moves as a rigid body. O What deforms to absorb the morphing. O What boundaries stay frozen. Move Types can be: - Translation - Rotation - Scaling - Edge Fitting - Surface Fitting Note that several combined movements can be performed in one step if required, for example a translation of one part of the model and an edge fit of another feature of the model to a target curve. In this example the user selects the rear end of the vehicle to be moved in x direction. The magenda colored Faces will be deformed. The blue CONS will remain frozen. ANSA performs the morphing automatically. 83

84 Define MORPH Parameters Once you have finalized the Morphing Box construction it is well worth defining the morphing Parameters from Controls>Parameters>New. Mainly used parameters are TRANSL, LENGTH (for slide action) and EDGE.FIT. Having defined the parameters you will not have to select again the control points to perform the morphing, and these parameters are saved in the database The Deformation Morph Parameter A different kind of Morphing parameter that is very useful is the DEFORMATION type. Create one before you begin your morph operations, so that at any time during the morphing you can retrieve the original state (0) from the current state (1), or interpolate between 0 and 1 or even extrapolate beyond this range. The Deformation type parameter allows also the user to re-apply the same morphing on another model. To achieve this the user must define the deformation parameter prior to morphing. Then, after all the morphing operations are complete and the final state is reached, the user can EDIT the parameter and set the Record status to OFF. This means that the target state (as well as the original) is now also locked. All intermediate states can be retrieved by Morphing the parameter from 0 (origin) to 1 (final state). The Boxes with the deformation parameter can be saved separately in another ANSA database (see next section). The Boxes saved as a separate ANSA database on their own can be morphed to their original state by MORPHING the value to 0, then loading or merging another mesh in them, loading the elements to the Boxes and and then morphing the parameter back to 1 again. 84

85 Morph the geometry through deformation mapping ANSA morphing using boxes is best practiced on the shell and volume mesh. However one also needs to be able to morph the actual Faces also. The best way to do this is to first perform the morphing on the mesh and then apply the same morphing in the end on the geometry. This can be achieved with the use of the Deformation morph parameter and the function DEFORM MAP. Start with your original meshed model. Ensure that you have the View Mode>Mesh status is active in the Options List window. You should see the Geometry as meshed Macros and not as Faces. Create the Boxes and Load>Visible the FEEntities (that means the elements) and not the Faces. Prior to any morphing it is essential that you define a Deformation parameter. This will record the deformations of the mesh which will then be mapped on the geometry at a second stage. In Controls>Parameters select NEW and a Deformation type. Confirm in the card of the deformation parameter. Perform all the morphing actions on the mesh of the Macros. You will notice that the Perimeters of the Macros remain at their original position, as the underlying geometry is not morphed. Once you have finalized all the possible morphing actions on the mesh (which can be a sequence of several combined movements) you can check the deformation parameter and it will show you the total displacement from the origin. 85

86 Change the View Mode to Topo the VIEW in the Options List and then you will notice that the Faces are still at their original position, as no morphing was applied on the geometry. The task now is to apply the deformation of the mesh on the geometry Faces. Activate the function Controls>Deformation Map This function maps deformation data on new geometries (Faces or FE-mod). The deformation data can come from an existing deformation parameter, or from a text file containing columns of x, y, z, dx, dy, dz. Select the option Deformation parameter and press Next. In the parameter list window that opens next, select the deformation parameter that has recorded the mesh deformation. Press Next. ANSA displays the deformation vectors. This number may be very large for a real model. Note that the number that will finally be applied should not be excessive (say more than 50,000 ) as the computation will require a lot of memory and time. 86

87 You can manually edit the sampling points number and press the Reduce button to sample fewer vectors that can also be sufficient for the deformation mapping. Press Next. In the selection of entities to be morphed switch to Geometry and ensure that the proper Faces are selected. Press Next Ensure that the correct CONS are selected to be frozen during morphing. Press Next. ANSA maps the deformation vectors that were previewed to the selected Faces. The geometry is morphed. The morphed model can now be output in IGES, STEP or VDA-FS format. 87

88 Part Manager structure As a real life model morphing case can get complicated, it is highly advisable to use the Part Manager in order to manage the model. You should have in separate Parts or Groups the main mesh model, the Morphing Boxes, the original 3D curves of the feature lines of the model and the target 3D Curves, if any. The feature lines of your model in the form of 3D Curves can be extracted by you using Curves>Cons2Curv from the original geometry (if it is available) or using the Perimeters>FL2Curves function. Target Curves can be either obtained from CAD department or even created within ANSA using several CAD functions in TOPO. As Curves do not have a PID it is recommended to place them in separate Parts.!! Placing the Boxes in one Part allows the user to save them from the Part Manager (right-click SAVE) into a separate ANSA database. If there are any Morph Parameters, they will also be saved with the Boxes. This means that the user can use the same Boxes, input a new model in them, LOAD the boxes and perform morphing on the new model using the existing Boxes. In such a case the user may only have to make some adjustments or edge fit of the existing boxes to the new model. The Box topology or template can be the same. 88

89 15. User Defined Functions for CFD models ANSA Scripting language allows the creation of user defined functions. Below are some user defined functions that may come to use in the manipulation of a CFD model. These user defined functions are automatically read by ANSA upon startup from the file CFD_TRANSL.py inside the ANSA installation directory (/full_path/ansa_v16.x/config/cfd_transl.py). The user can save this file locally at /.../<user_home_dir>/.beta/ansa/version_16.x/cfd_transl.py and edit it accordingly to modify the UDFs that they want to automatically read at start up. The UDFs are accessed by the function UDFs at the main pull down menu. TOOLS_TOPO: IsolateFaceArea: Isolate Faces below or above a user specified area. IsolateShortCONS: Isolate CONS below a user specified length. MergeOverlappingFaces: This function detects identical faces in contact and replaces them with one with a PID name containing the names of the two PIDs that it originated from. Useful for defining interfaces between solid components. RemoveDouble3DPoints: Remove duplicated 3D points. SplitCurvaturePeaks: Automatic split of high curvature areas for better meshing afterwards TOOLS_MESH: AdvancedLayerParameters: Access to more controls for Layers generation. ChangeBafflesProperty: This function should be used after ISOLATE [Baffles]. It will change the property of the identidied baffles to a new property name with the added keyword *_zero_baffle. This function is useful to separate the PIDs of baffles in order to create layers from both sides of zero thickness walls afterwards. ConnectSTLPerProperty: This function applies FEMTOPO on each PID of an assembly, separately. CosineSpacing: This function applies sine and cosine spacing on selected Perimeters. FixOFQuality: Automatic quality improvement for OpenFOAM meshes. FixVolumeElements: Automatic quality improvement for problematic volume elements (negative). IsolateNormalVector: Isolate shell elements according to their normal vector. MapPIDs: Map the PIDs of two similar models from one Part/Group to another Part/Group withing a user tolerance 89

Tutorial THE BASICS GEOMETRY CLEANUP AND SHELL MESHING

Tutorial THE BASICS GEOMETRY CLEANUP AND SHELL MESHING Tutorial THE BASICS GEOMETRY CLEANUP AND SHELL MESHING Table of Contents 1. Introduction... 2 1.2. Prerequisites... 2 1.3. Problem description... 2 1.4. Data files... 2 2. Read the CAD file... 3 3. Checking

More information

EXTERNAL AERODYNAMICS

EXTERNAL AERODYNAMICS Tutorial EXTERNAL AERODYNAMICS HYBRID VOLUME MESH Table of Contents 1. Introduction... 2 1.1. Prerequisites... 2 1.2. Case description... 2 1.3. Data files... 2 2. Read the ANSA database... 3 3. Create

More information

Tutorial 1 BASIC ANSA GEOMETRY CLEAN UP AND SHELL MESHING

Tutorial 1 BASIC ANSA GEOMETRY CLEAN UP AND SHELL MESHING Tutorial 1 BASIC ANSA GEOMETRY CLEAN UP AND SHELL MESHING Table of Contents 1.1. Introduction...2 1.1.2. Prerequisites...2 1.1.3. Problem description...2 1.1.4. Data files...2 1.2. Read the CAD file...3

More information

pre- & post-processing f o r p o w e r t r a i n

pre- & post-processing f o r p o w e r t r a i n pre- & post-processing f o r p o w e r t r a i n www.beta-cae.com With its complete solutions for meshing, assembly, contacts definition and boundary conditions setup, ANSA becomes the most efficient and

More information

FE surface mesh creation on the middle surface of a solid described model. Nodal Thickness is calculated for each shell element

FE surface mesh creation on the middle surface of a solid described model. Nodal Thickness is calculated for each shell element BETA CAE Systems S.A. Kato Scholari, Thessaloniki GR-57500, Epanomi Greece tel: +30-2392-021420 fax: +30-2392-021828 email: ansa@beta-cae.gr url: http://www.beta-cae.gr New software version release announcement

More information

Manipulating the Boundary Mesh

Manipulating the Boundary Mesh Chapter 7. Manipulating the Boundary Mesh The first step in producing an unstructured grid is to define the shape of the domain boundaries. Using a preprocessor (GAMBIT or a third-party CAD package) you

More information

Overview of ANSA & Moldex3D Coupling

Overview of ANSA & Moldex3D Coupling Contents Overview of ANSA & Moldex3D Coupling How ANSA & Moldex3D Users benefit from the Coupling ANSA Specialties Moldex3D Simulation Process Special Features in ANSA for Moldex3D users Sample Cases Support

More information

Section 8.3: Examining and Repairing the Input Geometry. Section 8.5: Examining the Cartesian Grid for Leakages

Section 8.3: Examining and Repairing the Input Geometry. Section 8.5: Examining the Cartesian Grid for Leakages Chapter 8. Wrapping Boundaries TGrid allows you to create a good quality boundary mesh using a bad quality surface mesh as input. This can be done using the wrapper utility in TGrid. The following sections

More information

quality and performance in automatic mesh generation

quality and performance in automatic mesh generation quality and performance in automatic mesh generation www.beta-cae.com ANSA, combining the automatic geometry healing with the automated middle skin extraction and the Batch Meshing, offers the most efficient

More information

Training Course Content

Training Course Content Pioneering engineering software systems, support & services. Training Course Content 29800 Middlebelt Road Suite 100 Farmington Hills, MI 48334 United States of America Tel: +1 248 737 9760 Fax: +1 248

More information

Obtaining Meshable Surfaces

Obtaining Meshable Surfaces Chapter 2 Obtaining Meshable Surfaces Exercise 2a: Importing and Repairing CAD Geometry Overview of Exercise Strategy: Import CAD geometry and organize your model using the Assembly Hierarchy. Evaluate

More information

Introduction to ANSYS FLUENT Meshing

Introduction to ANSYS FLUENT Meshing Workshop 04 CAD Import and Meshing from Conformal Faceting Input 14.5 Release Introduction to ANSYS FLUENT Meshing 2011 ANSYS, Inc. December 21, 2012 1 I Introduction Workshop Description: CAD files will

More information

Workshop 1: Basic Skills

Workshop 1: Basic Skills Workshop 1: Basic Skills 14.5 Release Introduction to ANSYS Fluent Meshing 2011 ANSYS, Inc. December 21, 2012 1 I Introduction Workshop Description: This workshop shows some of the clean up tools in Tgrid

More information

Using the Boundary Wrapper

Using the Boundary Wrapper Tutorial 7. Using the Boundary Wrapper Introduction Geometries imported from various CAD packages often contain gaps and/or overlaps between surfaces. Repairing such geometries manually is a tedious and

More information

Advanced Meshing Tools

Advanced Meshing Tools Page 1 Advanced Meshing Tools Preface Using This Guide More Information Conventions What's New? Getting Started Entering the Advanced Meshing Tools Workbench Defining the Surface Mesh Parameters Setting

More information

Introduction to ANSYS Fluent Meshing

Introduction to ANSYS Fluent Meshing Workshop 06: Mesh Creation Including Removal of Gaps and Baffle Thickness 14.5 Release Introduction to ANSYS Fluent Meshing 1 2011 ANSYS, Inc. December 21, 2012 I Introduction Workshop Description: Fluent

More information

ANSA. Training Course Content

ANSA. Training Course Content ANSA µeta Training Course Content BETA CAE Systems USA, Inc., 29800 Middlebelt Road, Suite # 100, Farmington Hills, MI 48334 Ansa Hotline: (248) 737-9760 x 5; Technical Support: support@ansa-usa.com; Website:

More information

November c Fluent Inc. November 8,

November c Fluent Inc. November 8, MIXSIM 2.1 Tutorial November 2006 c Fluent Inc. November 8, 2006 1 Copyright c 2006 by Fluent Inc. All Rights Reserved. No part of this document may be reproduced or otherwise used in any form without

More information

10.1 Overview. Section 10.1: Overview. Section 10.2: Procedure for Generating Prisms. Section 10.3: Prism Meshing Options

10.1 Overview. Section 10.1: Overview. Section 10.2: Procedure for Generating Prisms. Section 10.3: Prism Meshing Options Chapter 10. Generating Prisms This chapter describes the automatic and manual procedure for creating prisms in TGrid. It also discusses the solution to some common problems that you may face while creating

More information

Viscous Hybrid Mesh Generation

Viscous Hybrid Mesh Generation Tutorial 4. Viscous Hybrid Mesh Generation Introduction In cases where you want to resolve the boundary layer, it is often more efficient to use prismatic cells in the boundary layer rather than tetrahedral

More information

Geometry Clean-up in. Numerical Simulations

Geometry Clean-up in. Numerical Simulations Geometry Clean-up in Numerical Simulations Scope of the this Presentation The guidelines are very generic in nature and has been explained with examples. However, the users may need to check their software

More information

First Steps - Ball Valve Design

First Steps - Ball Valve Design COSMOSFloWorks 2004 Tutorial 1 First Steps - Ball Valve Design This First Steps tutorial covers the flow of water through a ball valve assembly before and after some design changes. The objective is to

More information

Exercise Guide. Published: August MecSoft Corpotation

Exercise Guide. Published: August MecSoft Corpotation VisualCAD Exercise Guide Published: August 2018 MecSoft Corpotation Copyright 1998-2018 VisualCAD 2018 Exercise Guide by Mecsoft Corporation User Notes: Contents 2 Table of Contents About this Guide 4

More information

Introduction to ANSYS ICEM CFD

Introduction to ANSYS ICEM CFD Lecture 4 Volume Meshing 14. 0 Release Introduction to ANSYS ICEM CFD 1 2011 ANSYS, Inc. March 21, 2012 Introduction to Volume Meshing To automatically create 3D elements to fill volumetric domain Generally

More information

Workshop 3: Cutcell Mesh Generation. Introduction to ANSYS Fluent Meshing Release. Release ANSYS, Inc.

Workshop 3: Cutcell Mesh Generation. Introduction to ANSYS Fluent Meshing Release. Release ANSYS, Inc. Workshop 3: Cutcell Mesh Generation 14.5 Release Introduction to ANSYS Fluent Meshing 1 2011 ANSYS, Inc. December 21, 2012 I Introduction Workshop Description: CutCell meshing is a general purpose meshing

More information

Solidworks 2006 Surface-modeling

Solidworks 2006 Surface-modeling Solidworks 2006 Surface-modeling (Tutorial 2-Mouse) Surface-modeling Solid-modeling A- 1 Assembly Design Design with a Master Model Surface-modeling Tutorial 2A Import 2D outline drawing into Solidworks2006

More information

HVAC Diagrams Preface What's New? Getting Started User Tasks

HVAC Diagrams Preface What's New? Getting Started User Tasks HVAC Diagrams Preface Using This Guide What's New? Getting Started Entering the Workbench Setting up Working Units and Grid Placing Components Routing an HVAC Line Placing Components in a Line Repositioning

More information

Lecture 6: CAD Import Release. Introduction to ANSYS Fluent Meshing

Lecture 6: CAD Import Release. Introduction to ANSYS Fluent Meshing Lecture 6: CAD Import 14.5 Release Introduction to ANSYS Fluent Meshing 1 Fluent Meshing 14.5 Assembly meshing Workflow This Lecture Tessellated or Conformal CAD import Cap Inlet/Outlets, Create Domains/BOI

More information

Piping & Instrumentation Diagrams

Piping & Instrumentation Diagrams Piping & Instrumentation Diagrams Preface Using This Guide What's New? Getting Started Entering the Workbench Setting up Working Units and Grid Placing Components Routing a Piping Line or I & C Loop Placing

More information

Autodesk Inventor Design Exercise 2: F1 Team Challenge Car Developed by Tim Varner Synergis Technologies

Autodesk Inventor Design Exercise 2: F1 Team Challenge Car Developed by Tim Varner Synergis Technologies Autodesk Inventor Design Exercise 2: F1 Team Challenge Car Developed by Tim Varner Synergis Technologies Tim Varner - 2004 The Inventor User Interface Command Panel Lists the commands that are currently

More information

Introduction to ANSYS FLUENT Meshing

Introduction to ANSYS FLUENT Meshing Workshop 02 Volume Fill Methods Introduction to ANSYS FLUENT Meshing 1 2011 ANSYS, Inc. December 21, 2012 I Introduction Workshop Description: Mesh files will be read into the Fluent Meshing software ready

More information

Training Guide CAM Basic 1 Getting Started with WorkNC

Training Guide CAM Basic 1 Getting Started with WorkNC Training Guide CAM Basic 1 Getting Started with WorkNC Table of Contents Table of Contents 1 Training Guide Objectives 1-1 2 Introduction 2-1 2.1 Part Geometry Preparation 2-1 2.2 Starting WorkNC 2-2

More information

Input CAD Solid Model Assemblies - Split into separate Part Files. DXF, IGES WMF, EMF STL, VDA, Rhino Parasolid, ACIS

Input CAD Solid Model Assemblies - Split into separate Part Files. DXF, IGES WMF, EMF STL, VDA, Rhino Parasolid, ACIS General NC File Output List NC Code Post Processor Selection Printer/Plotter Output Insert Existing Drawing File Input NC Code as Geometry or Tool Paths Input Raster Image Files Report Creator and Designer

More information

3. MODELING A THREE-PIPE INTERSECTION (3-D)

3. MODELING A THREE-PIPE INTERSECTION (3-D) 3. MODELING A THREE-PIPE INTERSECTION (3-D) This tutorial employs primitives that is, predefined GAMBIT modeling components and procedures. There are two types of GAMBIT primitives: Geometry Mesh Geometry

More information

Exercise 2: Bike Frame Analysis

Exercise 2: Bike Frame Analysis Exercise 2: Bike Frame Analysis This exercise will analyze a new, innovative mountain bike frame design under structural loads. The objective is to determine the maximum stresses in the frame due to the

More information

VERO UK TRAINING MATERIAL

VERO UK TRAINING MATERIAL VERO UK TRAINING MATERIAL Draft Analysis VISI Modelling Draft Analysis INTRODUCTION Pre-requisite It is important that before you attempt this VISI-Analysis training example; you must have completed and

More information

Basic Modeling 1 Tekla Structures 12.0 Basic Training September 19, 2006

Basic Modeling 1 Tekla Structures 12.0 Basic Training September 19, 2006 Tekla Structures 12.0 Basic Training September 19, 2006 Copyright 2006 Tekla Corporation Contents Contents 3 1 5 1.1 Start Tekla Structures 6 1.2 Create a New Model BasicModel1 7 1.3 Create Grids 10 1.4

More information

Automatic & Robust Meshing in Fluids 2011 ANSYS Regional Conferences

Automatic & Robust Meshing in Fluids 2011 ANSYS Regional Conferences Automatic & Robust Meshing in Fluids 2011 ANSYS Regional Conferences 1 This is just a taste Note that full 14.0 update webinars of an hour per product will be scheduled closer to the release This presentation

More information

Advanced geometry tools for CEM

Advanced geometry tools for CEM Advanced geometry tools for CEM Introduction Modern aircraft designs are extremely complex CAD models. For example, a BAE Systems aircraft assembly consists of over 30,000 individual components. Since

More information

Lesson 4: Surface Re-limitation and Connection

Lesson 4: Surface Re-limitation and Connection Lesson 4: Surface Re-limitation and Connection In this lesson you will learn how to limit the surfaces and form connection between the surfaces. Lesson contents: Case Study: Surface Re-limitation and Connection

More information

Repairing a Boundary Mesh

Repairing a Boundary Mesh Tutorial 1. Repairing a Boundary Mesh Introduction TGrid offers several tools for mesh repair. While there is no right or wrong way to repair a mesh, the goal is to improve the quality of the mesh with

More information

Exercise 2: Bike Frame Analysis

Exercise 2: Bike Frame Analysis Exercise 2: Bike Frame Analysis This exercise will analyze a new, innovative mountain bike frame design under structural loads. The objective is to determine the maximum stresses in the frame due to the

More information

SimLab 14.1 Release Notes

SimLab 14.1 Release Notes SimLab 14.1 Release Notes Highlights SimLab 14.0 introduced the new user interface. SimLab 14.1 enhances the user interface using feedback from customers. In addition many new core features have been added.

More information

UNIT 11: Revolved and Extruded Shapes

UNIT 11: Revolved and Extruded Shapes UNIT 11: Revolved and Extruded Shapes In addition to basic geometric shapes and importing of three-dimensional STL files, SOLIDCast allows you to create three-dimensional shapes that are formed by revolving

More information

Selective Space Structures Manual

Selective Space Structures Manual Selective Space Structures Manual February 2017 CONTENTS 1 Contents 1 Overview and Concept 4 1.1 General Concept........................... 4 1.2 Modules................................ 6 2 The 3S Generator

More information

14. AIRPLANE GEOMETRY

14. AIRPLANE GEOMETRY 14. AIRPLANE GEOMETRY In this tutorial you will import a STEP file that describes the geometry of an airplane body, including the wing and nacelle that houses the engine. You will clean up the geometry

More information

Hexa Meshing. Defining Surface Parameters for the Mesh Defining Edge Parameters to Adjust the Mesh Checking mesh quality for determinants and angle

Hexa Meshing. Defining Surface Parameters for the Mesh Defining Edge Parameters to Adjust the Mesh Checking mesh quality for determinants and angle 4.2.6: Pipe Blade Overview This tutorial example uses the Collapse function to create a degenerate topology in a Conjugate Heat transfer problem around a blade located in the center of a cylindrical pipe.

More information

Training Guide Getting Started with WorkXplore 3D

Training Guide Getting Started with WorkXplore 3D Training Guide Getting Started with WorkXplore 3D Table of Contents Table of Contents 1 Training Guide Objectives 1-1 2 WorkXplore 3D Environment 2-1 3 Importing and Opening CAD Files 3-1 3.1 Importing

More information

Exercise 1: Axle Structural Static Analysis

Exercise 1: Axle Structural Static Analysis Exercise 1: Axle Structural Static Analysis The purpose of this exercise is to cover the basic functionality of the Mechanical Toolbar (MTB) in the context of performing an actual analysis. Details of

More information

SolidWorks Implementation Guides. User Interface

SolidWorks Implementation Guides. User Interface SolidWorks Implementation Guides User Interface Since most 2D CAD and SolidWorks are applications in the Microsoft Windows environment, tool buttons, toolbars, and the general appearance of the windows

More information

ANSA and META v18 powerful pre- and post-processing for advanced CFD simulations

ANSA and META v18 powerful pre- and post-processing for advanced CFD simulations ANSA and META v18 powerful pre- and post-processing for advanced CFD simulations September 2017 morph results geometry mesh ANSA pre-processor specifications Supported platforms: - Linux - Windows XP /

More information

v Overview SMS Tutorials Prerequisites Requirements Time Objectives

v Overview SMS Tutorials Prerequisites Requirements Time Objectives v. 12.2 SMS 12.2 Tutorial Overview Objectives This tutorial describes the major components of the SMS interface and gives a brief introduction to the different SMS modules. Ideally, this tutorial should

More information

Shape and parameter optimization with ANSA and LS-OPT using a new flexible interface

Shape and parameter optimization with ANSA and LS-OPT using a new flexible interface IT / CAE Prozesse I Shape and parameter optimization with ANSA and LS-OPT using a new flexible interface Korbetis Georgios BETA CAE Systems S.A., Thessaloniki, Greece Summary: Optimization techniques becomes

More information

4) Finish the spline here. To complete the spline, double click the last point or select the spline tool again.

4) Finish the spline here. To complete the spline, double click the last point or select the spline tool again. 1) Select the line tool 3) Move the cursor along the X direction (be careful to stay on the X axis alignment so that the line is perpendicular) and click for the second point of the line. Type 0.5 for

More information

Advances in Pre-Processing

Advances in Pre-Processing Advances in Pre-Processing Laz Foley Confidence by Design Chicago June 14, 2012 1 Outline ANSYS DesignModeler Modeling Improvements ANSYS SpaceClaim Direct Modeler Workbench Integration and Model Preparation

More information

Lesson 1 Parametric Modeling Fundamentals

Lesson 1 Parametric Modeling Fundamentals 1-1 Lesson 1 Parametric Modeling Fundamentals Create Simple Parametric Models. Understand the Basic Parametric Modeling Process. Create and Profile Rough Sketches. Understand the "Shape before size" approach.

More information

Freeform / Freeform PLUS

Freeform / Freeform PLUS Freeform / Freeform PLUS WORKING WITH FREEFORM Work from Coarse Clay to Fine When creating new models from scratch, it is best to first create a rough shape using a coarse clay setting such as Rough Shape

More information

Lecture 7: Mesh Quality & Advanced Topics. Introduction to ANSYS Meshing Release ANSYS, Inc. February 12, 2015

Lecture 7: Mesh Quality & Advanced Topics. Introduction to ANSYS Meshing Release ANSYS, Inc. February 12, 2015 Lecture 7: Mesh Quality & Advanced Topics 15.0 Release Introduction to ANSYS Meshing 1 2015 ANSYS, Inc. February 12, 2015 Overview In this lecture we will learn: Impact of the Mesh Quality on the Solution

More information

DMU Engineering Analysis Review

DMU Engineering Analysis Review Page 1 DMU Engineering Analysis Review Preface Using This Guide Where to Find More Information Conventions What's New? Getting Started Inserting a CATAnalysis Document Using DMU Space Analysis From CATAnalysis

More information

TRAINING SESSION Q2 2016

TRAINING SESSION Q2 2016 There are 8 main topics in this training session which focus on the Sketch tools in IRONCAD. Content Sketch... 2 3D Scene Background Settings... 3 Creating a new empty Sketch... 4 Foam with cut out for

More information

This lab exercise has two parts: (a) scan a part using a laser scanner, (b) construct a surface model from the scanned data points.

This lab exercise has two parts: (a) scan a part using a laser scanner, (b) construct a surface model from the scanned data points. 1 IIEM 215: Manufacturing Processes I Lab 4. Reverse Engineering: Laser Scanning and CAD Model construction This lab exercise has two parts: (a) scan a part using a laser scanner, (b) construct a surface

More information

Fastening Review Overview Basic Tasks DMU Fastening Review Interoperability Workbench Description Customizing Index

Fastening Review Overview Basic Tasks DMU Fastening Review Interoperability Workbench Description Customizing Index Fastening Review Overview Conventions Basic Tasks Displaying Joined Parts in a Balloon Running the Fastening Rules Analysis Reporting Creating Structural Reports Creating Flat Reports DMU Fastening Review

More information

TRAINING SESSION Q3 2016

TRAINING SESSION Q3 2016 There are 6 main topics in this training session which is focusing on 3D Import and 2D Drawing Tips and Tricks in IRONCAD. Content 3D modeling kernels... 2 3D Import... 3 Direct Face Modeling... 5 Unfold

More information

Structure Preliminary Layout

Structure Preliminary Layout Page 1 Structure Preliminary Layout Preface Using This Guide Where to Find More Information What's New? Getting Started Setting Up Your Session Defining the Hull Form Setting Up Your Grid Creating Molded

More information

Modeling a Gear Standard Tools, Surface Tools Solid Tool View, Trackball, Show-Hide Snaps Window 1-1

Modeling a Gear Standard Tools, Surface Tools Solid Tool View, Trackball, Show-Hide Snaps Window 1-1 Modeling a Gear This tutorial describes how to create a toothed gear. It combines using wireframe, solid, and surface modeling together to create a part. The model was created in standard units. To begin,

More information

1 - Introduction Training Guide Objectives WorkXplore Environment Importing and Opening CAD Files 5

1 - Introduction Training Guide Objectives WorkXplore Environment Importing and Opening CAD Files 5 Table Of Contents 1.1 - Training Guide Objectives Table Of Contents 1 - Introduction 3 1.1 - Training Guide Objectives... 3 1.2 - WorkXplore Environment... 3 2 - Importing and Opening CAD Files 5 2.1 -

More information

Version 2 (for Rhinoceros 4, SP 1) Tutorial. 31. October Note: Please also see the video tutorial on

Version 2 (for Rhinoceros 4, SP 1) Tutorial. 31. October Note: Please also see the video tutorial on Version 2 (for Rhinoceros 4, SP 1) Tutorial 31. October 2008 Note: Please also see the video tutorial on www.rhinoreverse.icapp.ch rhinoreverse is a plug-in application for use within the Rhinoceros CAD-system

More information

SpaceClaim Professional The Natural 3D Design System. Advanced Technology

SpaceClaim Professional The Natural 3D Design System. Advanced Technology SpaceClaim Professional The Natural 3D Design System SpaceClaim Professional is the 3D productivity tool for engineers who contribute to the design and manufacture of mechanical products across a broad

More information

Imported Geometry Cleaning

Imported Geometry Cleaning LESSON 8 Imported Geometry Cleaning Objectives: Import CAD geometry. Identify problems with imported geometry. Fix geometry for the purpose of meshing. PATRAN 302 Exercise Workbook - Release 8.0 8-1 8-2

More information

Piping Design. Site Map Preface Getting Started Basic Tasks Advanced Tasks Customizing Workbench Description Index

Piping Design. Site Map Preface Getting Started Basic Tasks Advanced Tasks Customizing Workbench Description Index Piping Design Site Map Preface Getting Started Basic Tasks Advanced Tasks Customizing Workbench Description Index Dassault Systèmes 1994-2001. All rights reserved. Site Map Piping Design member member

More information

Licom Systems Ltd., Training Course Notes. 3D Surface Creation

Licom Systems Ltd., Training Course Notes. 3D Surface Creation , Training Course Notes Work Volume and Work Planes...........................1 Overview..........................................1 Work Volume....................................1 Work Plane......................................1

More information

Module 4A: Creating the 3D Model of Right and Oblique Pyramids

Module 4A: Creating the 3D Model of Right and Oblique Pyramids Inventor (5) Module 4A: 4A- 1 Module 4A: Creating the 3D Model of Right and Oblique Pyramids In Module 4A, we will learn how to create 3D solid models of right-axis and oblique-axis pyramid (regular or

More information

v SMS 11.2 Tutorial Overview Prerequisites Requirements Time Objectives

v SMS 11.2 Tutorial Overview Prerequisites Requirements Time Objectives v. 11.2 SMS 11.2 Tutorial Overview Objectives This tutorial describes the major components of the SMS interface and gives a brief introduction to the different SMS modules. Ideally, this tutorial should

More information

Electrical Harness Flattening

Electrical Harness Flattening Electrical Harness Flattening Overview Conventions What's New? Getting Started Accessing the Electrical Harness Flattening Workbench Defining the Harness Flattening Parameters Extracting Data Flattening

More information

Press the Plus + key to zoom in. Press the Minus - key to zoom out. Scroll the mouse wheel away from you to zoom in; towards you to zoom out.

Press the Plus + key to zoom in. Press the Minus - key to zoom out. Scroll the mouse wheel away from you to zoom in; towards you to zoom out. Navigate Around the Map Interactive maps provide many choices for displaying information, searching for more details, and moving around the map. Most navigation uses the mouse, but at times you may also

More information

2. MODELING A MIXING ELBOW (2-D)

2. MODELING A MIXING ELBOW (2-D) MODELING A MIXING ELBOW (2-D) 2. MODELING A MIXING ELBOW (2-D) In this tutorial, you will use GAMBIT to create the geometry for a mixing elbow and then generate a mesh. The mixing elbow configuration is

More information

1 - Introduction Training Guide Objectives WorkXplore Environment Importing and Opening CAD Files 5

1 - Introduction Training Guide Objectives WorkXplore Environment Importing and Opening CAD Files 5 Table Of Contents 1.1 - Training Guide Objectives Table Of Contents 1 - Introduction 3 1.1 - Training Guide Objectives... 3 1.2 - WorkXplore Environment... 3 2 - Importing and Opening CAD Files 5 2.1 -

More information

Workbench Tutorial Minor Losses, Page 1 Tutorial Minor Losses using Pointwise and FLUENT

Workbench Tutorial Minor Losses, Page 1 Tutorial Minor Losses using Pointwise and FLUENT Workbench Tutorial Minor Losses, Page 1 Tutorial Minor Losses using Pointwise and FLUENT Introduction This tutorial provides instructions for meshing two internal flows. Pointwise software will be used

More information

OpenForms360 Validation User Guide Notable Solutions Inc.

OpenForms360 Validation User Guide Notable Solutions Inc. OpenForms360 Validation User Guide 2011 Notable Solutions Inc. 1 T A B L E O F C O N T EN T S Introduction...5 What is OpenForms360 Validation?... 5 Using OpenForms360 Validation... 5 Features at a glance...

More information

Mesh Quality Tutorial

Mesh Quality Tutorial Mesh Quality Tutorial Figure 1: The MeshQuality model. See Figure 2 for close-up of bottom-right area This tutorial will illustrate the importance of Mesh Quality in PHASE 2. This tutorial will also show

More information

Geometric Entities for Pilot3D. Copyright 2001 by New Wave Systems, Inc. All Rights Reserved

Geometric Entities for Pilot3D. Copyright 2001 by New Wave Systems, Inc. All Rights Reserved Geometric Entities for Pilot3D Copyright 2001 by New Wave Systems, Inc. All Rights Reserved Introduction on Geometric Entities for Pilot3D The best way to develop a good understanding of any Computer-Aided

More information

FreeStyle Shaper & Optimizer

FreeStyle Shaper & Optimizer FreeStyle Shaper & Optimizer Preface What's New Getting Started Basic Tasks Advanced Tasks Workbench Description Customizing Glossary Index Dassault Systèmes 1994-99. All rights reserved. Preface CATIA

More information

v SMS 11.1 Tutorial Overview Time minutes

v SMS 11.1 Tutorial Overview Time minutes v. 11.1 SMS 11.1 Tutorial Overview Objectives This tutorial describes the major components of the SMS interface and gives a brief introduction to the different SMS modules. It is suggested that this tutorial

More information

VCarve Pro. Vectric Ltd Unit 2B Dunstall Court Astwood Lane Feckenham B96 6QH UK.

VCarve Pro. Vectric Ltd Unit 2B Dunstall Court Astwood Lane Feckenham B96 6QH UK. What's New In VCarve Pro Disclaimer All CNC machines (routing, engraving, and milling) are potentially dangerous and because Vectric Ltd has no control over how the software described in this manual might

More information

CATIA V5 Parametric Surface Modeling

CATIA V5 Parametric Surface Modeling CATIA V5 Parametric Surface Modeling Version 5 Release 16 A- 1 Toolbars in A B A. Wireframe: Create 3D curves / lines/ points/ plane B. Surfaces: Create surfaces C. Operations: Join surfaces, Split & Trim

More information

THE INFLUENCE OF MESH CHARACTERISTICS ON OPENFOAM SIMULATIONS OF THE DRIVAER MODEL

THE INFLUENCE OF MESH CHARACTERISTICS ON OPENFOAM SIMULATIONS OF THE DRIVAER MODEL 6 th BETA CAE International Conference THE INFLUENCE OF MESH CHARACTERISTICS ON OPENFOAM SIMULATIONS OF THE DRIVAER MODEL Grigoris Fotiadis *, Vangelis Skaperdas, Aristotelis Iordanidis BETA CAE Systems

More information

Piping & Instrumentation Diagrams

Piping & Instrumentation Diagrams Page 1 Piping & Instrumentation Diagrams Preface Using This Guide What's New? Getting Started Entering the Workbench Setting up Working Units and Grid Placing Components Routing a Piping Line or I & C

More information

Introduction to ANSYS DesignModeler

Introduction to ANSYS DesignModeler Lecture 5 Modeling 14. 5 Release Introduction to ANSYS DesignModeler 2012 ANSYS, Inc. November 20, 2012 1 Release 14.5 Preprocessing Workflow Geometry Creation OR Geometry Import Geometry Operations Meshing

More information

Chapter 6 Formatting Graphic Objects

Chapter 6 Formatting Graphic Objects Impress Guide Chapter 6 OpenOffice.org Copyright This document is Copyright 2007 by its contributors as listed in the section titled Authors. You can distribute it and/or modify it under the terms of either

More information

Basic Electrodes. CimatronE 8.5 Tutorial

Basic Electrodes. CimatronE 8.5 Tutorial Basic Electrodes CimatronE 8.5 Tutorial Table of Contents Electrodes... 1 Attachment... 1 Electrodes Introduction... 1 Attachment... 1 Blank & Electrode UCS... 7 Blank & Electrode UCS... 7 Extension...

More information

SIEMENS. Modeling assemblies. Self-Paced Training. spse01540

SIEMENS. Modeling assemblies. Self-Paced Training. spse01540 SIEMENS Modeling assemblies Self-Paced Training spse01540 Proprietary and restricted rights notice This software and related documentation are proprietary to Siemens Product Lifecycle Management Software

More information

The scan tools are used to convert and edit bitmap images so that they can be cut or routed by the Torchmate.

The scan tools are used to convert and edit bitmap images so that they can be cut or routed by the Torchmate. Scan Tools The scan tools are used to convert and edit bitmap images so that they can be cut or routed by the Torchmate. Upon clicking the Scan tool, the flyout opens exposing the two scanning options.

More information

DMU Engineering Analysis Review

DMU Engineering Analysis Review DMU Engineering Analysis Review Overview Conventions What's New? Getting Started Entering DMU Engineering Analysis Review Workbench Generating an Image Visualizing Extrema Generating a Basic Analysis Report

More information

Version 2011 R1 - Router

Version 2011 R1 - Router GENERAL NC File Output List NC Code Post Processor Selection Printer/Plotter Output Insert Existing Drawing File Input NC Code as Geometry or Tool Paths Input Raster Image Files Convert Raster to Vector

More information

Advance Design. Tutorial

Advance Design. Tutorial TUTORIAL 2018 Advance Design Tutorial Table of Contents About this tutorial... 1 How to use this guide... 3 Lesson 1: Preparing and organizing your model... 4 Step 1: Start Advance Design... 5 Step 2:

More information

Equipment Support Structures

Equipment Support Structures Equipment Support Structures Overview Conventions What's New? Getting Started Setting Up Your Session Creating a Simple Structural Frame Creating Non-uniform Columns Creating Plates with Openings Bracing

More information

GEOMETRY MODELING & GRID GENERATION

GEOMETRY MODELING & GRID GENERATION GEOMETRY MODELING & GRID GENERATION Dr.D.Prakash Senior Assistant Professor School of Mechanical Engineering SASTRA University, Thanjavur OBJECTIVE The objectives of this discussion are to relate experiences

More information

ANSYS 14.0 Geometry and Meshing Update Steve Varnam ANSYS UK Ltd.

ANSYS 14.0 Geometry and Meshing Update Steve Varnam ANSYS UK Ltd. ANSYS 14.0 Geometry and Meshing Update Steve Varnam ANSYS UK Ltd. 1 ANSYS Workbench Platform The most comprehensive platform for Multiphysics Simulations ANSYS Workbench Framework ANSYS DesignXplorer ANSYS

More information

CHAPTER 1. EZ-MILL PRO / 3D MACHINING WIZARD TUTORIAL 1-2

CHAPTER 1. EZ-MILL PRO / 3D MACHINING WIZARD TUTORIAL 1-2 1. TABLE OF CONTENTS 1. TABLE OF CONTENTS 1 CHAPTER 1. EZ-MILL PRO / 3D MACHINING WIZARD TUTORIAL 1-2 Overview... 1-2 Cavity Machining... 1-2 Basic Programming Steps... 1-3 The Part... 1-4 Setting the

More information

Table of Contents Memory Management... 3 Results Enveloping... 5 Set Random Property Colors... 8 Model Box Extend Merge Mesh...

Table of Contents Memory Management... 3 Results Enveloping... 5 Set Random Property Colors... 8 Model Box Extend Merge Mesh... 1 Table of Contents Memory Management... 3 Results Enveloping... 5 Set Random Property Colors... 8 Model Box... 11 Extend Merge Mesh... 13 NonManifold Add... 16 Element Visual Inspection... 18 Graphical

More information