about the vti file

118 views
Skip to first unread message

James T

unread,
Mar 9, 2021, 3:06:52 AM3/9/21
to gprMax-users
Hi all and the gprMax team
I have encountered some problems. I'm not sure whether it's a bug or just like this at the beginning. When I open the VTI file with paraview, the dielectric parameter value corresponding to its color is not the same as what I set. For example, in this model, I set up a soil with an iron plate in the air. The dielectric constant of the soil is greater than 9, but it is not the value shown in the image.

James T

unread,
Mar 9, 2021, 3:07:44 AM3/9/21
to gprMax-users
snapshot.png

James T

unread,
Mar 9, 2021, 3:08:07 AM3/9/21
to gprMax-users

#domain: 1.4 0.5 0.002 
#dx_dy_dz: 0.002 0.002 0.002
#time_window: 40e-9

## soil2500
#material: 9.44294161392092 0 1 0 soil2500
#add_dispersion_debye: 2 4.86015931256357 1.90072020211854e-11 72.0753821760911 5.56640670473131e-9  soil2500

##time_step_stability_factor: 1e-11

#box: 0.1 0.1 0 1.1 0.11 0.002 pec
#box: 0.1 0.11 0 1.1  0.28  0.002 soil2500
#waveform: gaussiandotnorm 10 900e6 my_ricker
#hertzian_dipole: z 0.2 0.28 0.001 my_ricker
#rx: 1.2 0.28 0.001
#src_steps: 0.01 0 0
#rx_steps: -0.01 0 0


在2021年3月9日星期二 UTC+8 下午4:07:44<James T> 写道:

James T

unread,
Mar 9, 2021, 3:08:31 AM3/9/21
to gprMax-users
pec_soil2500_free_space1.vti

Craig Warren

unread,
Mar 9, 2021, 4:17:09 AM3/9/21
to gprMax-users
Dear James,

The numeric values in the VTK (.vti or .vtp) files do not correspond to the dielectric constant of the material - they are the material IDs which you can see listed in the table of materials when gprMax runs.

Kind regards,

Craig

James T

unread,
Mar 9, 2021, 6:54:28 AM3/9/21
to gprMax-users
Dear Craig,

Thank you  very much! If I want to show the dielectric parameters of materials on a similar model diagram, is there any ready-made method or can you provide suggestions in this regard?

James

Craig Warren

unread,
Mar 13, 2021, 3:14:09 PM3/13/21
to gprMax-users
Dear James,

There is not a straightforward way to do this, as the dielectric parameters are not exported (and thus contained) in the geometry files. 

There might be some way of using Paraview to manually assign permittivity values to the corresponding material IDs, but it is not something I am aware of.

Kind regards,

Craig

Reply all
Reply to author
Forward
0 new messages