Internal:PsC AFLR Performance
The code was optimized to exclude all PsC PDR processes mentioned in the AIAA paper that caused significant overhead except the data partitioning and boundary extraction processes. This was done by excluding the local reconnection of level 1 neighbors during refinement. It was found that performing this operation to improve the quality of internal interface boundary elements was not necessary, as PsC.AFLR satisfies the quality constraints without it. This allowed for the removal of most of the time-heavy PsC PDR processes.
This optimization, in addition to several smaller updates (some fixes of memory leaks, updated PREMA, small modifications to some of my PDR code), has improved PsC.AFLR's performance. This data is presented below. There are still some bugs, which is why the following data is not fully complete. There is no dihedral angle data for cubes of sizes 516k and 764k because AFLR crashes when performing the final optimization step in PsC.AFLR (if no end optimization is performed, then the quality test fails). In order to fairly compare the dihedral angle quality of meshes generated by the serial code and PsC.AFLR, the final optimization step must be included (as it is required in serial AFLR also, serial AFLR also fails the quality test without this final optimization step to smooth the grid and remove slivers). There is no data for PsC.AFLR refining the rocket on one core due to a bug on my end, which I am currently working on and will fix.
Quality Measures
The quality measures are:
1 : Dihedral Element Angle An ideal element has dihedral element angles near 70.5 deg. A low quality element has an angle near 180 deg.
2 : Radius Ratio (3*Ri/Rc) An ideal element has a radius ratio of 1. A low quality element has a ratio near 0.
3 : Volume Ratio (C21*Vol/Rc**3) An ideal element has a volume ratio of 1. A low quality element has a ratio near 0.
4 : Length Ratio (C31*Ri/Lmax) An ideal element has a length ratio of 1. A low quality element has a ratio near 0.
where
Rc = Circumscribed Radius Ri = Inscribed Radius Vol = Element Volume Lmax = Maximum Element Edge Length C21 = 1.948557 C31 = 4.898979
Serial AFLR data is in red while PsC.AFLR data is in black.
Again, serial AFLR data is in red while PsC.AFLR data is in black.
Cubes
Horn Bulb
Serial AFLR data is in red while PsC.AFLR data is in black.
Rocket
Serial AFLR data is in red while PsC.AFLR data is in black.
I sent an email to David a few months ago about the results below. He never responded. The quality of the mesh generated by PsC.AFLR is better than that generated by serial AFLR.








