I am trying to extract electric field values from tcad files to .init files through allpix squared. I run using “./mesh_converter -f pixel_100V -c pixel_100V.conf”. I am using the following .conf file:
model="init"
region="substrate"
observable="ElectricField"
observable_units=""
radius_step=0.5
max_radius=50
volume_cut=10e-9
dimension=3
divisons=20 20 20
xyz=x y z
mesh_tree=false
The corresponding error I get is:
(FATAL)
Using pixel_100V.conf configuration file
Reading mesh grid from file "pixel_100V.grd"
Parsing grid file: 0%
Fatal internal error
incorrect format, file does not have 'DF-ISE text' header
Cannot continue.
My .grd file does indeed has the “DF-ISE text” sentence, but the program seems to be missing it. If I bypass (by commenting out this section of code) this and run again, I get the following error:
I tried running the mesh converter using latest on CVMFS, but I didn’t manage to reproduce the issue on the fields I have access to when using your configuration file, so it might really be something in the fields. I also tried changing the values at the beginning of my .grd file to closer match yours, but still can’t reproduce the error.
I realise this comment is not super helpful, but it might narrow down the issue a bit…