Terminal BC
Posted: 22 Aug 2021, 11:11
Dear all,
I have a silly question here. I know that in Comsol, one could apply a terminal BC to an internal boundary and use it, for example, to dump current to a system in a electrostatic simulation. The terminal BC uses lumped parameters to ensure continuity at that interface.
I would like to model and electrode in contact with some biological tissue, forcing a fixed amount of current to it. In Comsol I would add a Terminal BC to account for that. I wonder if Elmer has something similar.
I had a look at creating a discontinuos mesh in gmsh, then running a static current analysis on Elmer with an initial value of voltage in each boundary of that discontinuos interface, asking to save scalars and computing the current flux across them. Then, using a python script, I would generate another side file with an updated Voltage at those surfaces and re-run the analysis until I got the current continuity across those boundaries satisfied with some tolerance. I feel like this is somehow not the right way to do it....
Just wondering if I am on the right path or if I am missing something here. Is there a simple way to deal with that? Really appreciate any comments!!
Btw, loving to learn Elmer. It is such a great software. Thank you guys for creating it!!!
I have a silly question here. I know that in Comsol, one could apply a terminal BC to an internal boundary and use it, for example, to dump current to a system in a electrostatic simulation. The terminal BC uses lumped parameters to ensure continuity at that interface.
I would like to model and electrode in contact with some biological tissue, forcing a fixed amount of current to it. In Comsol I would add a Terminal BC to account for that. I wonder if Elmer has something similar.
I had a look at creating a discontinuos mesh in gmsh, then running a static current analysis on Elmer with an initial value of voltage in each boundary of that discontinuos interface, asking to save scalars and computing the current flux across them. Then, using a python script, I would generate another side file with an updated Voltage at those surfaces and re-run the analysis until I got the current continuity across those boundaries satisfied with some tolerance. I feel like this is somehow not the right way to do it....
Just wondering if I am on the right path or if I am missing something here. Is there a simple way to deal with that? Really appreciate any comments!!
Btw, loving to learn Elmer. It is such a great software. Thank you guys for creating it!!!