Generated Files

Various files are generated during the simulation. Here, each file is elaborated in detail.


nodes_info_master.mat

Data Structure
Size

Number of nodes X 5

Structure

[id of nodes, x coordinate, y coordinate, z coordinate, contact;…]

id of nodes

ID of nodes. Integer.

x coordinate

x coordinate value

y coordinate

y coordinate value

z coordinate

z coordinate value

contact

depth of cut at specific node position.

Descriptions

Name of the variable in this mat file is nodes_info_master. This includes partial nodes set representing the workpiece.

Where Generated

grinding.crt_gear

Where Imported

grinding.show_nodes grinding.pcGen


nodes_infoOOO.mat

Data Structure
Size

Number of nodes X 4

Structure

[id of nodes, x coordinate, y coordinate, z coordinate;…]

Descriptions

Name of the variable in this mat file is data_cur. This includes partial nodes set representing the workpiece that is located close to the region of removal at the time frame.

Where Generated

grinding.crt_nodesinfo_cylindVer

Where Imported

mastertool_info_modified.mat

Data Structure
Size

Number of grits X 4

Structure

[id of grits, x coordinate, y coordinate, z coordinate;…]

Descriptions

Name of the variable in this mat file is grits. This includes ID of each grit and its position (X, Y, Z). The position is randomized to reproduce the actual grinding wheel where the grit is also randomly distributed.

Where Generated

grinding.randomize

Where Imported

grinding.grit


toolnodes_info_OOO.mat

Data Structure
Size

Number of grits in focus X 4

Structure

[id of grits, x coordinate, y coordinate, z coordinate;…]

Descriptions

Name of the variable in this mat file is nodes_extracted. This includes partial nodes set that are located close to the region of removal at the time frame on the grinding wheel.

Warning

Toolnodes are not related to abrasive grits.

Where Generated

grinding.crt_wheel

Where Imported

grinding.grit


grit_OOO.txt

Data Structure
Size

Number of grits in focus X 4

Structure

[id of grits, x coordinate, y coordinate, z coordinate;…]

Descriptions

The data is stored in TXT file. (It should be stored in MAT file in the future) This includes partial grits set that are located close to the region of removal at the time frame.

Where Generated

grinding.make_gritfile

Where Imported

grinding.calc_grain_data


grain_data_OOO.mat

Path

grain_data/

Data Structure
Size

Number of grits in focus X 10

Structure

[id_grits, x_grit, y_grit, z_grit, x_normal, y_normal, z_normal, x_move, y_move, z_move ;…]

id_grits

ID of each grit.

x_grit

x component of grit position.

y_grit

y component of grit position.

z_grit

z component of grit position.

x_normal

x component of normal vector at the grit position.

y_normal

y component of normal vector at the grit position.

z_normal

z component of normal vector at the grit position.

x_move

x component of the moving direction of the grit.

y_move

y component of the moving direction of the grit.

z_move

z component of the moving direction of the grit.

Descriptions

Name of the variable in this mat file is grain_data. This includes partial grits set that are located close to the region of removal at the time frame. Information of normal vector and moving vector are added to grit.txt.

Where Generated
Where Imported
Where Updated

grain_data_OOO.txt

Path

grain_data/

Data Structure
Size

Number of grits in focus X 10

Structure

[id_grits, x_grit, y_grit, z_grit, x_normal, y_normal, z_normal, x_move, y_move, z_move ;…]

id_grits

ID of each grit.

x_grit

x component of grit position.

y_grit

y component of grit position.

z_grit

z component of grit position.

x_normal

x component of normal vector at the grit position.

y_normal

y component of normal vector at the grit position.

z_normal

z component of normal vector at the grit position.

x_move

x component of the moving direction of the grit.

y_move

y component of the moving direction of the grit.

z_move

z component of the moving direction of the grit.

Descriptions

This includes partial grits set that are located close to the region of removal at the time frame. Information of normal vector and moving vector are added to grit.txt.

Where Generated
Where Imported

grit_OOO.mat

Data Structure
Size

Number of grits in focus X 10

Structure

[id_grits, x_grit, ygrit, z_grit, _normal, y_normal, z_normal, x_move, y_move, z_move ;…]

id_grits

ID of each grit.

x_grit

x component of grit position.

y_grit

y component of grit position.

z_grit

z component of grit position.

x_normal

x component of normal vector at the grit position.

y_normal

y component of normal vector at the grit position.

z_normal

z component of normal vector at the grit position.

x_move

x component of the moving direction of the grit.

y_move

y component of the moving direction of the grit.

z_move

z component of the moving direction of the grit.

Descriptions

Name of the variable in this mat file is grain_data. This includes partial grits set that are located close to the region of removal at the time frame.

Where Generated

grinding.remake_grain_data

Where Imported

grinding.show_nodes


wheel_workpiece_OOO.ply

