Objective : The objective of this project is to create a Surface meshing on a Pressure valve with element type of tria and mesh the model with three different target lengths i.e., 1mm, 3 mm and 5 mm by using ANSA.
Introduction :
ANSA :
- ANSA is a Computer-aided engineering tool for Finite Element Analysis and CFD Analysis widely used in the automotive industry. It is developed by BETA CAE Systems. The software is distributed world wide by a number of BETA CAE Systems subsidiaries and business agents.
- ANSA maintains the association between CAD geometry and the FE mesh. This means that the FE meshes are better representations of their geometric parents. Also it is easy to maintain and update any changes in the geometry by simply reworking the updated area instead of recreating the FE from scratch.
- It carries several proprietary algorithms for meshing suitable for both CFD and structural models. ANSA was initially standing for 'Automatic net generation for structural analysis', but the software has gone beyond that very quickly. ANSA has broadly six menus which are used to do various activities those are: TOPO MESH, VMESH ,DECK-SOLVER, MORPH ,HBLOCK.
Different type of modules in ANSA :
- TOPO - Set of tools for Geometry clean-up and for setting up of PIDs.
- MESH - Tools to generate Surface Mesh or 2D Mesh.
- VOLUME MESH - To generate solid or 3D Mesh.
- SOLVER DECKS - Tools based on different solvers such as ABAQUS, RADIOSS ,ANSYS etc.
- MORPH - Advanced tool to capture geometry more accurately while meshing.
Solution procedure :
- For solving we follow the below procedure ,
- Import the CAD model.
- Geometry check-up.
- Topo/Geometry cleanup.
- Setting-up of relevant PIDs.
- Defining the element size or length.
- Selection of Meshing type.
- Generating Mesh.
1) Importing of CAD model :
- To import the CAD model we follow below steps,
Go to file -> open -> browse the location of the CAD model -> select it click on open.

- Below is the image of wireframe mode of our model .
- We can see a lot of topological errors ,but before topo clean up letus do geometry check to see all the errors the model.
2) Geometry check-up :
-
Geometry check-up is done to check whether there are any errors in the model like Unclosed faces, Super Imposing faces , any holes or any geometry disorder. etc..
To do this operation , go to toolbar -> checks -> geometry -> visible -> execute

3) Topo/Geometry cleanup :
- If you want to see the location of error shown in the geometry check up , you can select pick and select the con to see where it is present and see the preview of the error(single con) in the model .
- We will use visibility tools to see the single cons and we have to clear the single cons whereever they present .
- We will patch all the single cons by creating a new face over there .
- We will create / patch the surface by using the new under faces .
- Here we have 4 options to use under new , they are existing surface ,planar, coons and fitted.We will also use fill holes under cons.
- We use these different type of algorithms to create face depending upon the applications . So when one fails to create a better surface , we try with other alternate / algorithm .
- If you feel difficult to select cons inside the model , you can go to wireframe mode by turning off shadow mode or by clicking cntrl +shift and double clicking on the con to select. you can also use this wireframe mode also to verify/check the selection.
- In the below image you can see the preview of a the face created by using coons .

- In the similar way we create surfaces wherever there are single cons by using the above algorithms .The below is the image after patching all the surfaces.

4) Setting-up of Relevant PIDs :
- This is done to specify names to different boundary conditions for various parts.We need to activate cross hatches before setting-up PIDs.
- If you open properties manager at the top , you will have only one default PID .In order to create new PID , right click on properties manager -> click new -> then select pshell -> then again select pshell -> then give name in the popup box -> then ok .You can change the colour by double clicking on the colour box -> then ok .
- In the similar way create PID for inlet, outlet ,spring , valvehead, body, column , base surface .
- Then next thing is assign these PID's to the components of the geometry .
- To apply , we select /click on the PID to apply in the PID manager -> then right click on it -> then click on apply -> then in the geometry select the cross hatch of the surface you want to assign -> then middle click . In the similar way we have to apply PID's we have created . To give the PID we select with the different type of selection available to select the exact surface needed.
- Then after assigning the PID , delete the empty orginal PID which has no components assigned by using compress .
- In the below image you can see the list of PID's we have assigned.
- Now the next thing to do is meshing for that we have to got to meshing module.
5) Defining the element size/length :
- Here we have three different target lengths as three different cases and we have to mesh the model with all three different lengths.
- Target length = 1mm, 3 mm and 5 mm (i.e. 3 cases).
- Let's first mesh with three different sizes and then finally conclude by comparing the results of all the three cases.
- We have to give the mesh length parameters at four places.
- 1) under perimeters we give length as 1mm 2) under macros we give length as 1mm .We follow below steps for that ,
Go to mesh utility -> perimeters -> length -> now select perimeters and then-> click left mouse button and drag and select the entire model -> click middle mouse button -> Enter the element length as 1 mm -> Click middle mouse button.
- In the similar way select macros instead of perimeters under length and give mesh length as 1 mm.
- Then you can see the geometry after giving the mesh length in the below image.


Conclusion :
- Here finally we have surface meshed the given model with three different lengths i.e., 1mm, 3 mm, 5mm .By observing the above results we made the below conclusions .
- You can also see the number of elements meshed in the model at the left side of the workbench.You can observe that as the mesh size is increasing there is a derease in the number of elements .
- In the case -1 i.e., with 1mm mesh length as the size of the elements is small ,we have more number of elements (209998) , which also make the mesh to capture the geometry very well as the surface quality also very good.
- When the target length is increased to 3 mm then we have less number of elements (23922) than in previous case ,the capturing of the geometry is also not as good as in previous case .The surface quality also less than in the previous case.
- When the target length is increased to 5 mm then we have very less number of elements (8812) compared to previous two cases .The surface capture by mesh is also worst .
- In case -3 ,you can see in the valve head the surface is not captured very well , where as in spring there is failure of mesh , the spring shape is totally lost .This happened because, if you have very small surface and if that surface is meshed with a target length greater than than the size of the surface then obviously failure of mesh takes place . Here in case of spring we have used mesh length of 5 mm where as the size of the side surface is around 3.4 mm , you can simply understand that it is impossible to fit a element on a surface which is smaller than the mesh length .
- The size of the target length shoud be such that , it should be justify each and every component of our model mainly it should be taken by considering the smallest component in the model. No single component should face the error faced by spring as in case -3 .
- Even the valve head quality surface quality also not good .The quality always depend upon the size of the target length .So if our target length is small , we have small elements ,which eventually increases the number of elements ,then we will have a good quality mesh such that our geometry is very well captured and surface quality is very good .
- You can also observe as we have selected tria elements in all the three cases we see quad elements are 0 in the model we meshed .
https://drive.google.com/file/d/1wis7f4Dt1N0ASR1OkpAvHM6uJ_EJg_ST/view?usp=sharing