Effects of channel size, wall wettability, and electric field strength on ion removal from water in nanochannels

Molecular dynamics simulations are employed to estimate the effect of nanopore size, wall wettability, and the external field strength on successful ion removal from water solutions. It is demonstrated that the presence of ions, along with the additive effect of an external electric field, constitute a multivariate environment that affect fluidic interactions and facilitate, or block, ion drift to the walls. The potential energy is calculated across every channel case investigated, indicating possible ion localization, while electric field lines are presented, to reveal ion routing throughout the channel. The electric field strength is the dominant ion separation factor, while wall wettability strength, which characterizes if the walls are hydrophobic or hydrophilic has not been found to affect ion movement significantly at the scale studied here. Moreover, the diffusion coefficient values along the three dimensions are reported. Diffusion coefficients have shown a decreasing tendency as the external electric field increases, and do not seem to be affected by the degree of wall wettability at the scale investigated here.

Scientific Reports | (2022) 12:641 | https://doi.org/10.1038/s41598-021-04620-x www.nature.com/scientificreports/ for controlling water flow. Carbon nanotubes (CNTs) with modified hydrophilic-hydrophobic tips have been incorporated to achieve fast water transport and ion selectivity 27 . In this way, ions are difficult to enter the tube due to high energy barriers at the tips, making the CNT a potential water filter. Moreover, in the presence of an external electric field, water molecule contact angle on the surface, which characterizes wall hydrophobicity and hydrophilicity, is affected 28 . Inside biological or synthetic nanopores, it has been also found that the pore hydration probability increases when the applied electric field increases, too 29 . From a simulation perspective, classical molecular dynamics simulations have been incorporated for the investigation of such systems, providing close-to-reality approaches of internal processes, assisting experimental procedures, and pointing key theoretical issues which are vital for the establishment of functional models 30,31 . For example, water properties, such as the radial distribution function, dipole orientation, or, the number of hydrogen bonds, to mention a few, are subject to change. Under a static electric field between 0.01 and 0.2 V/Å, the strength of hydrogen bonds increases and results in diffusion coefficient anisotropy 32 . As a result, anisotropy is also induced in water viscosity, where the component parallel to E increases and the perpendicular component decreases, as E increases monotonically 33 . Continuum approaches on ionic transport include the Poisson-Nerst-Planck (PNP) theory, which can be less computationally demanding than MD, but, on the other hand, it succeeds only at the bulk and fails to approach regions near the channel walls [34][35][36] .
In this work, MD simulations have been performed to develop and refine a nanochannel desalination model, in which ion transport towards the wall is facilitated under the effect of an external electric field, perpendicular to the walls 37,38 . Emphasis has been given on the investigation of the underlying mechanism that controls ion and water molecules behavior, with aid of a large number of independent MD simulations. Numerical calculations of the potential energy and the electric field inside the nanochannel have been performed, while fluid diffusion coefficients have been extracted along the three dimensions. The main parameters that have been found to affect ion drift inside the channel (ion concentration close to seawater and less) are the channel width, spanning over the range h = 3-21 nm, the external electric field, for values E = 0.0-10.0 V/nm, and, up to a certain degree in small nanochannels , the wall/fluid interaction strength as 0.1 < ε wf /ε ff < 1.0 .

