Hello everyone,
I have an issue with a 2D axisymmetric model, although this same question applies to any model in COMSOL. Basically, I'm calculating gas evolution from a current distribution, and using these values to modify the conductivity of the electrolyte along the z-axis. The conductivity changing will of course modify the current distribution, so the problem becomes cyclical and requires convergence.
This function of conductivity is calculated via a function defined along a particular boundary, producing a 1D plot of Conductivity as a function of z. Currently, I can iterate manaully by exporting this 1D plot, importing it back in as an interpolation function, and setting my electrolyte conductivity as this interpolation function.
While manual iteration does eventually converge, this is tedious and it seems like there should be some way to do this automatically in COMSOL.
I have already asked COMSOL support about this but they gave me a very vague answer about using general projections. I've used general projections before for integrating results over complex curved surfaces, but never in a way that could resolve this issue.
Thanks for any help you can provide.