We have a 2D model involving fluid flow and transport of diluted species. The latter includes an "R term," which adds a source for the species. We would like R to be a function of the spatial position, R(x',y'), computed as an integral over y and the species concentration itself. So, the integral involves both y' and a dependent variable: R(x', y') = integral from y0 to y' of F( tds.c(x',y) dy .
Questions:
1. Can COMSOL do this, or will it upset the minimization over the mesh?
2. How do we implement this? Some pieces of F(tds.c) are coded in variables right now. Do we use the "component coupling" approach shown in www.comsol.com/blogs/overview-...ntegration-methods-space-time/ ? Or, do we use the additional physics interface approach from that link?
Does anyone know of a sample model that does something similar. As usual, I'm having trouble finding the right documentation section.
Just to emphasize- we're not looking to do integrals for post-processing. The integrals define the model and affect the solution.
Thanks.
Questions:
1. Can COMSOL do this, or will it upset the minimization over the mesh?
2. How do we implement this? Some pieces of F(tds.c) are coded in variables right now. Do we use the "component coupling" approach shown in www.comsol.com/blogs/overview-...ntegration-methods-space-time/ ? Or, do we use the additional physics interface approach from that link?
Does anyone know of a sample model that does something similar. As usual, I'm having trouble finding the right documentation section.
Just to emphasize- we're not looking to do integrals for post-processing. The integrals define the model and affect the solution.
Thanks.