Methods
Model and implementation details. Molecular dynamics simulations of Na + , Cl − , and water solution, in various concentrations, confined between two impermeable, solid walls are performed (Fig. 1a). For the ease of simulation, the system is considered periodic at the x-, y-and fixed at the z-direction. Details on materials, parameters, and dimensions incorporated are given in the Supplementary Material.
The SPC/E water model, which has been found to reproduce adequately the structural and dynamic properties of water 39 , is incorporated, composed of Lennard-Jones (LJ) and Coulombic potential terms for the solution. A particle-particle particle-mesh (PPPM) method has been used to calculate the long-range electrostatic force 40 . The LJ potential between two particles i and j is described by the equation where parameter ε indicates the interaction strength, σ defines the length scale, and r c = 9 Å the cut-off radius. Moreover, coulombic interaction between hydrogen, oxygen, natrium and chloride atoms is given by V c = Cq i q j ε 0 r ij , where C is the energy conversion constant, q i and q j the charges of interacting atoms, and ε 0 is the dielectric constant.
Τhe ratio of wall-to-fluid interaction ε wf /ε ff controls wall wettability and is inversely analog to the value of the contact angle between the surface and the fluid [41][42][43] . The wall is treated as strong hydrophobic for ε wf /ε ff = 0.1 (large contact angle), hydrophobic for ε wf /ε ff = 0.2, hydrophilic for ε wf /ε ff = 0.5 and strong hydrophilic for ε wf /ε ff = 1.0 (near-zero contact angle) . Wall particles are initially arranged on a face-centered cubic (fcc-101) lattice, which is common practice in MD, LJ simulations 38 . Figure 1. Ion/water flow between two solid walls, channel model (periodic in x-and y-dimensions, while, h, is the channel height, in the range 3 nm ≤ h ≤ 62 nm ). Blue and red circles are Na + and Cl − ions, respectively. The external electric field E z is applied perpendicular to the flow (driven by the external force F x ). Here is the channel: (a) in the beginning of the simulation, (b) after the application of E, where an internal E´ is created, while F x drives the flow, (c) the division in computational bins m × n × k (k is in the y-dimension).
Scientific Reports | (2022) 12:641 | https://doi.org/10.1038/s41598-021-04620-x www.nature.com/scientificreports/ The application of an external electric field (acting analog to a solution between two charged surfaces), ideally results in anion drift towards the "positive" and cation towards the "negative" surface (Fig. 1b). The electric field originates from the homogeneous distribution of opposite sign charges on the two walls, resulting in an electric force F e = qE z acting on the z-dimension. The applied E z in this work is investigated over the range 0.0-10.0 V/ nm. It has been argued that, when E > 3.5 V/nm, ab-initio simulations revealed that the dissociation of a water molecule occurs 44 . The water molecules are prone to undergo autoionization to form H3O + and OH − ions 45 . Nevertheless, for the theoretical model presented here, water bonds are constrained using the SHAKE algorithm 40 and no dissociation phenomena are observed. Furthermore, it has been shown that the application of an electric field can cause phase change (water freezing). However, when the field applies perpendicular to the wall levels (as in our case, in our value range), no freezing effect occurs 46 .
The proposed desalination procedure succeeds when most ions approach the walls, under the effect of E z . As ions are forced to drift away from the solution, clean water remains in the channel interior and has to be appropriately gathered on the outlet (not shown here). Wall atoms absorb the increase in fluid kinetic energy due to the application of the external fields, and, to maintain constant system temperature (T = 300 K), Nosé-Hoover thermostats are employed at the walls.
In order to perform realistic MD simulations, system properties have to be clearly defined. As our investigation goes over various channels of different heights, properties like temperature, pressure and ion concentration have to be the same so that comparisons are made under the same conditions across all channel heights. Initial system setup is of primary importance. A common establishment is the addition of reservoirs before and after the nanochannel to ensure bulk conditions 47 . Another, challenging approach is based on chemical potential calculations 48 , while a more convenient one includes an initial mechanical pressure application to achieve the desired system properties 49 . By selecting one of these methods, one can be sure that no nanobubbles or depletion layers are formed at the walls and alter the results.
In our system, the simulation procedure in LAMMPS follows these steps: (I) Fluid and wall atoms are placed inside the simulation box with fcc structure with parameters that correspond to the desired density. The two non-periodic box dimensions, L x and L y , are controlled by a barostat and left to equilibrate under a NPT scheme for 1 ns to ensure constant pressure and temperature, and fluid particles are left to attain their positions and velocities in the box. Wall particles remain frozen. (II) After the simulation box attains its final dimensions, an energy minimization stage follows to remove artificially imposed strains in the initial configuration and the simulation system evolves under a NVE scheme for another 1 ns. (III) An intermediate step with the electric field applied follows and temperature is controlled under a canonical (NVT) ensemble by Nosé-Hoover thermostats, for 5 ns. (V) Consecutive NVT production runs are made with the electric field on, where we obtain samples from atomic positions, velocities etc. to calculate properties under an electric field. For statistical reasons, we have considered 4 consecutive, independent runs of 5 ns each and averaged the extracted properties. Simulation timestep is Δt = 1 fs.
Computational details. The effect of the application of an external electric field on ion/water flows in conduits is investigated. Taking further into consideration the hydrophobic/hydrophilic nature of the wall and the repulsive/attractive forces between positive and negative ions, a multivariate interaction environment is considered. For this reason, potential energy plots are extracted in order to locate regions of low energy where ions could be trapped and affect system dynamics. If these regions lay far from the walls, this would be evidence of poor desalination performance. Since the system is periodic in x-and y-directions, it would be of interest to calculate the potential energy as function of z.
Potential energy is given by The term U LJ is the local Lennard-Jones interaction potential and encompasses wall/fluid interactions in terms of hydro/ion-phobicity and hydro/ion-philicity. The second term, V c , is the potential energy associated with long-range electrical interactions between all charged atoms, H + and O − from water molecules, and Na + , Cl − as free-running ions in the solution. The outcome of the application of the external field applied perpendicular to the walls, E z , is associated with U E . Equation 2 has been incorporated to extract the potential energy map inside the channels. As the aim of the proposed model is to present a method of ion drift towards the walls, this would be a valuable information, since low (negative) potential regions can reveal possible ion trapping positions inside the channel that put a barrier on their transport.
The induced electric field due to the presence of a number of N c charged atoms inside a bin is or equivalently where ε r the dielectric constant of water. By adding the external field E ext , distributed equally throughout the channel, we obtain the local value E as

