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 Concentration in Transport of Diluted Species
Posted 13 dic 2023, 00:55 GMT-5 Mesh, Studies & Solvers, Physics Interfaces Version 6.1 0 Replies
Please login with a confirmed email address before reporting spam
I am working on a project where I have to model the drug concentrations through a porous media from a solid body designed in solidworks. I am relatively new to COMSOL so I was modeling a simplistic diffusion system (no flux, 0 initial concentration on the domain of interest). There are two domains from the imported solidworks file, one loaded with drug and another for diffusion throughout.
The drug loaded concentration layer has a diffusion coefficient through that porous media, and porosity of that loaded layer. This is in direct contact with the bone with 0 initial concentration, diffusion coefficients through the bone, and porosity of bone. The drug is removed according to its half life. There is a thin diffusion layer on the interface surface between the two domains.
When I run the time study and take the volumetric averages/minimums, the surface values are negative. I have tried following the advice in the support knowledge base 952 (https://www.comsol.com/support/knowledgebase/952) but I don't believe I want inflow in my system, using the machine epsilon didn't change the results, and I wasn't sure how to use a step function, and using the lower limit on a segregated solver in the settings. I do need the minimums on the drug concentration, so can't use the zeros given by this method. I am currently running an extremely fine mesh, but it is taking a very long time and I would like to know if there are better ways around this.
Hello Alexander Speigle
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.