Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Creating a variable charge on a surface

Please login with a confirmed email address before reporting spam

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!



1 Reply Last Post 23 giu 2020, 15:11 GMT-4
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 23 giu 2020, 15:11 GMT-4

Catherine,

the scalars in the input fields for potentials or charge densities can be functions of the spatial coordinates, e.g. Vs = Vs(r, z). This is the way to introduce a spatial distribution.

Cheers Edgar

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Catherine, the scalars in the input fields for potentials or charge densities can be functions of the spatial coordinates, e.g. Vs = Vs(r, z). This is the way to introduce a spatial distribution. Cheers Edgar

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.