Challenge

Week 2 Challenge : Surface meshing on a Pressure valve

Aim:

For the given model, Have to check the geometrical errors and perform Topology cleanup accordingly. Set three different target lengths as three different cases and mesh the model.

Procedure:

The approach adopted for performing surface meshing for the given Pressure valve model in ANSA-CFD involved the following steps:

Step:1

  • Import the given model from the concerned directory containing the ".ansa" file extension using the "Open" option under the "File" menu.
  • After the model is loaded and appears in the "workspace", the "TOPO" module responsible for geometry creation, manipulation, and clean-up needs to be enabled.
  • For the given model, it was realized that the geometry had several missing faces from existing surfaces, also identified as "Single Cons" errors when the "Geometry Checks" was performed, which were required to be reconstructed as part of the Topology cleanup, in this case using the "New" button under the list of "Faces" button functionalities. The "New" button consisted of different options or algorithms to essentially define the missing face/surface such as "COONS" which makes use of an interpolation principle based on selected boundary curves, "EXISTING SURF" for drawing a new face on an existing surface, "PLANAR" for a planar face (as the name suggests) and "FITTED" for a non-planar face with regards to the selected boundaries. All of the above alternatives were made use of depending on the characteristics of the missing faces along with the "LOOP" option enabled in certain cases especially when the "COONS" option was preferred as it was able to predict the list of edges, perimeters, or curves forming a close loop thereby saving effort and time. After completion of reconstructing new faces, it was observed that some of the surfaces intersected at rather sharp angles indicating that these areas could give rise to problems at the time of meshing with smaller element sizes. Therefore, lines and/or curves belonging to these surfaces were considered to be deleted using the "Cut" button under the list of "Faces" button functionalities such that those surfaces were then merged into one surface.

Step: 2

  • At this stage and for the given model, no further geometry-associated operations were required, as was also confirmed by executing another "Geometry Checks" except for "Triple Cons" which were required surfaces to close the model, and surfaces comprising particular bodies were assigned within the PID manager such as "Valve Head", "Spring", "Valve Stem", "Base Surface", "Inlet", "Outlet" and "Body", which also would act as boundary conditions during the pre-processing stage for a CFD simulation, before proceeding to the next step of surface meshing. It should be noted that due to the complex features of the given model and four out of seven components forming the internal mechanism of the Pressure valve, visibility tools such as "Or", "And", "Not", "!Not", "Invert", "All" and "Lock" were made use of to enable ease in selection of the concerned faces as part of their respective bodies.

Step: 3

  • Meshing operations were defined within the "MESH" module which for ANSA-CFD contains buttons for both surface and volume meshing within the same window.
  • The first functionality selected was "Init" under the list of "Perimeters" buttons to essentially reset the "NUMBER" and "LENGTH" aspects of selected perimeters which are also recommended as a best practice when a new mesh needs to be created from an existing or incorrect mesh to avoid dealing with issues such as conflicts.
  • The meshing parameters were defined by accessing the "Auto CFD" option within the "Spacing" functionality under the list of "Perimeters" button functionalities which is to define the distribution of nodes based on element length value. For the selected feature, two options are available, "Perimeters" to set the element length value on CONS (Curves On Surfaces) and "Macros" to perform the same operation on "FACE, SHELL". In the given case, using either of the options, values of "Minimum Target Length" and "Maximum Target Length" under the "Spacing Parameters" tab of the "CFD SPACING PARAMETERS" window were set to 3mm and 7mm for a target length of 5mm, 1mm and 5mm for a target length of 3mm and 0.5mm and 2mm for a target length of 1mm respectively.
  • The above step also reflects in the values of the same attributes when the "Mesh Parameters" option is selected with the only change being the element type which was selected as "Tria", and step "7." needed to be repeated within the "Quality Criteria" button functionality by enabling "min length" and "max length" quantities and reusing the previously mentioned values.

Step:4

  • Since the diameter of the "Spring" component's cross-section was approximately 3.4mm and the "Valve Head" component offered a surface of high curvature, the values of "Minimum Target Length" and "Maximum Target Length" under "Mesh Parameters" and "CFD SPACING PARAMETERS" of the "Auto CFD" option within the "Spacing" functionality for both "Perimeters" and "Macros" items as well as the "min length" and "max length" under "Quality Criteria" were set to 0.5mm and 2mm for a target length of 1mm respectively for a better definition and resolution of the concerned meshed surfaces.
  • Post-definition of the necessary meshing parameters, the "Select" and "Visible" sub-option within the "CFD" functionality under the list of "Mesh Generation" button functionalities were selected to generate the required surface meshes on the different components of the Pressure valve.

Results:

Fig. 1, Fig. 2, Fig. 3, and Fig. 4 represent the Pressure valve geometry (after Topology cleanup and PID assignment) and its surface meshes for the three different target lengths of 1mm, 3mm, and 5mm respectively. It can be observed that the element type across the model is "Tria" and on using the "Measure" tool with the option set to "Nodes" it was found that the average distance between two nodal points over the entire surface represents their respective target length values approximately. Additionally, Fig. 5 and Fig. 6 also indicate the surface meshes using the target length value of 1mm for the valve head and spring components respectively.

Fig. 1: Pressure Valve Geometry

surface meshes for the three different target lengths of 1mm, 3mm, and 5mm respectively.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.