Nernst–Planck equation

The time dependent form of the Nernst–Planck equation is a conservation of mass equation used to describe the motion of a charged chemical species in a fluid medium. It extends Fick's law of diffusion for the case where the diffusing particles are also moved with respect to the fluid by electrostatic forces:[1][2] It is named after Walther Nernst and Max Planck.

Equation

It describes the flux of ions under the influence of both an ionic concentration gradient ∇c and an electric field E = −∇A/t.

Where J is the diffusion flux density, t is time, D is the diffusivity of the chemical species, c is the concentration of the species, z is the valence of ionic species, e is the elementary charge, kB is the Boltzmann constant, T is the temperature, is velocity of fluid, is the electric potential, is the magnetic vector potential.

If the diffusing particles are themselves charged they are influenced by the electric field. Hence the Nernst–Planck equation is applied in describing the ion-exchange kinetics in soils.[3]

Setting time derivatives to zero, and the fluid velocity to zero (only the ion species moves),

In the static electromagnetic conditions, one obtains the steady state Nernst–Planck equation

Finally, in units of mol/(m2·s) and the gas constant R, one obtains the more familiar form:[4][5]

where F is the Faraday constant equal to NAe.

gollark: Fearsome.
gollark: I might have to release apioforms from the beecloud.
gollark: It must comfort you to think so.
gollark: > There is burgeoning interest in designing AI-basedsystems to assist humans in designing computing systems,including tools that automatically generate computer code.The most notable of these comes in the form of the first self-described ‘AI pair programmer’, GitHub Copilot, a languagemodel trained over open-source GitHub code. However, codeoften contains bugs—and so, given the vast quantity of unvettedcode that Copilot has processed, it is certain that the languagemodel will have learned from exploitable, buggy code. Thisraises concerns on the security of Copilot’s code contributions.In this work, we systematically investigate the prevalence andconditions that can cause GitHub Copilot to recommend insecurecode. To perform this analysis we prompt Copilot to generatecode in scenarios relevant to high-risk CWEs (e.g. those fromMITRE’s “Top 25” list). We explore Copilot’s performance onthree distinct code generation axes—examining how it performsgiven diversity of weaknesses, diversity of prompts, and diversityof domains. In total, we produce 89 different scenarios forCopilot to complete, producing 1,692 programs. Of these, wefound approximately 40 % to be vulnerable.Index Terms—Cybersecurity, AI, code generation, CWE
gollark: https://arxiv.org/pdf/2108.09293.pdf

See also

Notes

  1. Kirby, B. J. (2010). Micro- and Nanoscale Fluid Mechanics: Transport in Microfluidic Devices: Chapter 11: Species and Charge Transport.
  2. Probstein, R. (1994). Physicochemical Hydrodynamics.
  3. Sparks, D. L. (1988). Kinetics of Soil Chemical Processes. Academic Press, New York. pp. 101ff.
  4. Hille, B. (1992). Ionic Channels of Excitable Membranes (2nd ed.). Sunderland, MA: Sinauer. p. 267.
  5. Hille, B. (1992). Ionic Channels of Excitable Membranes (3rd ed.). Sunderland, MA: Sinauer. p. 318.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.