Results
Potential energy and ion localization. In continuous methods, such as the PNP theory, ions are considered as continuous charge distributions and their concentration profile is easy to achieve. Apart from the macroscale, PNP theory has been successfully applied in smaller scales 51 . However, in MD methods, particles are treated as discrete mass points and the representation of ions by their mean field properties would give an over simplistic representation due to the small number of ions compared to the water molecules 35 .
To emphasize the impact of potential energy in ion concentration across the nanochannels, next we present ion mass density and potential energy in double-axis plots. The effect of the electric field strength on ion localization is investigated first on the strongly hydrophobic ( ε wf /ε ff = 0.1 ) h = 3 nm nanochannel. The potential energy in the z-direction is presented for E z = 0.001-0.1 V/nm in Fig. 2a-b. Regions of lower, negative potential energy are local minima which fluid particles prefer to occupy 52 . Due to the hydrophobic walls, regions that could attract water molecules near the walls are expected to form 42 . From the density of mass, N d , it is shown that two Na + and Cl − peaks have been created near the upper wall, and two shorter Cl − peak near the lower channel wall (Fig. 2a). Potential energy is strongly negative near the walls, and this is evidence that ions are practically trapped inside this region. On the other hand, water particles are strongly attracted near a hydrophobic wall, and, as ions tend to create a hydrogen bonding network around them, clusters of ions are drifted towards the walls.
Next, the external electric field is increased to E z = 0.1 V/nm (Fig. 2b). Near the lower wall, the potential energy distribution has created a negative well, surrounded by two peaks of positive potential. Inside this well, almost all ions have been trapped. It is obvious that at this electric field value, ion drift to the walls is facilitated. To project this result to a future desalination procedure, as depicted in Fig. 1b, one would expect that positive ions would drift to the upper wall and negative ions to the lower wall. Nevertheless, it has been shown that Na + and Cl − ions have formed clusters and drift together towards the walls. We attribute this behavior to nanoscale effects, since it has not been predicted by relevant continuum theory 34 . Even so, ions can be removed from the solution since they have approached the walls.
Wall/fluid interaction is another important parameter affecting fluid particle localization, especially near the walls where this effect is maximized. Two representative cases are presented for h = 3 nm, E z = 1.0 V/nm, for ε wf /ε ff = 0.1 − 1.0 , in Fig. 2c-d. Near the lower wall, where Cl − ions are expected to migrate, the mass density plot for Cl − presents a high peak, indicating that all negative ions are localized in this region, which is a negative potential energy region. This layer of negative ions is followed by a layer of positive ions (Na + ), which are www.nature.com/scientificreports/ kept together due to electrostatic attraction. Only a small portion of Na + ions have drifted to the upper wall, where another, negative potential region has been created. However, the negative potential region at the lower wall comes as a more probable candidate position for ions, since conditions of ion trapping have occurred, as the negative potential well is further surrounded by two positive potential peaks. For the strongly hydrophilic channel, ε wf /ε ff = 1.0 , in Fig. 2d, ion behavior is reversed. Only a small percentage of Cl − ions are located near the lower wall, trapped by two alternating negative/positive peaks of potential energy. On the other side, a layer containing all Na + ions is observed near the wall, inside a negative potential well. This high positive ion concentration attracts most of the negative Cl − ions and prevents them from drifting to the lower wall. The effect of wall wettability on the potential energy distribution across the channel is prominent, but at least for the conditions investigated here, has shown no significant impact on ion removal from the channel interior. The channel height effect on potential energy and ion density values is also studied here. In this work, ion/ water flow simulations have been performed for channel dimensions ranging from 3 nm ≤ h ≤ 21 nm . For the h = 6 nm channel (Fig. 2e), a strong negative potential energy region is observed close to the lower wall and a smaller one at the upper wall. All ions have been gathered in these two regions. A multiple interaction environment is observed for the h = 21 nm channels (Fig. 2f). Potential energy fluctuates around a constant negative value, presenting only one minimum in the channel centerline. This is where all ions have been gathered. We attribute this behavior to the fact that the induced external E z = 0.1 V/nm is not strong enough to overcome internal energy barriers and lead ions towards the walls, as it does for the narrower channels shown before. It is a fact that wider channels obtain more electric energy when the same E z applies, however, ions have larger distance to travel and more possibilities to be blocked inside a low potential region, away from the walls.
We also report on potential energy calculations for different salt concentrations, c, for the h = 3 nm, E z = 0.1 V/ nm, ε wf /ε ff = 0.1 case. By increasing salt concentration to c = 0.92 M (Fig. 2g), simulation conditions ensure ion drift near the walls and there is no significant difference compared to the respective c = 0.58 M case (Fig. 2b), apart from the stronger negative behavior of the potential energy. Some Cl − ions are localized near the lower wall and they have also attracted a number of Na + ions to a neighboring layer. On the upper wall, Na + ions (smooth peak) have approached the wall, followed by a layer of Cl − ions (sharp peak). For c = 1.84 M (Fig. 2h), there are two sharp ion peaks at the lower wall, as most ions have been drifted there. This is attributed to the strongly negative potential energy in this region. From cases shown here, the proposed model seems to apply in a wide range of salt concentration values, from c = 0.58-1.84 M, without the need to increase the applied electric field.
Electric field orientation. It has been found that, in similar models, when the electric field is applied perpendicular to the walls 38 , water molecules are aligned, with hydrogen atoms pointing to the negative direction. In the absence of ions in the solution, the electric field lines would be in the form of straight lines, parallel along the z-dimension. In the presence of ions, transport along the z-axis (towards the upper or the lower wall) is expected to emerge, as long as E z is strong enough to overcome interatomic interactions. There are cases where ion separation is not clear; Na-Cl ion pairs are formed on low E z strength and could move together towards the walls 53 , or, in the worst-case scenario, wander around the channel centerline. Furthermore, Na + and Cl − ions have different mechanisms of transport and diffuse at different rates 54 . Larger ions (Cl − ) are less binded to water molecules and are, thus, more prone to be driven by an electric field, in contrast to smaller Na + ions 17 . Therefore, ion movement  www.nature.com/scientificreports/ is, somewhat, complicated. As ions move towards the upper or the lower wall, a new electric field, E ion , opposite to E z , is created, acting competitively. To shed light on this mechanism, further investigation has to be made. At first, we present the electric field distribution inside the h = 3 nm nanochannel case, ε wf /ε ff = 0.1 (hydrophobic) and E z = 0.0 V/nm. Three random slices across the yz-plane are shown in Fig. 3a. There is no clear direction of the lines. No significant effect is observed by increasing the electric field strength to E z = 0.03 V/ nm (Fig. 3b) and E z = 0.5 V/nm (Fig. 3c). However, the electric field lines are becoming directional and follow the external electric field direction, E z , for E z = 1.0 V/nm (Fig. 3d), although their direction is not uniform. This is evidence that ions are facilitated to drift towards the walls for E z > 0.1 V/nm, unless other phenomena occur.
Diffusion coefficients. As shown in Eqs. (6)(7)(8)(9), the diffusion coefficients depend on the mean square displacement calculations, which may be a non-trivial task in terms of statistical accuracy. To reduce statistical errors, we performed for every case investigated here four independent simulations, each one of duration t = 5 ns (total duration 20 ns), where MSD-x,y,z values were saved every 10 timesteps (Δt = 1 fs). Figure 4 presents the calculated MSD for various simulation cases. For means of comparison, simulation of pure water (no ions), no external electric field, and ε wf /ε ff = 0.1 is shown in Fig. 4a. Even in the absence of ions and external electric forces, there exists pronounced anisotropy between the MSD components. For this channel case, confinement effects are strong, and impose strong anisotropy to the MSD z component (perpendicular to the wall level). This effect is only due to the channel width. Slight anisotropy between the x-and y-component is also observed, due to statistical errors. The standard deviation is also plotted on each MSD component in Fig. 4. For the case where an external field E z = 1.0 V/nm applies, in Fig. 4b, no significant change has been observed in terms of the calculated MSD channel value. However, the anisotropy between the x-and y-components has increased. For a solution of c = 0.58 M and a weak field of E z = 0.01 V/nm (Fig. 4c), the MSD has been slightly decreased because of the addition of ions. Practically, no anisotropy exists between the MSD x and MSD y components. On the opposite, for a stronger field E z = 0.1 V/nm (Fig. 4d), MSD x and MSD y components have shown slight anisotropic behavior. www.nature.com/scientificreports/ To account for larger channels, we present MSD calculations for h = 15 nm in Fig. 5a. The effect of confinement is smaller in this case (compared to the h = 3 nm channel) and it has been shown that at this height range diffusion coefficients approach bulk behavior 55 . The MSD z component has increased, but, still, anisotropy exists, as it is significantly smaller than MSD x and MSD y . Similar results are obtained for the h = 21 nm channel, in Fig. 5b. Therefore, anisotropy tends to decrease as the channel width increases. However, electric forces and wall/fluid interaction are also sources of anisotropy 56 , even in wider nanochannels. Fluid particle diffusion parallel to E z is smaller compared to the perpendicular dimension 32 , while larger diffusion values have been observed past a hydrophobic wall compared to a hydrophilic one 57 .
For pure water at T = 300 K, the bulk diffusion coefficient value ranges from D = 2.19 to 2.30 10 −9 m 2 s −158 . From our calculations, we have found that confinement effects impose strong anisotropy, since D z values are always smaller compared to D x and D y . In Fig. 6 we present the parallel diffusion component, D || , versus the external electric field and the wall wettability ratio. Figure 6a presents D || versus E z , for various channel heights in the range h = 3-21 nm. Error bars include the standard deviation of the independent simulations. We observe that the data points for every channel are well organized in power-law curves for each value of the electric field. A power-law least squares approximation of the form D || = aE b z represents the data very well. The values of the coefficients a and b are summarized in Table 1. Diffusion coefficients for all channels investigated here have a decreasing tendency as the external electric field increases. Moreover, in contrast to what expected, diffusion coefficient values are smaller in wider channels and larger in narrower channels. However, we have to bear in mind that diffusion coefficients shown here are the parallel components (over x-and y-directions). www.nature.com/scientificreports/ In Fig. 6b the effect of wall hydrophobicity/hydrophilicity is examined, over the range 0.1 ≤ ε wf /ε ff ≤ 1.0 . Lines here are only for visibility reasons. It is observed that wall wettability does not have a significant effect on the parallel to the wall diffusion component, as D || values for every case fluctuate around a constant value.

