I'm currently attempting to model the electrospray deposition process using a combination of matlab and comsol (in 2D axissymmetric). The matlab code I'm using takes the model and solves for a particle trace from the field. Using the particle trace, it determines where each droplet and charge would be deposited on the spray target (a rectangle), creating a table of radial values and charge values at these points. Using these new charge values, I want to be able to update the electric potential or charge on the surface of the spray target in the comsol model, but not as a single value as it will easily allow one to do, but update the charge at specific points as the charge is deposited. I've tried doing this but it only allows a single scalar value to be used to update electric potential. Is there a way to do this without creating dozens of individual point charges and updating those individually? Can an array basically be fed into the electric potential or perhaps a different electrostatics tool to do this? Thanks!
↧