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 2020年6月24日 GMT+8 03:11
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2020年6月24日 GMT+8 03:11

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.