Descriptions

Data of point cloud is stored in this file. It has header on top which is followed by data of each node. See here for more detail about its format. This particular file contains the point cloud data of both workpiece and grinding wheel in the vicinity of region of removal.

Where Generated

grinding.show_nodes

Where Imported

None


workpiece.ply

Descriptions

Data of point cloud is stored in this file. It has header on top which is followed by data of each node. See here for more detail about its format. This particular file contains the point cloud data of workpiece in the vicinity of region of removal.

Where Generated

grinding.pcGen

Where Imported

None


matdata_OOO.mat

Data Structure
Size

Number of nodes on workpiece surface X 4

Structure

[x_node, y_node, z_node, ID of node;…]

Descriptions

Data of point cloud representing workpiece surface is stored in this file. Name of the variable in this mat file is wp_nodes.

Where Generated

grinding.pcGen

Where Imported

None


matdata_OOO_original.mat

Data Structure
Size

Number of nodes on workpiece surface X 4

Structure

[x_node, y_node, z_node, ID of node;…]

Descriptions

Data of point cloud representing workpiece surface is stored in this file. Name of the variable in this mat file is wp_nodes.

Where Generated

grinding.pcGen

Where Imported

None


mastertool_info.mat

Data Structure

../_images/fig_crt_master_wheel.png
Descriptions

Point cloud data of grit on a grinding wheel. They are before being randomized. Name of the variable in this mat file is grits.

Where Generated
Where Imported

reftool_info.mat

Data Structure
../_images/fig_crt_master_wheel.png
Descriptions

Point cloud of reference tool info. Node locations are representing only the wheel geometry but not the grit locations. Name of the variable in this mat file is nodes.

Where Generated
Where Imported

statistics_data_grain.txt

Data Structure
Variable in the function make_statistics_data is sta_data which is defined as below:
sta_data=[alpha r];
where

alpha

Apex angles

r

Protrusion of grits

Descriptions

Warning

The data does not represent the apex angles and protrusions of actual grits. This is just a database to obtain a random parameters. Only 440 rows are incluided. So it is actually not a true random parameters. Only 440 patterns exist.

Where Generated

grinding.make_statistics_data

Where Imported

grinding.machining


statistics_data_grain_main.txt

Data Structure
Variable in the function make_statistics_data is sta_data which is defined as below:
sta_data=[alpha r];
where

alpha

Apex angles

r

Protrusion of grits

Descriptions

Warning

The data does not represent the apex angles and protrusions of actual grits. This is just a database to obtain a random parameters. Only 440 rows are incluided. So it is actually not a true random parameters. Only 440 patterns exist.

Where Generated

grinding.make_statistics_data

Where Imported

None


0.mat

Path

pyramid/XMIN_XMAX_YMIN_YMAX/

Data Structure
Type

pointCloud object (Computer Vision Toolbox)

Descriptions

Name of the variable is ptCloud_LimitedSurface.

Where Generated

grinding.calc_AbrasiveMachining_PyramidVer

Where Imported

grinding.interpolant_gearsurface_second_step


machining_past_record.mat

Path

pyramid/XMIN_XMAX_YMIN_YMAX/xmin_xmax_ymin_ymax/

Data Structure

Column vector of integer.

Descriptions

The frame numbers at which the material is removed by each grit are all recorded. Each row represents the material removal by a single abrasive grit. Therefore, the same frame number repetitively appears same times as the number of grits involved.

Where Generated

grinding.interpolant_gearsurface_second_step

Where Imported

grinding.machining


matdata_0.mat

Path

pyramid/XMIN_XMAX_YMIN_YMAX/xmin_xmax_ymin_ymax/matdata/

Data Structure
Type

pointCloud object (Computer Vision Toolbox)

Descriptions

Name of the variable is ptCloud_LimitedSurface. This file involves the point cloud representing the surface of workpiece at frame 0.

Where Generated

grinding.interpolant_gearsurface_second_step

Where Imported

grinding.machining


surfacedata_after_grinding_OOO.mat

Path

pyramid/XMIN_XMAX_YMIN_YMAX/xmin_xmax_ymin_ymax/surfacedata_after_grinding/

Data Structure
Size

Number of nodes X 4

Descriptions

This file involves the node sets that is after the material removal of the time frame.

Where Generated

grinding.machining

Where Imported

grinding.machining


surfacedata_before_grinding_OOO.txt

Path

pyramid/XMIN_XMAX_YMIN_YMAX/xmin_xmax_ymin_ymax/surfacedata_after_grinding/

Data Structure
Size

Number of nodes X 4

Descriptions

This file involves the node sets that is before the material removal of the time frame.

Where Generated

grinding.machining

Where Imported

grinding.machining


graindata_grinding_OOO.txt

Path

pyramid/XMIN_XMAX_YMIN_YMAX/xmin_xmax_ymin_ymax/graindata_grinding/

