Depth peeling based nuclear radiation shield calculation grid generation method and system
AssigneeHefei Institutes of Physical Science, CAS
InventorsYican WU, Pengcheng LONG, Shengpeng YU, Mengyun CHENG, Liqin HU
Life of this patent
Estimating the term…
Abstract
A depth peeling based nuclear radiation shield computational mesh generation method and a depth peeling based nuclear radiation shield computational mesh generation system are provided. The method includes: generating an outline pixel matrix of geometries with the depth peeling technique, performing conversion in an image space to obtain outline meshes of the geometries; then obtaining internal meshes of the geometries based on the outline meshes by a scanning line method, so as to fast generate the nuclear radiation shield computational meshes.
Claims10
A depth peeling based nuclear radiation shield computational mesh generation method, comprising:
- reading a CAD geometric model generated by computer-aided software;
- parsing the CAD geometric model to obtain geometries;
- and
- generating discrete ordinate method-based particle transport computational meshes of the geometries, to generate nuclear radiation shield computational meshes,
- wherein a generation process of the discrete ordinate method-based particle transport computational meshes for at least one of the geometries comprises:
- calculating an axial bounding box Box of the geometry;
- generating a two-dimensional positive outline pixel matrix GeoFragPos(x,y) of the geometry downwards from an upper boundary surface of the axial bounding box Box using a depth peeling technique;
- and generating a two-dimensional negative outline pixel matrix GeoFragNeg(x,y) of the geometry upwards from a lower boundary surface of the axial bounding box Box using the depth peeling technique, wherein the two-dimensional positive outline pixel matrix GeoFragPos(x,y) records positive z-axis coordinate values zPos3D of outline pixels of the geometry in a three-dimensional coordinate system, and the two-dimensional negative outline pixel matrix GeoFragNeg(x,y) records negative z-axis coordinate values zNeg3D of outline pixels of the geometry in the three-dimensional coordinate system;
- determining, based on a mesh division Mesh3D and the positive z-axis coordinate values zPos3D, a positive z-axis mesh index value ZPos of a positive outline boundary mesh BoundaryMeshPos(x,y) of the geometry in a positive axial direction, and determining, based on the mesh division Mesh3D and the negative z-axis coordinate values zNeg3D, a negative z-axis mesh index value ZNeg of a negative outline boundary mesh BoundaryMeshNeg(x,y) of the geometry in a negative axial direction;
- and
- acquiring internal meshes of the geometry based on a three-dimensional computational mesh flag matrix MeshFlag(x, y, z) corresponding to the axial bounding box Box, the positive z-axis mesh index value ZPos, and the negative z-axis mesh index value ZNeg, by using a scan line method, wherein
- x∈{1, 2, . . . , X}, y∈{1, 2, . . . , Y}, z∈{1, 2, . . . , Z};
- X is the number of meshes in a space occupied by the axial bounding box Box in an x-axis direction, Y is the number of meshes in a space occupied by the axial bounding box Box in a y-axis direction, and Z is the number of meshes in a space occupied by the axial bounding box Box in a z-axis direction.
A depth peeling based nuclear radiation shield computational mesh generation system, comprising:
- a reading unit configured to read a CAD geometric model generated by computer-aided software;
- a parsing unit configured to parse the CAD geometric model to obtain geometries;
- and
- a generation unit configured to generate discrete ordinate method-based particle transport computational meshes of the geometries, to generate nuclear radiation shield computational meshes;
- wherein the generation unit comprises a generation subunit which comprises:
- a first calculation subunit configured to calculate an axial bounding box Box of the geometry;
- a two-dimensional outline pixel matrix generation subunit configured to generate a two-dimensional positive outline pixel matrix GeoFragPos(x,y) of the geometry downwards from an upper boundary surface of the axial bounding box Box using a depth peeling technique;
- and generate a two-dimensional negative outline pixel matrix GeoFragNeg(x,y) of the geometry upwards from a lower boundary surface of the axial bounding box Box using the depth peeling technique, wherein the two-dimensional positive outline pixel matrix GeoFragPos(x,y) records positive z-axis coordinate values zPos3D of outline pixels of the geometry in a three-dimensional coordinate system, and the two-dimensional negative outline pixel matrix GeoFragNeg(x,y) records negative z-axis coordinate values zNeg3D of outline pixels of the geometry in the three-dimensional coordinate system;
- a first determination subunit configured to determine, based on a mesh division Mesh3D and the positive z-axis coordinate values zPos3D, a positive z-axis mesh index value ZPos of a positive outline boundary mesh BoundaryMeshPos(x,y) of the geometry in a positive axial direction, and determine, based on the mesh division Mesh3D and the negative z-axis coordinate values zNeg3D, a negative z-axis mesh index value ZNeg of a negative outline boundary mesh BoundaryMeshNeg(x,y) of the geometry in a negative axial direction;
- and
- a first calculation subunit configured to acquire internal meshes of the geometry based on a three-dimensional computational mesh flag matrix MeshFlag(x, y, z) corresponding to the axial bounding box Box, the positive z-axis mesh index value ZPos, and the negative z-axis mesh index value ZNeg, by using a scan line method, wherein
- x∈{1, 2, . . . , X}, y∈{1, 2, . . . , Y}, z∈{1, 2, . . . , Z};
- X is the number of meshes in a space occupied by the axial bounding box Box in an x-axis direction, Y is the number of meshes in a space occupied by the axial bounding box Box in a y-axis direction, and Z is the number of meshes in a space occupied by the axial bounding box Box in a z-axis direction.
Dependencies are inferred from the claim text.