Discussion
Molecular dynamics simulations have revealed many interesting characteristics of water/ion flows at the nanoscale. For desalination reasons, the model presented here is based on ion transport towards the walls, under the effect of an external electric field, perpendicular to the walls. Wall/fluid interaction strength has been taken into account to argue on its effect on ion removal.
Potential energy calculations have been presented for various conditions. Regions of low (negative) potential energy have depicted probable ion locations inside the channels. Ions could be trapped inside these positions, until an electric field of a certain value leads them towards the walls. Without an external field applied on the   www.nature.com/scientificreports/ channel, ions can be found everywhere inside the channel. When the electric field applies, regions near the walls turn to candidate ion location positions. For weaker fields in wider nanochannels, e.g., for E z = 0.001 V/nm in a h = 21 nm channel, ions have not obtained directional movement, they still transport in a random way and are mainly gathered near the center of the channel, as negative potential regions are formed both near the channel center and the walls, attracting fluid particles. At these cases, the proposed desalination procedure is difficult to succeed and increasing the electric field strength, though in impractical values, is the only solution. However, ion removal is facilitated for E z > 0.1 V/nm in most cases. It has been shown that, since Na + and Cl − ions form ionic clusters, heavier and more difficult to move, a stronger electric force is needed to overcome this barrier. It has been shown that when the electric field applies, the preferred orientation of hydrogen bonds parallel to E has an increasing effect on fluid viscosity, thus, hindering ion transport in z-dimension 33 . However, at higher values of E z (e.g., for E z = 1.0 V/nm), the electric field value overcomes the energy barrier and facilitates ion separation inside the nanochannel. In the water/ion solution, water molecules stick to an ion due to electrostatic interactions between them, forming a hydration shell. It is preferable for an ion to preserve this hydration shell 59 . On the other hand, a strong electric field facilitates ion drift to the walls and this has been related to the loss of the hydration shell 60 . Therefore, ions prefer to be hydrated and remain far from the wall, unless E is so strong that electrostatic interactions overcome the induced barrier.
Although beyond the scope of this manuscript, in chemical ion selectivity techniques, it has been found that large anions are less hydrated and are easier to remove from water solution 61 . Moreover, the different density distributions of Na + and Cl − ions within the pores are related to size effects, as Cl − ions are heavier 62 . Extrapolating in our system, we would expect that Cl − ions are easier to be directed near the walls comparing to smaller Na + ions. This has been verified in our model. In a successful desalination procedure, the larger Cl − ions have been directed towards the lower wall 38 , drifting smaller Na + ions with them. This is why we observe ion clusters of Na + and Cl − together drifted towards the lower wall, while, according to the electric field orientation, only Cl − ions could be found and Na + ions would transport to the upper wall. This is a nanoscale effect, and it has also been observed in similar works. For example, ion density profiles have revealed neighboring layers of ions/counterions being gathered near the positive-charged graphene wall due to electrostatic attractions between them 60 .
Further calculation of the local electric field strength inside the channel, in a 3D grid form, has shown that the field lines created by inter-ion interactions can move fluid particles randomly inside the channel. For stronger E fields, the electric field lines are oriented parallel to the employed external field, perpendicular to the walls direction, thus forcing ions to move, and, as a result, achieve better desalination. Another parameter affecting ion drift that depends on the application is ion concentration. For the cases studied in this work, it has been found that the model achieves ion separation for a range of c = 0.58-1.84 M, with the same electric field strength. This is important since there is no need to increase the applied electric field when dealing with a higher concentration solution.
A means of enhancing ion drift, with reduced power consumption, could be the controlled wall hydrophobicity. However, in the channel range investigated here, h = 3-21 nm, it has been found that the effect of wall wettability on ionic separation from water solutions is not vital for the proposed desalination model, as it is for systems size around 1nm 29,31 . Ion transport is conquered by the electric field and wall wettability has only a small effect on it. This is also contradicting to relevant experimental results on water in capillaries 63,64 . We attribute this behavior to the presence of the external electric field, which may cause redistribution of hydrogen bonds and alter viscosity behavior 33 , which has been found to reach a higher than bulk value upon the application of an electric field 65 .
The value of the diffusion coefficient inside a channel is decreasing as the dielectric friction increases. The value of the dielectric friction is analog to the number of ion charges in the solution 66 . The formation of ion clusters inside the channels are also expected to affect diffusion coefficients.
In smaller channels (e.g., h = 3 nm) strong confinement effects impose anisotropy in D values, with D z component being significantly smaller compared to D x and D y . Calculated values of the parallel to the wall component, D || , decrease as the electric field increases. This can be attributed to the fact that, as Na + and Cl − ions are drifting towards the walls, they also drag water molecules into their hydrated shells, and this has a primitive effect on total D, as has been also noticed 53 .
For larger channels, the diffusion coefficient has the tendency to approach the bulk water value. However, the presence of ions and the applied electric field suggest that non-linear phenomena might happen. Wall wettability has a barely noticeable effect on D values.

Conclusions
The present paper reveals that the ion behavior mechanism inside water solutions is multifactorial. Molecular Dynamics simulations have shown that the electric field strength, for values E = 0.0-1.0 V/nm, wall wettability strength, from strongly hydrophobic to strongly hydrophilic, ion concentration, from c ion = 0.58-1.84 M, and the channel height, which spans over a range of h = 3-21 nm, are of major importance. Ion presence inside the channel, along with water molecules, form ion clusters and/or hydrated ions and ion separation towards the walls is hindered. For higher electric field strength values, there exists clear ion drift to the walls, as internal energy barriers are overcome. The ratio of wall/fluid interaction may be significant only in smaller nanochannels, but, in general, it does not affect ion separation at the scale investigated here. As long as the diffusion coefficients are concerned, calculated values over a wide range of system conditions have been shown. Diffusion transport presents strong anisotropy in confined channels (smaller component in the z-dimension compared to x-and y-), and this is pronounced in smaller electric field strengths.
To elevate the proposed simulation scheme, a future challenge would be the nano-or micro-fabrication of the proposed architecture.

Data and code availability
Data and codes that support the findings of this study are available from the corresponding author upon reasonable request.