Hello,
I am trying to simulate an air flow through internal cooling channels of a drill bit. Later on I will have to add a liquid phase, but at the moment I started easy with just a single phase.
I used Crixus for generating the initial sets of particles. The geometry consists of one inlet, one outlet and walls. Then I wrote the code for running this new case (I used ChannelIO as a starting point). But when I execute the case, I get rather soon a segmentation fault error. Here below the execution output:
- No devices specified, falling back to default (0)…
GPUSPH version v5.0+73-83070831
Release version without fastmath for compute capability 7.0
Chrono : disabled
HDF5 : enabled
MPI : disabled
Catalyst : disabled
Compiled for problem “DrillOnePhaseStill”
[Network] rank 0 (1/1), host
tot devs = 1 (1 * 1)
Info stream: GPUSPH-6728
Initializing…
Reading particle data from the input: ./data_files/DrillOnePhaseStill/0.DrillOnePhaseStill.fluid.h5sph
Reading particle data from the input: ./data_files/DrillOnePhaseStill/0.DrillOnePhaseStill.boundary.kent0.h5sph
Reading particle data from the input: ./data_files/DrillOnePhaseStill/0.DrillOnePhaseStill.boundary.kent2.h5sph
Reading particle data from the input: ./data_files/DrillOnePhaseStill/0.DrillOnePhaseStill.boundary.kent1.h5sph
Water level not set, autocomputed: 0.002481
Max fall height not set, autocomputed: 0.00501
Max particle speed not set, autocomputed from max fall: 0.313522
WARNING: dt 9e-08 will be used only for the first iteration because adaptive dt is enabled
Expected maximum shear rate: 2.08333e+06 1/s
dt = 9e-08 (CFL conditions from soundspeed: 9.6e-08, from gravity 0.000699497, from viscosity 0.00012)
Using problem-set neib list size 640 (safe computed value was 288)
Using problem-set neib bound pos 511 (safe computed value was 287)
Brezzi diffusion coefficient = 1.000000e-01
Artificial viscosity epsilon is not set, using default value: 1.440000e-10
Using problem dir ./tests/DrillOnePhaseStill_2020-11-25T16h33
Problem calling set grid params
Influence radius / neighbor search radius / expected cell side : 0.00024 / 0.00024 / 0.00024
- World origin: -0.001 , -0.003 , -0.003
- World size: 0.013 x 0.006 x 0.006
- Cell size: 0.000240741 x 0.00024 x 0.00024
- Grid size: 54 x 25 x 25 (33,750 cells)
- Cell linearization: y,z,x
- Dp: 6e-05
- R0: 6e-05
Generating problem particles…
WARNING: setting the mass by density can’t work with a point-based geometry without a mesh!
WARNING: setting the mass by density can’t work with a point-based geometry without a mesh!
WARNING: setting the mass by density can’t work with a point-based geometry without a mesh!
WARNING: setting the mass by density can’t work with a point-based geometry without a mesh!
VTKWriter will write every 0.0005 (simulated) seconds
HotStart checkpoints every 0.0005 (simulated) seconds
will keep the last 8 checkpoints
Allocating shared host buffers…
Numbodies : 0
Numforcesbodies : 0
numOpenBoundaries : 2
allocated 69.66 MiB on host for 913,108 particles (760,922 active)
Copying the particles to shared arrays…
Open boundaries: 2
Fluid: 506373 parts, mass 2.5488e-13
Boundary: 169691 parts, mass 0
Testpoint: 0 parts
Tot: 760922 particles
RB First/Last Index:
Preparing the problem…
- device at index 0 has 760,922 particles assigned and offset 0
Integrator predictor/corrector instantiated.
Starting workers…
number of forces rigid bodies particles = 0
thread 0x7fc7817db700 device idx 0: CUDA device 0/1, PCI device 0000:3b:00.0: Tesla V100-PCIE-32GB
Device idx 0: free memory 32189 MiB, total memory 32510 MiB
Estimated memory consumption: 1404B/particle
Device idx 0 (CUDA: 0) allocated 0 B on host, 1.18 GiB on device
assigned particles: 760,922; allocated: 913,108
GPUSPH: initialized
Performing first write…
Letting threads upload the subdomains…
Thread 0 uploading 760922 Position items (11.61 MiB) on device 0 from position 0
Thread 0 uploading 760922 Velocity items (11.61 MiB) on device 0 from position 0
Thread 0 uploading 760922 Info items (5.81 MiB) on device 0 from position 0
Thread 0 uploading 760922 Hash items (2.9 MiB) on device 0 from position 0
Thread 0 uploading 760922 Next generated ID items (2.9 MiB) on device 0 from position 0
Segmentation fault (core dumped)