First time here? Checkout the FAQ!
x
0 votes
by (120 points)
We are trying to specify the voltage value at each node in a mesh. Using sv_init lets us easily specify a voltage value for all of the cells in a region.

Is it possible to specify the voltage value of each cell (or node) using sv_init? Or would we have to create individual regions in the mesh and use sv_init for each region? Or is there another way?

1 Answer

0 votes
by (19.1k points)
The voltage just as an initial condition for the ionic model or as a boundary condition for the whole time?
by (120 points)
The voltage as an initial condition.

Our workflow for context:
We are trying to initialize every node of an ellipsoid mesh to a specified starting voltage. We want to be able to specify the value on a per node basis.
by (19.1k points)
The .nodal() markup with an adjustment on the state variable should be the best way:

https://opencarp.org/documentation/examples/01_ep_single_cell/05_easyml#recognized-markup

Similar to adjusting for example maximum conductances in the ionic model: https://opencarp.org/documentation/examples/02_ep_tissue/05e_smooth_gradient_heterogeneities
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...