# Node connectivity for regular structured meshes

Consider a regular rectangular 2D $$r$$-$$z$$ mesh with constant spacing $$\Delta r$$ along the $$r$$-axis with $$n$$ points and spacing $$\Delta z$$ along the $$z$$-axis with $$m$$ points. I thought it would be a straightforward formula for node connectivity/node numbering. But searching the internet is finding complicated ideas for general situations.

What is the formula for the node number of the point $$(i, j)$$ in a regular rectangular 2D $$r$$-$$z$$ mesh with constant spacing?

Supposing that you enumerate first in $$r$$ and then in $$z$$, you have the following enumeration
$$n_\text{node} = j n + i\, ,$$
• what are j, n and i? Aug 9, 2022 at 19:49
• $i$, $j$ and $n$ are defined in your original question. Aug 10, 2022 at 2:34