원시데이터 수집 시스템
선정목록으로

Custom flow in overdamped Brownian Dynamics

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Heras, Daniel de las
  2. Renner, Johannes
  3. Schmidt, Matthias
DOI
10.48550/arxiv.1812.02185
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1812.02185
토픽
Electrostatics and Colloid Interactions
OpenAlex ID
W6891855565

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

When an external field drives a colloidal system out of equilibrium, the ensuing colloidal response can be very complex and obtaining a detailed physical understanding often requires case-by-case considerations. In order to facilitate systematic analysis, here we present a general iterative scheme for the determination of the unique external force field that yields a prescribed inhomogeneous stationary or time-dependent flow in an overdamped Brownian many-body system. The computer simulation method is based on the exact one-body force balance equation and allows to specifically tailor both gradient and rotational velocity contributions, as well as to freely control the one-body density distribution. Hence compressibility of the flow field can be fully adjusted. The practical convergence to a unique external force field demonstrates the existence of a functional map from both velocity and density to external force field, as predicted by the power functional variational framework. In equilibrium, the method allows to find the conservative force field that generates a prescribed target density profile, and hence implements the Mermin-Evans classical density functional map from density distribution to external potential. The conceptual tools developed here enable one to gain detailed physical insight into complex flow behaviour, as we demonstrate in prototypical situations.

본문 67,728자

