Hi Mohammad,
If you just wish to load in one sphere or a small amount of spheres which you know explicitly the locations of, then you can just explicitly give the positions and don't have to use a sampler: after all, a sampler just gives a vector the XYZ (coordinates) of spheres filling up the domain anyway. You can do something like this for example, to add 2 spheres:
ChVector<float> Sphere1(X1, Y1, Z1);
ChVector<float> Sphere2(X2, Y2, Z2);
std::vector<ChVector<float>> initialPos;
initialPos.push_back(Sphere1);
initialPos.push_back(Sphere2);
gpu_sys.SetParticles(initialPos);
Thank you,
Ruochun