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.

Negative & irregular concentration with an applied concentration flux

Please login with a confirmed email address before reporting spam


I want to study the mass transport of diluted species under convection and diffusion. My simulations yielded a significant amount of negative concentration. Therefore I created a model for testing purposes:

  1. Only diffusion
  2. Geometry (see geometry.png) -> a defined flux is applied at the surface. This flux was originally defined by a square pulse (for testing purposes the flux is constant)
  3. Time-dependent study

The results show that:

  • There is a zone of negative concentration above the surface where the flux is set
  • The concentration on the surface where the flux is applied has not a uniform concentration.

What did I try to resolve this:

  • Change the mesh. I used the standard mesh from comsol and two custom quad meshes different accuracy. Concentration profiles from the quad-meshes are attached. It seems that the mesh quality only compresses/shifts the negative concentration zone.
  • Ramping up the pulse and removing the pulse (constant flux)
  • change time-steps (smaller steps)
  • change the stabilization methods
  • change the magnitude of the flux

Nothing of the above methods did help. I have also attached my test model.

TLDR: Transient study using diffusion of a concentration applied via a flux results in significant regions of negative concentration as well as concentration "hot-spots".

Thanks Claus

0 Replies Last Post Oct 17, 2019, 11:06 AM EDT
COMSOL Moderator

Hello claus

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.