본문 펼치기
Custom flow in overdamped Brownian Dynamics Daniel de las Heras, <sup>1,</sup> <sup>_∗_</sup> Johannes Renner, <sup>1</sup> and Matthias Schmidt <sup>1,</sup> <sup>_†_</sup> 1 _Theoretische_ _Physik_ _II,_ _Physikalisches_ _Institut,_ _Universit¨at_ _Bayreuth,_ _D-95440_ _Bayreuth,_ _Germany_ (Dated: 5 August 2018, revised version: 12 October 2018) When an external field drives a colloidal system out of equilibrium, the ensuing colloidal response can be very complex and obtaining a detailed physical understanding often requires case-by-case considerations. In order to facilitate systematic analysis, here we present a general iterative scheme for the determination of the unique external force field that yields a prescribed inhomogeneous stationary or time-dependent flow in an overdamped Brownian many-body system. The computer simulation method is based on the exact one-body force balance equation and allows to specifically tailor both gradient and rotational velocity contributions, as well as to freely control the one-body density distribution. Hence compressibility of the flow field can be fully adjusted. The practical convergence to a unique external force field demonstrates the existence of a functional map from both velocity and density to external force field, as predicted by the power functional variational framework. In equilibrium, the method allows to find the conservative force field that generates a prescribed target density profile, and hence implements the Mermin-Evans classical density functional map from density distribution to external potential. The conceptual tools developed here enable one to gain detailed physical insight into complex flow behaviour, as we demonstrate in prototypical situations. I. INTRODUCTION The controlled application of an external field is a powerful means to drive colloidal systems of mesoscopic suspended particles out of equilibrium [1, 2]. The resulting complex interplay of the equilibrium properties of the system with the external perturbation is already present in Perrin’s pioneering work on colloidal sedimentation [3]. Gravitationally driven colloidal suspensions [4–6] remain to this day primary model systems for studying structure formation phenomena. There is a large spectrum of different types of further specific external influence on colloids, such as the response of charged colloids to external electric fields [7, 8], and magnetic field-induced transport of both diamagnetic and paramagnetic colloidal particles [9, 10] across a substrate, where the colloidal motion was recently analysed in terms of the powerful concept of topological protection against perturbation [11]. The external magnetic fields in these setups varied periodically in both space and time. Alternatively, exerting shear-like flow on colloidal dispersions provides in-depth insights into important effects in fundamental material science, such as shear thickening [12, 13] and glass formation [14]. Furthermore, optical tweezers form powerful and flexible tools for the generation of complex colloidal flow patterns [15–17]. In order to systematically study the response of a soft material to an external perturbation, one typically first fixes the external field and then studies the resulting colloidal motion under the effect of the field. Certainly, this concept is compatible with our understanding of a causal relationship between forces and the motion that they generate. If the external force field is static and conservative, _∗_ Email: delasheras.daniel@gmail.com _†_ Email: Matthias.Schmidt@uni-bayreuth.de then the system will in general reach a new equilibrium state. This response of a complex system to such an external influence might be highly non-trivial. As a result of the action of the external potential, the system will in general become spatially inhomogeneous. In seminal work, Mermin showed for quantum systems [18], as Evans subsequently did for the classical case [19], that a functional inversion of the relationship between external potential and one-body density distribution applies. Hence, reversing the above “causal” relationship, a unique mathematical map exists from the one-body density distribution to the corresponding external potential. This is an important and fundamental result of modern Statistical Physics, which generalizes Hohenberg and Kohn’s earlier result for quantum ground states [20]. The functional relationship forms the basis of classical density functional theory, which is used in practically all modern microscopic theoretical treatments of spatially inhomogeneous systems [21]. Once the external potential is specified, the Hamiltonian is known (the internal interactions remain unchanged) and hence _all_ equilibrium properties of the system are determined, and become functional dependent on the density distribution. In this work we address the functional map in nonequilibrium steady and time-dependent states in overdamped Brownian many-body systems. We first set the desired colloidal motion, as specified by both the velocity field (or, equivalently, the one-body current distribution) and the density profile, and then determine the specific external force field that creates the prescribed motion in steady state. We develop and validate a numerical iterative method that enables efficient and straightforward implementation of this task. That the map from motion to external force field exists and that it is unique follows formally from the power functional variational principle in general timedependent non-equilibrium [22]. The functional relation ship has not, however, been explicitly demonstrated in an actual many-body system. Here we provide the first such demonstration, both for steady states and for timedependent non-equilibrium. As a special case, we also apply the inversion method to equilibrium systems. Here it allows to find the specific conservative external force field that stabilizes a predefined density distribution. As flow is absent and kinetic energy contributions are trivial in equilibrium, this method also applies to inertial (i.e. Hamiltonian) systems. An alternative iterative numerical method that also implements the functional map in equilibrium is presented in Ref. [23]. The conceptual progress in demonstrating the nonequilibrium inversion map explicitly enables the practical solution to the problem of generating tailor-made flow in complex systems. In the method that we present, the sole requirement is, besides the ability to freely control the external force field, to be able to measure the internal one-body force density distribution. This is a readily available quantity in many-body simulations, and it is conceivably also accessible in experimental work. We envisage that tailoring freely flow on demand constitutes a powerful concept for the systematic study of non-equilibrium physics. Here we investigate as a concrete model problem, the task of collecting particles in a certain region of space via a potential trap. The system is initially a homogeneous fluid, and we (i) speed up the natural dynamics by a factor of 2 and (ii) demonstrate that any unwanted effects due to superimposed external flow (e.g. due to convection or sedimentation in the system) can be fully cancelled. The paper is organized as follows. In Sec. II we describe how we obtain the iterative method, based on the exact force balance relationship in overdamped Brownian dynamic, covering both non-equilibrium steady states and equilibrium. In Sec. III we present results for several model situations in which we custom-tailor the flow in a many-body system of repulsive particles. Sec. IV contains a discussion and provides some conclusions. Details about particle current sampling and convergence properties are given in the appendix. II. THEORY A. Dynamical one-body force balance We consider a system of _N_ interacting Brownian particles in the overdamped limit, where inertial effects are absent and we neglect hydrodynamic interactions. The one-body density distribution (“density profile”) at space point r and time _t_ is given by with _δ_ ( _·_ ) indicating the Dirac distribution, and r _i_ denoting the position of particle _i_ = 1 _. . . N_ . In the FokkerPlanck picture, the information required for carrying out the average is encoded in the many-body probability distribution Ψ( r <sup>_N_</sup> _, t_ ) of finding microstate r <sup>_N_</sup> _≡_ r 1 _. . ._ r _N_ at time _t_ . The average is then defined as _⟨·⟩_ = - _d_ r <sup>_N_</sup> _·_ Ψ( r <sup>_N_</sup> _, t_ ) _,_ (2) where the integral runs over configuration space, i.e. each r _i_ is integrated over the system volume. The time evolution of Ψ is determined by the Smoluchowski equation _∂_ Ψ _/∂t_ = _−_ <sup>�</sup> _i_ <sup>_∇i_</sup> <sup>_·_</sup> <sup>v</sup> <sup>_i_</sup> <sup>Ψ.</sup> <sup>Here</sup> <sup>the</sup> <sup>configuration</sup> <sup>space</sup> velocity v _i_ of particle _i_ is given on the many-body level by the instantaneous relation _γ_ v _i_ = _−kBT_ _∇i_ ln Ψ _, −∇iu_ ( r <sup>_N_</sup> ) + f ext( r _i, t_ ) _,_ (3) where _γ_ is the friction constant against the implicit solvent, _kB_ is the Boltzmann constant, _T_ denotes absolute temperature, _∇i_ is the partial derivative with respect to r _i_, the interparticle interaction potential is denoted by _u_ ( r <sup>_N_</sup> ), and f ext( r _, t_ ) is the external force field, which in general is position- and time-dependent. The three contributions on the right hand side of (3) correspond to thermal diffusion (first term), deterministic motion due to interparticle interactions (second term), and the externally imposed force (third term). This formulation of the dynamics is analogous to the Langevin picture, where instead of (2), the average is taken over a set of stochastic particle trajectories for which a random (position) noise provides the effects of thermal motion. The corresponding discretized version is readily implementable in Brownian Dynamics (BD) computer simulations (details of our implementation are given in Sec III). Note that the configuration space velocity v _i_ defined in (3) is different from the average over the fluctuating velocity over realization of the noise, as represented in BD simulations. We next supplement (1) by a corresponding one-body current distribution, defined as _,_ (4) J ( r _, t_ ) = �� _i_ _δ_ ( r _−_ r _i_ ) v _i_ _δ_ ( r _−_ r _i_ ) _,_ (1) where v _i_, at time _t_, is given via (3). We show in detail in appendix A how a forward-backward symmetrical time derivative of the particle positions can be used in BD to represent v _i_ in (4). The density distribution (1) and the current profile (4) are linked via the continuity equation, _<u>∂ρ</u>_ <u>(</u> <u>r</u> _<u>, t</u>_ <u>)</u> = _−∇·_ J ( r _, t_ ) _._ (5) _∂t_ The many-body coupling in (3) arises due to the presence of the internal interaction potential _u_ ( r <sup>_N_</sup> ). On the onebody level, it is hence natural to define a corresponding internal force density field via _ρ_ ( r _, t_ ) = �� _i_ _δ_ ( r _−_ r _i_ ) _∇iu_ ( r <sup>_N_</sup> ) _._ (6) where the angles denote a statistical average, the expression inside the angles is the microscopic density operator, �� F int( r _, t_ ) = _−_ _i_ Here contributions to the average occur due to two effects, namely (i) due to the bare value of the internal force field _−∇iu_ ( r <sup>_N_</sup> ), but also (ii) due to the probability of finding particle _i_ at the considered space point r, as measured by the delta function. Averages such as (6) hence constitute microscopically resolved _force_ _densities_ . By multiplying (3) with _δ_ ( r _−_ r _i_ ), summing over _i_, averaging according to (2), and identifying the one-body fields (1), (4), and (6), it is straightforward to show that _γ_ J = _−kBT_ _∇ρ_ + F int + _ρ_ f ext _,_ (7) which we use as a basis for the non-equilibrium inversion procedure. Defining the microscopic velocity profile v ( r _, t_ ) simply as the ratio between current profile and density profile, v = J _/ρ,_ (8) allows us to rewrite (7), after division by the density profile _ρ_, as _γ_ v = _−kBT_ _∇_ ln _ρ_ + f int + f ext _._ (9) Here the internal force field f int is defined as the internal force density (6) normalized with the density profile, i.e. f int( r _, t_ ) _≡_ F int( r _, t_ ) _/ρ_ ( r _, t_ ). BD computer simulations allow straightforward access to the individual contributions to the force balance relationship (9). Sampling the density profile is straightforward either using the traditional counting method or more advanced techniques [24, 25]. The ideal (diffusive) force field _−kBT_ _∇_ ln _ρ_ is readily obtained by (numerical) differentiation of the density profile. The internal force density field F int can be sampled as an average over BD realizations of the time evolution, or as an average over time when investigating steady states; note that in BD one has direct access to the internal force on the manybody level, _−∇iu_ ( r <sup>_N_</sup> ) in (6). In typical applications, the external force field f ext( r _, t_ ) is prescribed and _ρ_ ( r _, t_ ) and v ( r _, t_ ) emerge as a result of the coupled many-body dynamics. In the following, we address the inverse problem of prescribing _ρ_ and v a priory and calculating the required form of f ext that makes these fields stationary, such that the prescribed field values are identical to the true dynamical averages of density (1) and velocity (4), (8). B. Inversion in nonequilibrium steady states Let _ρ_ ( r ) and v ( r ) be the predefined stationary (i.e. time-independent) “target” profiles for density and velocity. In order to represent a valid steady state, the resulting target current profile _ρ_ v, cf. (8), must be divergencefree, _∇· ρ_ v = 0, which follows from (5) and represents a necessary condition on the allowed set of target functions _ρ_, v . The external force field f ext( r ) that makes the target profiles stationary is obtained from first rearranging (9) as f ext = _kBT_ _∇_ ln _ρ −_ f int + _γ_ v _,_ (10) where the internal force field, f int( r ) = F int( r ) _/ρ_ ( r ), is the only unknown quantity on the right hand side, as _ρ_ and v are known input quantities. Here F int( r ) is from (6) in steady state. In order to determine f int, and hence f ext via (10), we proceed in two steps. First we present a fixed-point iterative scheme to solve (10), in which the _k_ -th iteration step is defined via where _V_ = - _d_ r is the system volume, and _ϵ_ 1 _, ϵ_ 2 _>_ 0 are small tolerance parameters. Numerical details of our implementation are given in Appendix B. We find that in practice the iteration method converges reliably in all cases considered; results are shown below in Sec. III. That a solution exists for f ext and that it is unique are nontrivial properties of our scheme. We expect existence and uniqueness to hold, however, based on the power functional variational framework [22], which is a novel approach for the statistical description of the dynamics of many-body systems. The central object of power functional theory (PFT) is a “free power” functional _Rt_ [ _ρ,_ J ] of the one-body density and current or analogously, viz. (8), of the density and the velocity field. _Rt_ has units of energy per time (power) and plays a role ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>=</sup> <sup>_kBT_</sup> <sup>_∇_</sup> <sup>ln</sup> <sup>_ρ −_</sup> <sup>f</sup> <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> f ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> + _γ_ v _,_ (11) where the targets, _ρ_ ( r ) and v ( r ), are kept fixed for all steps _k_ . Here f int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> = F <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> _/ρ_, where F int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> is the internal force density sampled in the previous iteration step, _k −_ 1. Data for F <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> was obtained from BD sam pling under the prescribed external force field f ext <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> . In order to initialize the iteration scheme, we set the external force field at step _k_ = 0 simply as int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> = F <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> _/ρ_, where F int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> f ext <sup>(0)</sup> <sup>=</sup> <sup>_kBT_</sup> <sup>_∇_</sup> <sup>ln</sup> <sup>_ρ_</sup> <sup>+</sup> <sup>_γ_</sup> <sup>v</sup> <sup>_,_</sup> (12) which is the exact external force field for the case of an ideal gas. Prescribing (12) allows to sample F <sup>(0)</sup> int <sup>in</sup> <sup>BD,</sup> and then use f int <sup>(0)</sup> <sup>as</sup> <sup>the</sup> <sup>required</sup> <sup>input</sup> <sup>for</sup> <sup>iteration</sup> <sup>step</sup> _k_ = 1 in (11). This completes the description the functional inversion. At each iteration step we also sample both the onebody density and one-body current profiles, _ρ_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> and J <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ; details on how to sample the current in BD are provided in Appendix A. As a criterion for judging the eventual convergence of _f_ ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>to</sup> <sup>the</sup> <sup>real</sup> <sup>external</sup> <sup>force</sup> <sup>field</sup> <sup>that</sup> makes the target density and current profiles stationary, i.e. the solution of (10), we use the difference between the target and the sampled profiles at step _k_, i.e., �2 _/V_ _< ϵ_ 1 _,_ (13) ∆ _ρ_ = ∆ _J_ = _d_ r _d_ r �� J ( r ) _−_ J ( _k_ )( r )��2 _/V_ _< ϵ_ 2 _,_ (14) - _ρ_ ( r ) _−_ _ρ_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ( r ) analogous to the free energy functional (as detailed below) in equilibrium. It consists of an ideal gas contribution ( _Wt_ <sup>id),</sup> <sup>an</sup> <sup>excess</sup> <sup>(over</sup> <sup>ideal</sup> <sup>gas)</sup> <sup>part</sup> <sup>due</sup> <sup>to</sup> <sup>the</sup> internal interactions ( _Wt_ <sup>exc</sup> ) and an external power ( _Xt_ ) contribution, according to _Rt_ = _Wt_ <sup>id</sup> <sup>+</sup> <sup>_W_</sup> <sup>exc</sup> _t_ _−_ _Xt_ . _t_ <sup>id</sup> <sup>+</sup> <sup>_W_</sup> <sup>exc</sup> _t_ contribution, according to _Rt_ = _Wt_ <sup>id</sup> <sup>+</sup> <sup>_W_</sup> <sup>exc</sup> _t_ _−_ _Xt_ . PFT implies that f int is a unique functional of density and current distributions, or equivalently of density and velocity profile. In particular, f int can be expressed as a functional derivative of the intrinsic excess (over ideal gas) free power functional _Wt_ <sup>exc</sup> [ _ρ,_ J ], as _t_ <sup>exc</sup> [ _ρ,_ J ], as f int([ _ρ,_ v ] _,_ r _, t_ ) = _−_ <sup>_<u>δW</u>_</sup> <sup>exc</sup> _<u>t</u>_ <u>[</u> _<u>ρ,</u>_ <u>J</u> <u>]</u> _,_ (15) _δ_ J ( r _, t_ ) conservative, gradient form, f ext( r ) = _−∇v_ ext( r ), where _v_ ext is the external potential energy. Clearly, there is no dependence on time, and, as we show, one only needs to carry out equilibrium averages. Hence the method also applies to Hamiltonian systems, as the kinetic contributions are trivial. In equilibrium we can simplify (10) to obtain f ext = _kBT_ _∇_ ln _ρ −_ f int _._ (18) which constitutes an explicit expression for the specific external force field that generates the given target profile _ρ_ in equilibrium. As it is the case in nonequilibrium steady state, the internal force is unknown, but it can be found iteratively. The iteration step is where the density distribution _ρ_ is kept fixed upon the variation, at fixed time _t_ . Typically, one would split further into adiabatic and superadiabatic contributions, _Wt_ <sup>exc</sup> = _F_ <sup>˙</sup> exc[ _ρ_ ]+ _Pt_ <sup>exc</sup> [ _ρ,_ J ], where _F_ ˙exc[ _ρ_ ] is the time derivative of the equilibrium excess (over ideal gas) Helmholtz free energy functional, and _Pt_ <sup>exc</sup> [ _ρ,_ J ] is the superadiabatic contribution, which describes the genuine nonequilibrium effects. This splitting offers great advantages in terms of the classification of the different types of forces that occur, but it is not required for our present purposes. We rather work directly with f int. Recall that this is directly accessible via Eq. (6) in BD simulations. The fact that f int is generated from a current-density functional, via functional differentiation (15), implies that the force field itself is a functional of density and current (or velocity profile). Hence (15) constitutes a unique map from density and velocity to the internal force field, f int( r ) = f int([ _ρ,_ v ] _,_ r _, t_ ) _,_ (16) where the right hand side is the force field functional (15) evaluated at the target profiles _ρ_ and v ; the left hand side is the corresponding (hitherto unknown) specific form of the internal force on the left hand side of (10). Hence by inserting (15) into (10) we obtain the explicit form f ext = _kBT_ _∇_ ln _ρ −_ f int[ _ρ,_ v ] + _γ_ v _,_ (17) with the iteration procedure (11) and (12) being a practical scheme for evaluating the right hand side. Note that (17) is an explicit expression for f ext; no hidden dependence on f ext occurs on the right hand side. Recall that from (15), the internal force field depends solely on the “kinematic” fields _ρ_ and v, but not on the external force field. This completes the proof. Before presenting results, we revisit the equilibrium case. C. Inversion in equilibrium In equilibrium, the velocity profile is identically zero, and we therefore can simply set the target v ( r ) _≡_ 0 and prescribe _ρ_ ( r ) in order to find the corresponding external force field f ext( r ). The external force field is necessary of ext <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>r</sup> <sup>) =</sup> <sup>_kBT_</sup> <sup>_∇_</sup> <sup>ln</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>r</sup> <sup>)</sup> <sup>_−_</sup> <sup>f</sup> <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> f ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> ( r ) _._ (19) and the external force is initialized with the exact solution of an ideal gas, f ext <sup>(0)(</sup> <sup>r</sup> <sup>) =</sup> <sup>_kBT_</sup> <sup>_∇_</sup> <sup>ln</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>r</sup> <sup>)</sup> <sup>_,_</sup> (20) We then sample f int <sup>(0)</sup> We then sample f int <sup>(0)</sup> <sup>in</sup> <sup>equilibrium,</sup> <sup>under</sup> <sup>the</sup> <sup>external</sup> force f ext <sup>(0),</sup> <sup>and</sup> <sup>then</sup> <sup>iterate,</sup> <sup>on</sup> <sup>the</sup> <sup>basis</sup> <sup>of</sup> <sup>(19),</sup> <sup>until</sup> the difference between the target and the sampled density profiles is small, cf. (13). As only the internal force and the density profiles are required, the sampling can be performed using BD or molecular dynamics simulations. If one wishes to use the Monte Carlo method, then one needs the actual value of the potential _v_ ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>instead of the</sup> force, f ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>=</sup> <sup>_−∇v_</sup> ext <sup>(</sup> <sup>_k_</sup> <sup>).</sup> <sup>In</sup> <sup>systems</sup> <sup>that</sup> <sup>effectively</sup> <sup>depend</sup> on only one coordinate, say _x_, the potential at each iteration can be easily obtained from the internal force profile, by performing a one-dimensional spatial integral ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>=</sup> <sup>_−∇v_</sup> ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _v_ ext <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>) =</sup> <sup>_−kBT_</sup> <sup>ln</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>_x_</sup> <sup>) +</sup> _dxf_ int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> ( _x_ ) _._ (21) In two- and three-dimensional systems a line integral or, more generally, the use of an inverse operator _∇_ <sup>_−_</sup> <sup>1</sup> is required to obtain the potential from the force field. Hence the situation is similar to the one addressed in modern “force sampling” methods that yield the density profile [24, 25]. That the method converges to a unique external potential is guaranteed by the Mermin-Evans functional map from density profile to external potential [18, 19]. In particular, the internal force field is obtained as a functional derivative of the excess free energy functional via f int([ _ρ_ ] _,_ r ) = _−∇_ <sup>_<u>δF</u>_</sup> <sup><u>exc[</u></sup> <sup>_<u>ρ</u>_</sup> <sup><u>]</u></sup> (22) _δρ_ ( r ) <sup>_._</sup> Inserting this into (18) yields f ext = _kBT_ ln _ρ_ + _∇_ <sup>_<u>δF</u>_</sup> <sup><u>exc[</u></sup> <sup>_<u>ρ</u>_</sup> <sup><u>]</u></sup> _,_ (23) _δρ_ which is an explicit expression for the external force field, given _ρ_ as an input, in analogy to the nonequilibrium case, (15) and (17). For completeness, and briefly, (23) is formally obtained from the more general (15) and (17) by observing that in equilibrium _δWt_ <sup>exc</sup> _/δ_ J = _δF_ <sup>˙</sup> exc _/δ_ J, by observing that in equilibrium _δWt_ <sup>exc</sup> _/δ_ J = _δF_ <sup>˙</sup> exc _/δ_ J, where _F_ <sup>˙</sup> exc = - _d_ rJ _· ∇δF_ exc _/δρ_, cf. [22]. where _F_ <sup>˙</sup> exc = - _d_ rJ _· ∇δF_ exc _/δρ_, cf. [22]. We next clarify the relationship to the method of Ref. [23]. Note that at any step in the iteration, given the external force field f ext <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup>, the internal force field may be written as f int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> = _kBT_ _∇_ ln( _ρ_ <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> ) _−_ f ext <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> ext <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> _,_ (24) where _t_ <sup>_′_</sup> cg <sup>indicates</sup> <sup>the</sup> <sup>time</sup> <sup>step</sup> <sup>previous</sup> <sup>to</sup> <sup>_t_</sup> <sup>cg.</sup> The iteration method proceeds forward in time. In order to correctly account for memory effects, the manybody dynamics evolves according to continuous, valid trajectories over the entire time-dependent dynamics. In the BD simulations, this requires to start a new coarsegraining time step using the many-body configuration(s) obtained at the end of previous coarse-graining time step. At the end of the process, the entire field f ext( r _, t_ ) is known, and as consistency check, can be input into a “bare” non-steady BD run, in order to validate that the targets _ρ_ ( r _, t_ ) and v ( r _, t_ ) are met during the entire course of time. III. RESULTS In the following we demonstrate that the straightforward application of the method allows to cast new light on fundamental physical effects by studying a twodimensional model fluid of Brownian particles interacting via the common Weeks-Chandler-Anderson potential [26], i.e. a purely repulsive, truncated-and-shifted Lennard-Jones (LJ) pair potential [26], in terms of the density distribution _ρ_ <sup>(</sup> <sup>_k−_</sup> <sup>1)(</sup> <sup>r</sup> <sup>)</sup> at equilibrium with that external force. Then Eq. (19) may be written as the change in the force, along the iterative procedure, ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−_</sup> <sup>f</sup> <sup>(</sup> ext <sup>_k−_</sup> <sup>1)</sup> f ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>(</sup> ext <sup>_k−_</sup> <sup>1)</sup> = _kBT_ _∇_ ln( _ρ/ρ_ <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> ) _,_ (25) that vanishes when the target density is achieved, _ρ_ = _ρ_ <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> . The integration of (25), to get the change in external potential, and the linear expansion ln( _ρ/ρ_ <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> ) = _−_ ( _ρ_ <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> _−_ _ρ_ ) _/ρ_ + _. . ._ (26) give precisely the method used in Ref. [23]. D. Inversion in time-dependent nonequilibrium In order to perform the inversion in time-dependent nonequilibrium, we carry out the procedure of Sec. II B at a discretized sequence of (coarse-graining) times _t_ cg during the time evolution. The method propagates the system forward in time, in sync with the target time evolution. At each coarse-graining time step the required external force field is obtained (via iteration) such that the prescribed target density _ρ_ ( r _, t_ cg) and velocity field v ( r _, t_ cg) are identical to their respective values in the target time evolution of the system. We interpolate linearly the values for the external force field between two consecutive times, which we find sufficient for the test cases presented below. In detail, at each coarse-graining time step _t_ cg we iterate the value of the external field according to (29) - _<u>σ</u>_ �12 _−_ _r_ _φ_ ( _r_ ) = - �� _<u>σ</u>_ 4 _ϵ_ _r_ 4 _ϵ_ �� _<u>σr</u>_ �12 _−_ - _<u>σr</u>_ �6 + 41 - if _r_ _< rc_ 0 otherwise, ext <sup>(</sup> <sup>_k_</sup> <sup>)(</sup> <sup>r</sup> <sup>_, t_</sup> <sup>cg) =</sup> <sup>_kBT_</sup> <sup>_∇ρ_</sup> <sup>(</sup> <sup>r</sup> <sup>_, t_</sup> <sup>cg)</sup> <sup>_−_</sup> <sup>f</sup> <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> f ext <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> ( r _, t_ cg) + _γ_ v ( r _, t_ cg) _,_ (27) where _ρ_ ( r _, t_ ) and v ( r _, t_ ) are the target fields, which enter via their values at time _t_ cg. The time _t_ cg is kept fixed under the iteration _k_ _→_ _k_ + 1 described by (27). For the first time step we initialize the external force using the exact ideal gas solution, Eq. (12). For the subsequent time steps we initialize the iterative scheme using the solution of the previous time step: f ext <sup>(0)</sup> <sup>_′_</sup> cg <sup>)</sup> <sup>_,_</sup> (28) ext <sup>(0)(</sup> <sup>r</sup> <sup>_, t_</sup> <sup>cg) =</sup> <sup>f</sup> <sup>ext(</sup> <sup>r</sup> <sup>_, t′_</sup> where the parameters _ϵ_ and _σ_ set the energy and length scales, respectively, and _r_ indicates the center-center distance of the particle pair. The cutoff distance _rc_ = 2 <sup>1</sup> <sup>_/_</sup> <sup>6</sup> _σ_ is located at the minimum of the standard LJ potential, and hence the interaction is purely repulsive. The particles are in a square box of length _L_ with periodic boundary conditions along both directions. Using the standard Euler algorithm, the Langevin equation of motion is integrated in time via r _i_ ( _t_ + ∆ _t_ ) = r _i_ ( _t_ ) + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _γ_ <sup>[</sup> <sup>_−∇iu_</sup> <sup>(</sup> <sup>r</sup> <sup>_N_</sup> <sup>) +</sup> <sup>f</sup> <sup>ext(</sup> <sup>r</sup> <sup>_i, t_</sup> <sup>)] +</sup> <sup>_η_</sup> <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_,_</sup> (30) where _η_ _i_ is a delta-correlated Gaussian random displacement with standard deviation ~~�~~ 2∆ _tkBT/γ_ in accor dance with the fluctuation-dissipation theorem. Here, ∆ _t_ is the integration time step that we set to ∆ _t/τ_ = 10 <sup>_−_</sup> <sup>4</sup> with _τ_ = _σ_ <sup>2</sup> _γ/ϵ_ the unit of time; the friction constant is set to _γ_ = 1. A. Effective one-dimensional system A considerably large class of nonequilibrium situations is effectively of one-dimensional nature, where both the density profile and the current distribution depend only on a single coordinate, say _x_, and the flow direction is along the _x_ -axis (i.e. with no shear motion occurring). Then the steady state condition reduces to the requirement of the current being constant, J ( _x_ ) = _J_ 0 e _x_, where _J_ 0 = const and e _x_ is the unit vector in the _x_ -direction. Hence from (8) the velocity and the density profile possess a reciprocal relationship: _v_ ( _x_ ) = _J_ 0 _/ρ_ ( _x_ ). We first study such an effective one-dimensional problem with _N_ = 30 particles in a square simulation box of side length _L/σ_ = 10. We choose the target density profile to contain a single nontrivial Fourier component, that modulates the homogeneous fluid, _ρ_ ( _x_ ) = _c_ 1 sin <sup>2</sup> ( _πx/L_ ) + _c_ 2 _,_ (31) with _c_ 1 _σ_ <sup>2</sup> = 0 _._ 12 and _c_ 2 _σ_ <sup>2</sup> = 0 _._ 24 such that - _drρ_ ( r ) = _N_ . See the density profile in Fig. 1(a). The temperature is set to _kBT/ϵ_ = 1. Our inversion method facilitates the study of fundamental aspects of driven systems. As an illustrative example, we construct a family of steady states that share the same density profile, cf. Eq. (31), but possess different values _J_ 0 of the (constant) target current. In Appendix B we describe numerical details of the concrete implementation of the iterative procedure. We show in Fig. 1 the external force field required to make the target density profile (31) stationary, for a range of different values of _J_ 0. In Figs 1(a) and (b) the final converged density and current profiles are shown; these are indeed (numerically) identical to their targets. We consider four steady states with values of the current _J_ 0 _στ_ = 0 (equilibrium), 0 _._ 1 _,_ 0 _._ 5 and 1. The specific external force field required to produce each such steady states is depicted in Fig. 1(c) for all four cases. The force fields can be represented as the sum of a spatially constant force offset plus a conservative potential contribution. The constant offset drives the particle flow and it can be calculated as the spatial average of the total external force field. The conservative term generates the density modulation. As expected, in the equilibrium case ( _J_ 0 = 0) only the conservative term is present, and we find that the spatial average of the total external force vanishes. In Fig. 1(d) we show the external potential _v_ ext( _x_ ) that generates the conservative force contribution. As a convention, we have introduced an (irrelevant) shift of the energy scale, such that _v_ ext = 0 at _x_ = 0 for all four cases. As expected, in equilibrium _v_ ext possesses a minimum at the location of the density peak. It turns out that in order to keep the density profile unchanged upon imposing the constant flux of particles in the _x_ -direction, the external potential changes its shape very substantially. Both the minimum and the maximum move towards smaller values of _x_, i.e. against the direction of the flow, upon increasing _J_ 0 (note the periodicity in _x_ ). Clearly, this behaviour is a direct consequence of keeping the density profile constant while increasing the flow through this density “landscape”. In order to rationalize this effect, consider first the case where an external potential generates the the density profile, Fig. 1(a), in equilibrium. If we now switch on a an additional constant (positive) external force contribution, the result will be a particle flow and the density profile will respond by shifting the density peak in the direction of the flow (results not shown). In our system the density profile is rather kept constant and the shifting of the density peak needs to be cancelled by the external conservative field, which hence necessarily develops the observed shift in the direction opposite to the flow. Besides quantifying the positional shift, cf. Fig. 1(d), we also observe a marked increase in the amplitude of the external potential contribution; hence stronger “ordering” forces, _−∇v_ ext, are required in order to overcome the homogenizing effect of the flow. B. Two-dimensional system The iteration scheme is general and it is not restricted to effectively one-dimensional inhomogeneous systems. As a proof of concept, we construct the external force field that makes a two-dimensional density profile stationary. We choose the target velocity field to be _._ (32) v ( _x, y_ ) = - _d_ 1 sin(2 _πy/L_ ) _d_ 2 with _d_ 1 _, d_ 2 = const. As above, a companion target density profile cannot be chosen arbitrarily, since the resulting current must satisfy the steady state condition, _∇· ρ_ v = 0. Given that (32) is divergence-free, _∇·_ v = 0, the steady state condition reduces to v _· ∇ρ_ = 0. As an immediate first choice, we set _ρ_ ( _x, y_ ) = _N/L_ <sup>2</sup> = const _,_ (33) which trivially satisfies the steady state condition. Note that (32) and (33) represent a conceptually highly interesting case of a homogeneous, bulk-fluid-like one-body density distribution, with “superimposed” flow (32) that is fully inhomogeneous on microscopic length scales. Furthermore, as a second choice together with (32), we consider the target density profile _ρ_ ( _x, y_ ) = _N/L_ <sup>2</sup> + _a_ 0 cos (2 _πx/L_ + _Y_ ) _,_ (34) _Y_ = _d_ 0 cos(2 _πy/L_ ) _,_ (35) such that _Y_ ( _y_ ) is a spatially modulating function of the given form, _a_ 0 is a constant such that _a_ 0 _<_ _N/L_ <sup>2</sup> (in order to ensure that the _ρ_ _>_ 0, and _d_ 0 = _d_ 1 _/d_ 2. Since _∇ρ_ is perpendicular to v for all r, it is straightforward to show that (32), (34) and (35) also define a valid steady state. For both target states (constant and non-constant density profiles) we use the inversion method to find the external force fields that renders a stationary situation. We set _N_ = 30, _L/σ_ = 10, and _kBT/ϵ_ = 0 _._ 5. For the target velocity profile, we set _d_ 1 = _d_ 2 = _τ/σ_ in Eq. (32). For the inhomogeneous density profile we set _a_ 0 = 0 _._ 5 _N/L_ <sup>2</sup> in Eq. (34). The two Cartesian components of the velocity profile, obtained after 40 BD iterations of the inversion method, are shown in Fig. 2 (a1) and (a2). The sampled velocity and density profiles coincide with the target profiles FIG. 1. One-body density (a) and current profiles (b), external force field (b), and external potential (c) as a function of the _x_ -coordinate in a system with target density profile _ρ_ ( _x_ ) = _c_ 1 sin <sup>2</sup> ( _πx/L_ ) + _c_ 2 with _c_ 1 _σ_ <sup>2</sup> = 0 _._ 12 and _c_ 2 _σ_ <sup>2</sup> = 0 _._ 24 after _k_ = 40 iterations. The inset in (a) shows the difference between target and sampled density profiles. Results are shown for different values of the target current: _J_ 0 _στ_ = 1 (blue dotted line), _J_ 0 _στ_ = 0 _._ 5 (orange dashed line), _J_ 0 _στ_ = 0 _._ 1 (violet solid line), and _J_ 0 _στ_ = 0 (green dot-dashed line), which is in equilibrium. The inset in (b) is a close-view for _J_ 0 _στ_ = 0 _._ 5. Two-dimensional system with _N_ = 30 particles in a periodic box of side _L/σ_ = 10 at _kBT/ϵ_ = 1. Data obtained by averaging over 25 BD realizations (MC realizations in equilibrium). within the imposed numerical accuracy. The sampled density profiles are shown in Fig. 2(b1) (constant density profile) and Fig. 2(c1) (inhomogeneous density profile). The corresponding external force fields are presented in panels (b2-b3) and (c2-c3) of Fig. 2. For the case of constant density, the _x_ component of the external force field _f_ ext <sup>(</sup> <sup>_x_</sup> <sup>), see Fig. 2(b2), is very similar</sup> in shape and magnitude to the _x_ component of the velocity profile, Fig. 2(a1). Given that the friction coefficient is set to _γ_ = 1, this means that _f_ ext <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>generates</sup> <sup>the</sup> <sup>flow</sup> in the _x_ direction (there are small differences between _f_ ext <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>and</sup> <sup>_γvx_</sup> <sup>related</sup> <sup>to</sup> <sup>the</sup> <sup>_x_</sup> <sup>component</sup> <sup>of</sup> <sup>the</sup> <sup>internal</sup> force field). The _y_ component of the external force field, shown in Fig. 2(b3), shows a small deviation from an average value which is consistent with the value of the flow in _y_ . This deviation is expected, since we have imposed a constant density profile, and hence the external force has to balance the migration force [27, 28] that results from the shear field imposed by _vx_ . The _y_ component of the external force is inhomogeneous but the density profile is constant. Hence, the internal force must cancel the action of _f_ ext <sup>(</sup> <sup>_y_</sup> <sup>).</sup> <sup>This is a purely superadiabatic effect [29],</sup> which is completely neglected in the widely-used dynamical density functional theory (DDFT) [30] which rather predicts internal forces to vanish for situations of constant density. Extended versions of DDFT have been recently proposed to try to overcome these limitations, see e.g. [31, 32]. The target velocity profile is effectively onedimensional, and the target density profile is constant. As a result the external force is also effectively onedimensional. This is not the case when the target density profile is inhomogeneous. Then the _x_ and _y_ components of the external force field depend on both coordinates, see Fig. 2, panels (c2) and (c3). Now the external force field generates the flow and also sustains the density gradient. Clearly, the required force field, which generates the fully inhomogeneous steady state, is very complex, and simple physical reasoning, such as we could rely on in the former two cases, is insufficient to obtain even a qualitative, let alone (semi-)quantitative rationalization of the occurring physics. C. Dynamic confinement While the above examples demonstrate custom flow for steady states, we next turn to its implementation for full (time-dependent) nonequilibrium situations, as laid out in Sec. II D. We hence aim to show that the concept is general and valid even for complex dynamics. As a prototypical situation, we address the time evolution of a system, which in its initial state is a homogeneous equilibrium fluid, (with no external field acting in this initial state). At time _t_ = 0 we switch on a conservative external field, which represents the potential trap shown Fig. 1 panels (c) and (d) for the equilibrium FIG. 2. _x−_ component (a1) and _y−_ component (a2) of the velocity profile sampled after _k_ = 40 iterations using BD simulations. (b1) Sampled density profile for the steady state with constant density profile. _x−_ (b2) and _y−_ (b3) components of the external force field that produces the steady state with constant density. (c1) Sampled density profile for the steady state with inhomogeneous density profile. _x−_ (c2) and _y−_ (c3) components of the external force field that generates the steady state with inhomogeneous density. In both steady states we set _N_ = 30, _L/σ_ = 10, and _kBT/ϵ_ = 0 _._ 5. The bin size is set to 0 _._ 05 _σ_ in both directions and the origin or coordinates is located in the middle of the box. Results are averages over 100 BD realizations. case (green dot-dashed-line). Hence, the external force induces migration of particles towards the center of the system, as shown in panels (a) of Fig. 3 for the density (a1) and the current (a2). The external field is static for _t_ _>_ 0, see panel (a3), and its influence evolves the system from the homogeneous state to a confined state that features a welldefined, peaked density modulation, Fig. 3(a1). After only few Brownian times, a new equilibrium state is reached. The particle current almost vanishes already at time _τ_ 4 _/τ_ = 2 _._ 2, see Fig. 3(a2). Using the time-dependent version of the custom flow method described in Sec. II D, we chose to determine the time- and position-dependent external force field, _f_ ext( _t, x_ ), that speeds up the dynamics of the system by a factor _α_ _>_ 1. That is, we find a system that evolves through the same temporal sequence of density profiles as those in Fig. 3(a), but doing so at a rate which _α_ times faster. Hence in the new “fast forward” system the density profile _ρα_ at time _t_ is the same as the density profile in the original system at time _αt_ . The current in the new system must be _α_ times the current in the old system due to the continuity equation. That is, in the new system: _ρα_ ( _t, x_ ) = _ρ_ ( _αt, x_ ) _,_ _Jα_ ( _t, x_ ) = _αJ_ ( _αt, x_ ) _._ (36) In order to find the external field that induces the desired target dynamics, we discretize the time evolution at intervals ∆ _t_ cg _/τ_ = 0 _._ 01, i.e. on a scale that is 10 <sup>2</sup> times larger than the time step of the BD simulation ∆ _t/τ_ = 10 <sup>_−_</sup> <sup>4</sup> . At each coarse-graining time _t_ cg we run an iterative process to find the desired external field at that time. We use a linear regression to approximate the external field at every time _t_ between two consecutive coarse-graining times. The imposed coarse-graining time is a good compromise between accuracy and computational time. Since the external field does not vary profusely during one time interval only a few iterations ( _<_ 10) are required at each _t_ cg. At each iteration we average over 10 <sup>6</sup> trajectories. Finally, we average the results over 50 independent simulation runs. The dynamics of the system with fast forward factor _α_ = 2 is shown in Fig. 3(b). The external field that is required to speed up the dynamics by the chosen factor _α_ = 2 is presented in Fig. 3(b3). As expected, _f_ ext is now a time dependent field, the amplitude of which decreases monotonically during the time evolution. In the limit _t_ _→∞_ the external field converges to that of the original system, since the final equilibrium state are required to be the same in both cases. In the Supplemental Material [33], we show a movie of the time evolution and the required external field in a system which moves three times faster ( _α_ = 3) than the original system. As a further example, we conceive a system in which the current is the same as in the original system (no speed up, _α_ = 1), except for a prescribed additive constant _J_ 0. As the divergence of the constant vanishes, it has no effect on the dynamics of the density distribution via the continuity equation. Hence the density profiles of both systems are the same at any time and the current profile in the new system is _J_ ( _t, x_ ) + _J_ 0, where _J_ ( _t, x_ ) is the original current. The required external field that produces such a dynamical evolution is shown in Fig. 3(c3), in which we have set _J_ 0 _στ_ = 0 _._ 5. The external force field is again time dependent. The extrema of the force field are shifted with respect to their original location in the case of the static force field. This was expected given our above results for the steady state, Fig. 1. The amplitude of the force and the magnitude of the shift vary in a nontrivial way in time, as a result of a delicate balance between memory effects and the amplitude of the density modulation. At _t_ _→∞_ the system reaches the same steady state as that shown in Fig. 1 (orange dashed line). IV. DISCUSSION AND CONCLUSIONS We have presented a numerical iterative method to systematically construct the specific form of the external force field which is required to drive a prescribed steady state in an overdamped Brownian many-body system. The same scheme can be used to find the conservative potential for which a given density profile is in thermo dynamic equilibrium. In equilibrium the method is not restricted to BD systems. An alternative approach has been previously developed for the equilibrium case [23] (also in quantum systems [34]). Although we have not studied the relative performance of the two methods systematically against each other, preliminary tests suggest that the current approach applied to equilibrium is both faster and more reliable. Whether the present method can or cannot be extended to quantum systems is an open and interesting question. In all cases that we have analysed so far, the iteration processes have reliably converged. Nevertheless, if the initial guess for the external force is very far from the actual force field, it might be necessary to improve the simple fixed-point iteration scheme presented here in order to avoid possible divergent trajectories (i.e. sequences of f ext <sup>(</sup> <sup>_k_</sup> <sup>)).</sup> <sup>Using</sup> <sup>e.g.</sup> <sup>Anderson</sup> <sup>acceleration-like</sup> methods should constitute a possible improvement of the method. Variations of the presented iterative scheme, such as e.g. defining f int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> = F <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> _/ρ_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> instead of such as e.g. defining f int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> = F <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> _/ρ_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> instead of f int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> = F <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> _/ρ_ in (11), also converge to the desired external force and might be useful in cases where convergence issues occur, which might be the case e.g. in the vicinity of dynamical phase transitions. As the method requires a discretization of the space coordinate, therefore yields a discretized external force field. The quality of the spatial discretization (e.g. size of the bins) is an important parameter of the method. Although we have shown only one- and twodimensional mono-component examples, the extension to three-dimensional systems and/or mixtures is straightforward. In all cases, whether time-dependent nonequilibrium, nonequilibrium steady state, or in equilibrium, the custom flow method requires to sample the internal force field. Therefore, the practical implementation for hardbody systems is not as straightforward as it is in the case of soft interparticle potentials. For steady-state hardbody systems it might be easier to extend the equilibrium approach of Ref. [23] to nonequilibrium conditions. The custom flow method allows complete control of the dynamics of a given system in both steady state and full nonequilibrium. Possible future applications include the investigation of time crystals [36, 37] in BD systems, removal of flow instabilities via the application of external fields in a controlled manner, and obtaining a better understanding of memory effects by e.g. a systematic analysis of the external fields required to speed up and/or slow down a given dynamical process. ACKNOWLEDGMENTS This work is supported by the German Research Foundation (DFG) via SCHM 2632/1-1. int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> = F <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> int <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> = F <sup>(</sup> int <sup>_k−_</sup> <sup>1)</sup> 0.36 0.33 0.3 0.27 0.24 0.36 0.33 0.3 0.27 0.24 0.36 0.33 0.3 0.27 0.24 0 2 4 6 8 10 x / σ 1x 0.2 0.8 τ4 (a1) (a2) (a3) density current external force 0.8 0.2 τ4 τ3 τ2 τ1 (a1) 0.1 0 -0.1 -0.2 0.2 τ4 τ1 0.4 0 -0.4 -0.8 0.8 2x 0.2 0.8 0.5τ4 (b1) (b2) 0.5τ1 (b1) (b2) 0.5τ1 (b3) 0.5τ4 (b1) 0.5τ1 0.5τ3 0.4 0 -0.4 -0.8 2.5 0.1 0.5τ4 0.5τ4 1x+J0 0.5τ3 0.5τ2 0.5τ1 τ4 τ3 τ2 τ1 (c1) (c2) τ4 (c3) 0 -0.1 -0.2 0.7 τ4 τ1 τ4 0 2 4 6 8 10 x / σ 2.1 1.7 1.3 0.9 τ1 0 2 4 6 8 10 x / σ 0.6 0.5 0.4 0.3 FIG. 3. Inversion in full nonequilibrium as demonstrated by dynamics of confinement. Density profile (left column), current profile (middle column), and external force field (right column) as a function of _x_ for three different situations. (a) Time evolution of the system, density (a1) and current (a2), after switching on a static external field (a3). At _t_ = 0 the system is in equilibrium with vanishing external field. Results at four times are shown: _τ_ 1 _/τ_ = 0 _._ 08, _τ_ 2 _/τ_ = 0 _._ 48, _τ_ 3 _/τ_ = 1 _._ 0, and _τ_ 4 _/τ_ = 2 _._ 2. At _τ_ 4 the system is near equilibrium with the applied external field (a3). Profiles are obtained by averaging over _∼_ 10 <sup>8</sup> different trajectories. In panels (b) we show a system that evolves following the same dynamics as in (a) but two times faster. The current (b2) is therefore twice as large as the current in the original system, and the required external field (b3) is time dependent. A movie showing a system that evolves three times faster is presented in the Supplemental Material [33]. Panels (c) show the time evolution in a system that reproduces the same dynamics as (a) but with a global motion towards the right (note that the spatial average of the current (c2) at any time is _J_ 0 _στ_ = 0 _._ 5). The required external field (c3) is time-dependent. The horizontal and vertical dashed lines in the plots of the external field are drawn to help the comparison between systems. In all cases we set _N_ = 30, _L/σ_ = 10, and _kBT/ϵ_ = 1 _._ 0. Appendix A: Sampling the current in Brownian dynamics simulations We briefly comment on three different methods to sample the one-body current J ( r ) in Brownian dynamics simulations. Method 1: Force balance equation . First, we propose here a new simple method to measure the current based on the exact one-body force density balance equation, Eq. (7). This equation provides an expression for J that can be used to directly sample the current. We need to sample: (i) the internal force density field F int as an average over time (in steady state) or over many realizations (in case of time dependent situations), and (ii) the density profile. Then, using the density profile one can calculate the thermal diffusive term _−kBT_ _∇ρ_ . Finally, the external force density field can either be calculated using the external force and the density profile ( F ext = _ρ_ f ext) or sampled directly during the simulation. Method 2: Numerical derivative of the position vector . The second method, proposed in Refs. [23, 35], is based on calculating the velocity of the _i_ th particle, v _i_ ( _t_ ), via the numerical central derivative of the position vector v _i_ ( _t_ ) = <sup><u>r</u></sup> <sup>_<u>i</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>+ ∆</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup><u>r</u></sup> <sup>_<u>i</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t −</u>_</sup> <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> _._ (A1) 2∆ _t_ Due to the stochastic nature of the motion it is crucial to use the central derivative to properly compute the velocity of the particles, Eq. (A1). Forward and backward derivatives give different results that are not consistent with the value of the current obtained by the alternative methods presented here. A spatially resolved average of v _i_, Eq. (A1), yields the one-body current profile: v _i_ ( _t_ ) _δ_ ( r _i_ ( _t_ ) _−_ r ) J ( r _, t_ ) = - _N_ _i_ =1 _,_ (A2) where _⟨·⟩_ indicates an average over either many different realizations or time in the case of a steady state. To sample v _i_ more efficiently it is convenient to rewrite Eq. (A1) as [35] v _i_ ( _t_ ) = <sup><u>∆</u></sup> <sup><u>r</u></sup> <sup>_<u>i</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t −</u>_</sup> <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> <sup><u>) + ∆</u></sup> <sup><u>r</u></sup> <sup>_<u>i</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> _,_ (A3) 2∆ _t_ where ∆ r _i_ ( _t_ ) = r _i_ ( _t_ +∆ _t_ ) _−_ r _i_ ( _t_ ). Plugging Eq. (30) into (A3) results in v _i_ ( _t_ ) = <sup><u>1</u></sup> _−∇iu_ ( r <sup>_N_</sup> ( _t −_ ∆ _t_ )) _−∇iu_ ( r <sup>_N_</sup> ( _t_ ))+ 2 _γ_ f ext( r _i, t −_ ∆ _t_ ) + f ext( r _i, t_ )] + <u>1</u> 2∆ _t_ <sup>[</sup> <sup>_η_</sup> <sup>_i_</sup> <sup>(</sup> <sup>_t −_</sup> <sup>∆</sup> <sup>_t_</sup> <sup>) +</sup> <sup>_η_</sup> <sup>_i_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)]</sup> <sup>_._</sup> (A4) The spatially resolved average of _η_ _i_ ( _t_ ) vanishes at any space point since _η_ _i_ is a gaussian random force, and therefore this average correlates the random force at time _t_ with the position at the same time _t_ . In contrast, it is important to realize that the spatially resolved average of _η_ _i_ ( _t −_ ∆ _t_ ) does not vanish in general, since it correlates the random force at time _t_ _−_ ∆ _t_ with the current position at time _t_ . Method 3: Continuity equation . The continuity equation, Eq. (5) provides an alternative route to compute the current in non-steady state situations, as shown in Ref. [23]. Having sampled the density profile at different times _t_ and _t_ <sup>_′_</sup>, we can compute the numerical time derivative of the density profile, which must be equal to the divergence of the current. In effectively onedimensional systems the result can be integrated in space and yields the one-body current profile (line integrals or other inversion methods are required in a higher dimensional space). This method yields the current profile up to an additive constant. If the actual value of the current at a given space point is known, then one can easily determine the missing additive constant. For instance, if the system is in contact with a hard wall the current at the hard wall must vanish. To use this method we need to sample _ρ_ at two times _t_ and _t_ <sup>_′_</sup> separated by a time interval ∆ _t_ . In our experience a value ∆ _t_ _≈_ 10 <sup>2</sup> ∆ _t_ with ∆ _t_ the time step of the BD simulation provides good results. We have checked the three methods presented above give the same one-body current profile within the inherent numerical accuracy of each procedure. Appendix B: Numerical details We provide details of our precise implementation of the iterative scheme. Each iteration step (11) of the nonequilibrium inversion method requires carrying out FIG. 4. One-body density profile (a), one-body current (b), and external force field (c) as a function of the _x_ -coordinate for different number of iterations, _k_, as indicate in the legend of (a). The target current is set to _J_ 0 _στ_ = 0 _._ 1. The target density profile is _ρ_ ( _x_ ) = _c_ 1 sin <sup>2</sup> ( _πx/L_ ) + _c_ 2 with _c_ 1 _σ_ <sup>2</sup> = 0 _._ 12 and _c_ 2 _σ_ <sup>2</sup> = 0 _._ 24, which is practically identical to the sampled density profile after 40 iterations (violet solid line). Twodimensional system with _N_ = 30 particles in a periodic box of side _L/σ_ = 10 at temperature _kBT/ϵ_ = 1. The data has been obtained by averaging over 25 BD realizations. The total simulation time of iteration _k_ of one BD realization is set to _τk/τ_ = _τ_ 02 <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>_/_</sup> <sup>3</sup>, with _τ_ 0 _/τ_ = 100. The bin size is ∆ _x/σ_ = 0 _._ 05. one BD simulation run for the given parameters and given external force field. Before acquiring the data, we let the system reach a steady state during 10 <sup>2</sup> _τ_ . Then, at each iteration _k_, we sample the internal force density during a given sampling time _τk_ . The sampling time has a direct impact on both the statistical quality of the sampled internal force field (which is required for the next iteration) as well as on the performance of the method. Instead of using the same sampling time at each iteration, we find it preferable to start with short simulation runs and increase the run length at every iteration. Hence, at iteration _k_, we fix the sampling simulation time _τk_ to _τk_ = _τ_ 02 <sup>(</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>_/_</sup> <sup>3</sup> _,_ (B1) i.e., we double the runlength every three iterations. The total time of the first iteration is set to _τ_ 0 _/τ_ = 100. Finally, we average over several (10 _−_ 100) realizations of the iteration scheme, Eq. (11), to improve the statistics. Fig. 4 illustrates the iterative process for the effectively one-dimensional system with target profile given by Eq. (31) and target current _J_ 0 _τσ_ = 0 _._ 1. Less than 10 iterations suffice to get a very good estimate of the external force, and after _k_ = 40 iterations the sampled density, and current profiles are almost indistinguishable from the corresponding target profiles. The results have been obtained by averaging over 25 BD realizations of the iterative scheme. We show in Fig. 5(a) the evolution of the error of the density and the current profile during [1] Hartmut L¨owen, “Colloidal dispersions in external fields: recent developments,” J. Phys. Condens. Matter 20, 404201 (2008). [2] A. Erbe, M. Zientara, L. Baraban, C. Kreidler, and P. Leiderer, “Various driving mechanisms for generating motion of colloidal particles,” J. Phys. Condens. Matter 20, 404215 (2008). [3] F. Perrin, Ann. Chem. Phys. 18, 5 (1909). [4] M. K¨oppl, P. Henseler, A. Erbe, P. Nielaba, and P. Lei derer, “Layer reduction in driven 2d-colloidal systems through microchannels,” Phys. Rev. Lett. 97, 208302 (2006). [5] Nikoleta B. Simeonova and Willem K. Kegel, “Gravity induced aging in glasses of colloidal hard spheres,” Phys. Rev. Lett. 93, 035701 (2004). [6] J´er´emie Palacci, C´ecile Cottin-Bizonne, Christophe Ybert, and Lyd´eric Bocquet, “Sedimentation and effective temperature of active colloidal suspensions,” Phys. Rev. Lett. 105, 088304 (2010). [7] Orlin D. Velev and Ketan H. Bhatt, “On-chip microma nipulation and assembly of colloidal particles by electric fields,” Soft Matter 2, 738 (2006). [8] Richard W. O’Brien and Lee R. White, “Electrophoretic mobility of a spherical colloidal particle,” J. Chem. Soc., Faraday Trans. 2 74, 1607 (1978). [9] Pietro Tierno, Ramanathan Muruganathan, and Thomas M. Fischer, “Viscoelasticity of dynamically selfassembled paramagnetic colloidal clusters,” Phys. Rev. Lett. 98, 028301 (2007). [10] Alexey Snezhko and Igor S. Aranson, “Magnetic manipu lation of self-assembled colloidal asters,” Nat. Mater. 10, 698 (2011). [11] Johannes Loehr, Michael Loenne, Adrian Ernst, Daniel de las Heras, and Thomas M Fischer, “Topological protection of multiparticle dissipative transport,” Nat. Commun. 7, 11745 (2016). [12] Jonathan Bender and Norman J. Wagner, “Reversible shear thickening in monodisperse and bidisperse colloidal dispersions,” J. Rheol. 40, 899 (1996). [13] Norman J Wagner and John F Brady, “Shear thickening the iterative process, cf. Eqs. (13) and (14). For the equilibrium situation of the effectively onedimensional system shown in Fig. 1 ( _J_ 0 = 0) we have used Monte Carlo simulations to implement the iterative scheme, cf. (19) and (21). For completeness, we also show the efficiency of the method in equilibrium in Fig. 5(b), where we plot the difference between the sampled and the error in the density profile as a function of the number of iterations and the number of Monte Carlo sweeps (MCS). Each MCS is an attempt to sequentially and individually move all the particles in the system. We find it convenient to increase the number of MCS during the iterative process. We begin with 10 <sup>4</sup> MCS at iteration _k_ = 1, and increase the number of MCS after every iteration such that it doubles every three iterations. Before acquiring data we equilibrate the system by running 10 <sup>4</sup> MCS. As in the non-equilibrium steady state case, we improve the statistics by averaging over 25 realizations. in colloidal dispersions,” Phys. Today 62, 27 (2009). [14] R. Besseling, Eric R. Weeks, A. B. Schofield, and W. C. K. Poon, “Three-dimensional imaging of colloidal glasses under steady shear,” Phys. Rev. Lett. 99, 028301 (2007). [15] David B. Ruffner and David G. Grier, “Optical forces and torques in nonuniform beams of light,” Phys. Rev. Lett. 108, 173602 (2012). [16] Bo Sun, Jiayi Lin, Ellis Darby, Alexander Y. Grosberg, and David G. Grier, “Brownian vortexes,” Phys. Rev. E 80, 010401 (2009). [17] Christoph Lutz, Markus Kollmann, and Clemens Bechinger, “Single-file diffusion of colloids in onedimensional channels,” Phys. Rev. Lett. 93, 026001 (2004). [18] N. David Mermin, “Thermal properties of the inhomoge neous electron gas,” Phys. Rev. 137, A1441 (1965). [19] R. Evans, “The nature of the liquid-vapour interface and other topics in the statistical mechanics of non-uniform, classical fluids,” Adv. Phys. 28, 143 (1979). [20] P. Hohenberg and W. Kohn, “Inhomogeneous electron gas,” Phys. Rev. 136, B864 (1964). [21] Robert Evans, Martin Oettel, Roland Roth, and Gerhard Kahl, “New developments in classical density functional theory,” J. Phys.: Condens. Matter 28, 240401 (2016). [22] Matthias Schmidt and Joseph M. Brader, “Power func tional theory for Brownian dynamics,” J. Chem. Phys. 138 (2013). [23] Andrea Fortini, Daniel de las Heras, Joseph M. Brader, and Matthias Schmidt, “Superadiabatic forces in Brownian many-body dynamics,” Phys. Rev. Lett. 113, 167801 (2014). [24] Daniel Borgis, Roland Assaraf, Benjamin Rotenberg, and Rodolphe Vuilleumier, “Computation of pair distribution functions and three-dimensional densities with a reduced variance principle,” Mol. Phys. 111, 3486 (2013). [25] Daniel de las Heras and Matthias Schmidt, “Better than counting: Density profiles from force sampling,” Phys. Rev. Lett. 120, 218001 (2018). FIG. 5. (a) Scaled error of the density profile ∆ _ρ_ <sup>_∗_</sup> = ∆ _ρL_ <sup>2</sup> _σ_ <sup>2</sup> (green circles) and of the current profile ∆ _J_ <sup>_∗_</sup> = ∆ _JL_ <sup>2</sup> _τ_ <sup>2</sup> (yellow squares) as a function of the iteration number _k_ (bottom axis) and the scaled simulation time of the iteration _τk/τ_ (upper axis) in non-equilibrium steady state using BD simulations. (b) Scaled error of the density profile ∆ _ρ_ <sup>_∗_</sup> = ∆ _ρL_ <sup>2</sup> _σ_ <sup>2</sup> as a function of the iteration number _k_ (bottom axis) and the number of Monte Carlo steps at iteration _τk/τ_ (upper axis) in equilibrium using MC simulations. In both panels, the data has been obtained by averaging over 25 realizations. Note the logarithmic scale of the vertical axis and of the upper horizontal axis. [26] John D. Weeks, David Chandler, and Hans C. Andersen, “Role of repulsive forces in determining the equilibrium structure of simple liquids,” J. Chem. Phys. 54, 5237 (1971). [27] David Leighton and Andreas Acrivos, “The shear induced migration of particles in concentrated suspensions,” J. Fluid Mech. 181, 415439 (1987). [28] Martin Frank, Douglas Anderson, Eric R. Weeks, and Jeffrey F. Morris, “Particle migration in pressure-driven flow of a Brownian suspension,” J. Fluid Mech. 493, 363378 (2003). [29] Nico C. X. Stuhlm¨uller, Tobias Eckert, Daniel de las Heras, and Matthias Schmidt, “Structural nonequilibrium forces in driven colloidal systems,” Phys. Rev. Lett. 121, 098002 (2018). [30] U. M. B. Marconi and P. Tarazona, “Dynamic density functional theory of fluids,” J. Chem. Phys. 110, 8032 (1999). [31] Joseph M. Brader and Matthias Kr¨uger, “Density profiles of a colloidal liquid at a wall under shear flow,” Mol. Phys. 109, 1029 (2011). [32] Alberto Scacchi, Matthias Kr¨uger, and Joseph M. Brader, “Driven colloidal fluids: construction of dynamical density functional theories from exactly solvable limits,” J. Phys. Condens. Matter 28, 244023 (2016). [33] See Supplemental Material for a movie with an example in time-dependent situations [34] M. Thiele, E. K. U. Gross, and S. K¨ummel, “Adiabatic approximation in nonperturbative time-dependent density-functional theory,” Phys. Rev. Lett. 100, 153004 (2008). [35] Philip Krinninger, Matthias Schmidt, and Joseph M. Brader, “Nonequilibrium phase behavior from minimization of free power dissipation,” Phys. Rev. Lett. 117, 208003 (2016). [36] J Zhang, PW Hess, A Kyprianidis, P Becker, A Lee, J Smith, G Pagano, I-D Potirniche, Andrew C Potter, A Vishwanath, <u>et</u> <u>al.,</u> “Observation of a discrete time crystal,” Nature 543, 217 (2017). [37] Roderich Moessner and SL Sondhi, “Equilibration and order in quantum floquet matter,” Nat. Phys. 13, 424 (2017).

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.