Facing error: #pml_cells has too many cells for the domain size

138 views
Skip to first unread message

Noushin Khosravi Largani

unread,
Jul 10, 2023, 1:08:03 PM7/10/23
to gprMax-users
Hello
Hope you are well. I run this code in gprMax:

#title: A-scan from a Layered media
#domain: 2.0 2.0 0.08
#dx_dy_dz: 0.004 0.004 0.004
#time_window: 5.5e-9

#material: 6 0 1 0 FirstL
#box: 0.2 0.6 0.02 1.8 1.2 0.06 FirstL

#material: 8 0 1 0 SecL
#box: 0.2 0.2 0.02 1.8 0.6 0.06 SecL

#material: 10 0 1 0 ThirdL
#box: 0.2 0 0.02 1.8 0.2 0.06 ThirdL

#excitation_file: MySFCW.txt
#hertzian_dipole: z 0.8 1.3 0.04 MyPulseSF
#rx: 1.2 1.3 0.04
But I face this error: #pml_cells has too many cells for the domain size, for each increased domain size and modified size of boxes. 
This code considers PML condition for the domain size and the location of boxes and source and receiver. 
I would appreciate it if you could guide me how fix this error? 

Craig Warren

unread,
Jul 17, 2023, 4:28:00 AM7/17/23
to gprMax-users
Hi,

Your model presented here looks fine in terms of the PML cells - when I tested this code (without your custom waveform) there were no errors about the PML.

Kind regards,
Craig

Reply all
Reply to author
Forward
0 new messages