Skip to content

2D Sources in Meshes in Pointwise 18.4R1

CFD simulations involving 3D complex geometry have become the norm, however, this hasn’t lessened the need for 2D simulations. Sometimes geometry and flow are such that a 2D simulation is the most appropriate approach.

2D meshing

In versions of Pointwise prior to 18.4R1, only blocks and domains within a block would be influenced by source regions. In order to export a 2D mesh from a Pointwise domain, a sacrificial block of nominal thickness was needed to produce a domain with source refinement. A new feature of Pointwise in version 18.4R1 is the ability to use “sources” for refinement of domains. The domain’s isotropic triangles and quads can now be influenced by source regions, without the need for a block.

In this article, the 2D Ahmed-body that was previously discussed in our 2D meshing with sources in Pointwise article is used. We start with a 2D mesh around the Ahmed body as Shown in Figure 1.

2D mesh of Ahmed body without sources
Figure 1 – 2D mesh of Ahmed body without sources.

Mesh adaption with sources

The next step is to create the source region we want to influence the mesh. Figure 2 shows a single rectangular region covering the Ahmed body. Pointwise has options for several common shapes such as box, cylinder, and sphere as well as an arbitrary polygon shape.

Source region covering Ahmed body
Figure 2 – Rectangular source region.

The effect of the source region on the mesh is controlled through the Size Field tab within the Grid Solve command. Figure 3 shows an example of the Size Field tab with the selection of one source region (src-1). The Boundary Conditions tab (Figure 4) allows you to specify how each bounding connector of a domain will be treated when using the solver. The last column in the boundary condition table is the Adapt column. By default, this option will be set to Off. When set to On, connectors assigned to the corresponding boundary condition will have their point clustering adapted, points added or removed, in order to meet the target cell sizes specified by any selected size field influencers on the Size Field tab.

Figure 3 – Selecting the source region in the Grid Solve command.
Adapt BCS
Figure 4 – The Boundary Conditions tab to specify how each bounding edge connector of a domain will be treated.

Upon initialisation, the cell sizes in the mesh and connector spacings will be influenced by the source region spacings and decay values as shown in Figure 5. That’s all that is required to include source region influence on a 2D mesh.

2D mesh of Ahmed body with influence of source region
Figure 5 – Mesh with influence from source region.

Exporting the mesh as 2D

The last step is to export the mesh as 2D. For OpenFOAM, 2D meshes will be extruded by one cell thick upon export. Users have the option of specifying the extrude distance or having Pointwise calculate the distance as an average of the cell edge length (see Figure 6, solver attributes panel). Allocate the edges of the mesh to boundary conditions. Lastly, choose File -> Export -> CAE to write out the polyMesh ready for OpenFOAM or Caelus.

Figure 6 – The solver attributes for OpenFOAM include cell and face export format and point precision.

CFD results

The 2D meshing approach described above was used to simulate tandem Ahmed bodies with a varying separation distance. Figure 7 shows an example mesh when the separation distance was half a body length (0.5L). Simulations were run for air at 35 m/s using Caelus 9.04.

Figure 7 – Mesh for tandem Ahmed bodies with a separation distance of 0.5L.

Figure 8 shows the results for the pressure distribution. Whilst Figure 9 shows the velocity results for the separation distance of 0.5L.

 Figure 8 – Pressure distribution around tandem 2D Ahmed bodies at 35 m/s with 0.5L separation.
Figure 9 – Velocity vectors around tandem 2D Ahmed bodies with 0.5L separation at 35 m/s inlet velocity.

To find out more about Pointwise go here, or for a free trial of Pointwise, go here.

  • Darrin Stephens
Monthly Mesh
1. Cricket bat meshing
2. Twin box bridge deck meshing
3. Golf Driver Meshing
4. Frigate Helipad Pointwise unstructured mesh
5. Frigate Helipad – Structured O-H mesh
6. Horizontal wind turbine near a bridge
7. Meshing a Raspberry Pi
8. Scripting Pointwise Meshing
9. 2D meshing with sources in Pointwise
10. Pointwise as a Pre-processor for CFD
11. Mesh Adaption with Caelus and Pointwise
12. Meshing Santa’s Pod Racer Sled
13. Scripting Structured-Unstructured Meshes for Aerospace
14. Mesh Adaptation With Pointwise, Caelus & Python
15. Normal Extrusion Hybrid Meshes for Multi-Element Airfoils
16. Car park Ventilation CFD with Pointwise, Caelus, CFX and FDS
17. Mesh Independence for Car Park Ventilation
18. It’s all in the numbering – mesh renumbering may improve simulation speed
19. Voxel Transition Cell Recombination for OpenFOAM meshes
20. Meshing Santa’s Hat
21. 2D Sources in Meshes in Pointwise 18.4R1
Back To Top
Search