massflow mine-block import command

Syntax

massflow mine-block import s

Import a mine block description. The description is contained in the file s.

MassFlow mine block format specification

A MassFlow ASCII-format, tab-delimited mine block file has with the following specifications:

Line 1 - Comment. This line is ignored

Line 2 - These are the table headers. The first 20 columns are mandatory and must go in the following order:

Easting, Northing, Elevation, CavePeriod, CavePeriodDyn, BlockID, SolidsDens, InSituPor, MaxPor, FricAngle, MeanDia, MeanDiaDyn, PriFragA, PriFragB, TenStrA, TenStrB, UCS, PercK1, PercK2, PercVMR.

See Block Model for the meaning of these parameters. The exact text string used to describe each column is not important.

From column 21, extra columns with information about mine block ore grades can be added. There is no limit to the number of extra columns that can be added. Information in these columns is available as labels in the mineblock plot item and through the FISH functions massflow.mineblock.ore.name and massflow.mineblock.ore.value.

Line 3 - This line is ignored

Line 4 onwards - Actual values for each of the column defined in Line 2

The code block below shows a portion of a MassFlow drawbell file. This example has 3 extra columns after the first 20 mandatory columns, for a total of 23 columns.

"Delimiter: r;"
Easting      Northing        Elevation       CavePeriod      CavePerioDyn    BlockID SolidsDen       InSituPor       MaxPor  FricAng MeanDia MeanDiaDyn      PriFragA        PriFragB        TenStrA TenStrB UCS     PercK1  PercK2  PercVMR KIMB3DG KIMB3F  KIMB3B

0
1225 -1658   205     1       1       1       2.6     0       0.2     42      0.2     0.2     0.86    0.45    2.5     5       60000   11      4.5     0.5     0       0       0
1235 -1658   205     1       1       2       2.6     0       0.2     42      0.2     0.2     0.86    0.45    2.6     6       60000   11      4.5     0.5     0       0       0
1245 -1658   205     1       1       3       2.6     0       0.2     42      0.2     0.2     0.86    0.45    2.7     7       60000   11      4.5     0.5     0       0       0
...

MassFlow Dynamically import a csv comma delimited block model file

Users can take advantage of the command massflow mine-block import-dynamic “filename.csv”.

The command expects a header in first line and all blocks starting from the second line.

The command is not sensitive to the position of the columns but requires all 20 previously mentioned columns to be included with the same specific names.

An example of such structure is shown below.

 Easting,Northing,Elevation,CavePeriod,CavePerioDyn,BlockID,SolidsDen,InSituPor,MaxPor,FricAng,MeanDia,MeanDiaDyn,PriFragA,PriFragB,TenStrA,TenStrB,UCS,PercK1,PercK2,PercVMR,KIMB3DG,KIMB3F,KIMB3B
 1225,-1658,205,1,1,1,2.6,0,0.2,42,0.2,0.2,0.86,0.45,2.5,5,60000,11,4.5,0.5,0,0,0
 1235,-1658,205,1,1,2,2.6,0,0.2,42,0.2,0.2,0.86,0.45,2.6,6,60000,11,4.5,0.5,0,0,0
 1245,-1658,205,1,1,3,2.6,0,0.2,42,0.2,0.2,0.86,0.45,2.7,7,60000,11,4.5,0.5,0,0,0
...