Problems with particles scripting

Hello there, Im new here and not proficient in english so sorry for any mistake…:spin:

well the thing is that im trying to make an SPH fluid plugin, first of all I tried to access to the particles position
in this way:

particles = bpy.data.objects[‘Cube’].particle_systems[‘ParticleSystem’].particles

and then iterate over it and tried to change locations and velocities whit this:

for p in particles:
p.location = p.location * 100 // p.velocity = p.velocity * 100

these dont work when physics are set to “NO”

anybody has a clue about it?