Data Structure
Size

Number of grits X 7

Structure

[ID_grit, X_grit, Y_grit, Z_grit, X_apex, Y_apex, Z_apex]

Descriptions

This file involves the information of grits that engaged the workpiece at current time frame.

Where Generated

grinding.machining

Where Imported

grinding.machining


grain_past_record.txt

Path

pyramid/XMIN_XMAX_YMIN_YMAX/xmin_xmax_ymin_ymax/

Data Structure
Size

Number of grit X 3

Structure

[ID of grit, Frame_start, Frame_end; …]

Descriptions

The file involves the information of the time frame at which the machining start and the time frame at which the machining end for each grit.

Where Generated

grinding.machining

Where Imported

grinding.machining


matdata_OOO.mat

Path

pyramid/XMIN_XMAX_YMIN_YMAX/xmin_xmax_ymin_ymax/matdata/

Data Structure
Type

pointCloud object (Computer Vision Toolbox)

Descriptions

Name of the variable is ptCloud_LimitedSurface. This file involves the point cloud representing the surface of workpiece at current frame.

Where Generated

grinding.machining

Where Imported

grinding.machining


test.ply

Data Structure
Type

pointCloud object (Computer Vision Toolbox)

Descriptions

Point cloud representing the grit positions before randomization.

Where Generated

grinding.randomize

Where Imported

None


test_modified.ply

Data Structure
Type

pointCloud object (Computer Vision Toolbox)

Descriptions

Point cloud representing the grit positions after randomization.

Where Generated

grinding.randomize

Where Imported

None


matdata_OOO.mat (whole)

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/matdata/

Data Structure
Type

pointCloud object (Computer Vision Toolbox)

Descriptions

Name of the variable is ptCloud_LimitedSurface. This file involves the point cloud representing the WHOLE surface of workpiece at current frame.

Where Generated

grinding.save_matdata

Where Imported

grinding.anim_matdata


surfacedata_before_grinding_OOO.txt (whole)

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/surfacedata_after_grinding/

Data Structure
Size

Number of nodes X 4

Descriptions

This file involves the node sets that is before the material removal of the time frame of the whole surface of the workpiece.

Where Generated

grinding.save_data_Pyramid_Ver_ver3

Where Imported

None


surfacedata_after_grinding_OOO.txt (whole)

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/surfacedata_after_grinding/

Data Structure
Size

Number of nodes X 4

Descriptions

This file involves the node sets that is after the material removal of the time frame of the whole surface of the workpiece.

Where Generated
Where Imported

graindata_grinding_OOO.txt (whole)

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/graindata_grinding/

Data Structure
Size

Number of grits X 7

Structure

[ID_grit, X_grit, Y_grit, Z_grit, X_apex, Y_apex, Z_apex]

Descriptions

This file involves the information of grits that engaged the workpiece at current time frame for the whole surface of workpiece.

Where Generated

grinding.save_data_Pyramid_Ver_ver3

Where Imported

None


grain_past_record.txt

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/

Data Structure
Size

Number of grit X 3

Structure

[ID of grit, Frame_start, Frame_end; …]

Descriptions

The file involves the information of the time frame at which the machining start and the time frame at which the machining end for each grit. The data is for whole surface of the workpiece.

Where Generated

grinding.save_grain_past_record

Where Imported

grinding.analyze_data


MRR_OOO.txt (whole)

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/MRR/

Data Structure
Size

Number of time frames x 2

Structure

[framenum, volume(μm^3s); …]

Descriptions

Calculated material removal rate for each time frame.

Where Generated
Where Imported

None


depth_of_cut_OOO.txt (whole)

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/depth_of_cut/

Data Structure
Size

Number of time frames x 2

Structure

[framenum, depth of cut(mm); …]

Descriptions

Calculated depth of cut for each time frame.

Where Generated
Where Imported

None


MaterialRemoval.avi

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/

Descriptions

Video of the material removal by each grit.

Where Generated
Where Imported

None


heatdata_OOO.txt

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/heatdata/

Data Structure
Size

Number of time frames X 12

Structure

[framenum, heat of primary rubbing, heat of secondary rubbing, heat of cutting, heat of ploughing, heat sum, X_grit, Y_grit, Z_grit, X_apex, Y_apex, Z_apex;]

Descriptions

Heat information of each grit. The ID of grit is included in the file name.

Where Generated
Where Imported

None


hmax_OOO_OOO.txt

Path

pyramid/XMIN_XMAX_YMIN_YMAX/whole/hmax/

Data Structure
Size

Number of grits X 5

Structure

[grit ID, maximum depth of cut, start frame, end frame, time frame when the maximum depth of cut was recorded]

Descriptions

Information of maximum depth of cut for each grit.

Where Generated
Where Imported

None


Indices and tables