New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some sizes of Fractal Box with Peplinski soil not rendering #131
Comments
@Mark-Dunscomb I've only had a chance to have a quick look at this so far, but my suspicion is that this is some sort of issue with Paraview reading the file. Certainly the dictionary which lists all the materials in the model is being written to the geometry file (I can see this by simply running |
@craig-warren Thanks Craig. I've run into this several times, always on larger models. Although it would be nice to see the variation, displaying is less important than knowing that the output was calculated using the variation. The difficult part is, as you said, although the materials are listed, there doesn't seem to be related data. Or.. Paraview has some type of issue. Thanks again for your help. |
@Mark-Dunscomb so a quick test suggests that the material IDs from the Peplinski model and fractal distribution (#fractal_box) are being correctly written to the geometry file. Do you have an idea/can you check what size of model the geometry file stops working? This would help me try to narrow down the issue. Thanks, |
@craig-warren I don't have that info but will set up a batch file to test it and will let you know. Might need to run it over the weekend. Thanks. |
@craig-warren Results of a quick test. I ran the same model (one I had used for speed benchmarking) multiple times but increased the no. of cells each time by reducing the cell size. The results: Very strange. Model 3 only had 3 materials in it; the box, the lower soil, and only the first form of the Peplinski model distribution of parameters. Also, I was only able to use the gprMax_info macro on the second model. For the other 3, I had to manually run through the threshold filters. Images below of the 4 models. The input files I used are also attached in a zip file. |
@Mark-Dunscomb quick check, the spatial resolutions you are using on the geometry views do not match the spatial resolutions of the models. Was this intended? Whilst, in theory, this should not be an issue lets keep them the same for now. Models 3 and 4 are a bit too big (in terms of memory) for me to attempt to render on my desktop machine. Models 1 and 2 display OK for me with the gprMax macro. |
@craig-warren Hi Craig. Thanks, the mismatch was intended to limit the size of the vti files but probably was not a great idea when testing. I changed it so that the geometry files have the same discretization as the respective model spaces and then re-ran them. All results are the same. Afterward, I ran several other files trying to isolate the issue but have been unsuccessful. See results below: I've re-run model no. 3 multiple times and viewed ways in Paraview and have the same results every time. I thought it could be a memory issue but that doesn't seem to be the case. Smaller models, larger models, and models around the same size as model 3 all seem to be fine. Then I thought it could be a mismatch issue in the discretization but that doesn't seem to be the case. Model no. 2 purposely has a mismatch and works fine. Also, I've checked and rechecked to confirm there are no odd issues in model no. 3. Thought it could be an issue with the way materials are defined or what is included but that doesn't seem to be the case. Models 3 and 6 are the same with the exception of discretization in the z direction. 6 works, 3 doesn't. Also, models 3 and 11 have the same discretization but different materials and neither works. I've attached .in files for models 3, 6 and 11. 3 and 11 have the same discretization and 6 is only slightly different (change in z discretization). My best guess is that there is an issue with the discretization but it's eluding me. |
I believe that my query is something relevant as well. I followed two steps for my simple model:
Problem that I am facing: Even though i can clearly see .h5 file and .txt file generated in the step1, while reading them in the bscan model, i am getting an error that materials.txt file is not found. I have attached the snapshot for your reference with some comments, please suggest what can i do to fix it. |
the above problem got fixed when i changed the name of the files. not sure if there was some specific requirement for the file names. Thanks! |
Issue:
I'm note getting a proper distribution from "soil_peplinski" within a "fractal_box" with large modelspace's.
Although my model includes a distribution of "soil_peplinski" parameters via a fractal box, the model only seems to use the first material in the series of variants. Similar but smaller model spaces have no issues but this larger model space does. The issue could be in my input files, the process I'm using, or a size issue related to gprMax. I can't find an issue with my files but it could be there. Any help is appreciated.
Background:
My model space contains multiple materials and I'm calling an antenna from the antenna module to use as TX/RX. The uppermost soil layer is the most important and is created via "soil_peplinski" to incorporate dispersion, etc. I've extended the "soil_peplinski" via a fractal_box with 10 variations. Also, I've saved geometry/materials to h5/txt files and am reading them back in to prevent changes in the fractal box from scan to scan in a B-Scan. The files were written without the antenna module and then I've reintroduced the antenna module to process the model.
What happens:
The materials txt file includes a full series of 10 "soil_peplinski" variants but it appears that only the first variant used in the model and the remainder are not included. I.e. The geometry file only has the first variant soil in it, which fills in the entire soil layer.
I've tried multiple trials to find the issue but haven't found one.
Trials:
Pictures are worth more than trying to explain so here are some.
Two images of my small test model space showing that this should work. Note the soil material distribution.
What I get in my project modelspace. The uppermost soil layer should be a distribution of materials but is only the first material in the series. This modelspace is much larger than the small trial model. It has ~5e8 cells.
Here's the materials txt file that includes a full suite of material variations although they don't seem to be included in the model, only the first (the 8th material in this list below). I've attached an input file and would appreciate any help. THANKS!!
The input file used to generate geometry and material files:
My input file used to run the model:
The text was updated successfully, but these errors were encountered: