Coder Social home page Coder Social logo

plotting geometry about gprmax HOT 4 CLOSED

gprmax avatar gprmax commented on May 29, 2024
plotting geometry

from gprmax.

Comments (4)

craig-warren avatar craig-warren commented on May 29, 2024

Hi Sajad, We have done testing with dielectric targets embedded in heterogeneous soils (using the #fractal_box command) and not observed this problem.

Firstly, can you check you are adding the anomaly after the #fractal_box? Secondly, please attach a copy of your input file to this issue, as it will make problem solving much easier.

from gprmax.

SajadJ avatar SajadJ commented on May 29, 2024

Hello Craig,

Yes, I'm adding the anomaly command (#box) right after #fractal_box command. I was not able to attach the file here, so I'm copying the text below:


#title: B-scan from an object buried in a heterogeneous soil
#domain: 0.50 0.220 0.001
#dx_dy_dz: 0.001 0.001 0.001
#time_window: 8e-9
#time_step_limit_type: 2D
#pml_cells: 10 10 0 10 10 0

#material: 6 0 1 0 half_space
#soil_peplinski: 0.4 0.6 2.0 2.66 0.001 0.25 soil_pep
#material: 2.9 1.0 1.0 0.0 plastic

#waveform: ricker 1 1.5e9 my_ricker
#hertzian_dipole: z 0.100 0.170 0 my_ricker
#rx: 0.020 0.20 0
#src_steps: 0.01 0 0
#rx_steps: 0.01 0 0

#fractal_box: 0.0 0.0 0.0 0.50 0.200 0.001 2 1 1 1 10 soil_pep my_fractal_box 2
#box: 0.2 0.1 0.0 0.30 0.150 0.001 plastic

#geometry_view: 0 0 0 0.50 0.2 0.001 0.01 0.01 0.01 plastic f

from gprmax.

craig-warren avatar craig-warren commented on May 29, 2024

Hi Sajad, There are a few issues with your input file:

  • The main problem is with the #geometry_view command. You are using a spatial resolution of 1mm for the model and it is 2D (with 1 cell the z-direction). However, you have requested a 10mm spacing in your #geometry_view which is clearly not possible.
  • You probably don't require per-cell-edge geometry information (f option), so use the per-cell (n option) instead.
  • Be careful about the positioning of your sources and receivers
  • Your plastic material has a conductivity of 1 S/m

When I run your model correcting the #geometry_view command, i.e. #geometry_view: 0 0 0 0.5 0.22 0.001 0.01 0.01 0.001 plastic n, I can see the plastic box in the soil.

from gprmax.

SajadJ avatar SajadJ commented on May 29, 2024

You are absolutely right! Thank you so much.
Now, it works. The most effective change in this case is f --> n.
Thanks again

from gprmax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.