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

MeMC: A package for Monte Carlo simulations of spherical shells

간접 관련 필름·전자재료 · (18) VENT(방수통기 부품) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)(11) 배리어 필름

기본 정보

저자
  1. Vipin Agrawal — Nordita, KTH Royal Institute of Technology and Stockholm University, Roslagstullsbacken 23, 10691 Stockholm, Sweden|||Department of Physics, Stockholm university, Stockholm,Sweden.
  2. Vikash Pandey — Nordita, KTH Royal Institute of Technology and Stockholm University, Roslagstullsbacken 23, 10691 Stockholm, Sweden
  3. Hanna Kylhammar — KTH Royal Institute of Technology, Sweden
  4. Apurba Dev — Department of Electrical Engineering, The Angström Laboratory, Uppsala University, Uppsala, Sweden.|||Department of Applied Physics, School of Engineering Sciences, KTH Royal Institute of Technology, Stockholm, Sweden.
  5. Dhrubaditya Mitra — Nordita, KTH Royal Institute of Technology and Stockholm University, Roslagstullsbacken 23, 10691 Stockholm, Sweden
DOI
10.21105/joss.04305
저널
The Journal of Open Source Software
발행년도
2022
발행기관
Open Journals
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.21105/joss.04305
토픽
Composite Material Mechanics
OpenAlex ID
W4283447172

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막), (11) 배리어 필름
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Monte Carlo simulation, elastic shells, membrane, Young's modulus, bending rigidity
판단 근거
이 논문은 탄성 껍질(elastic shells) 및 막(membrane)의 물리적 특성을 시뮬레이션하는 소프트웨어 패키지에 관한 연구입니다. 이는 코오롱인더스트리의 수소연료전지용 분리막(5, 6)이나 방수통기용 멤브레인(18)의 기계적 물성 및 구조적 안정성을 모델링하는 데 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
고분자 막(membrane) 소재의 탄성 계수, 굽힘 강성 및 열적 변동에 따른 구조적 안정성을 예측하는 수치 해석 모델로 활용 가능합니다.
평가 입력
본문 28,992자

초록

The MeMC is an open-source software package for Monte Carlo simulation of elastic shells.It is designed as a tool to interpret the force-distance data generated by indentation of biological nano-vesicles by atomic force microscopes.The code is written in c++ and python.The code is customizable -new modules can be added in a straightforward manner.

본문 28,992자

본문 펼치기
DOI: [10.21105/joss.04305](https://doi.org/10.21105/joss.04305) Software - [Review](https://github.com/openjournals/joss-reviews/issues/4305) - [Repository](https://github.com/vipinagrawal25/MeMC) - [Archive](https://doi.org/10.5281/zenodo.6671531) Editor: [Frederick](https://fboehm.us) Boehm Reviewers: - [@victorapm](https://github.com/victorapm) - [@mgiardino](https://github.com/mgiardino) Submitted: 31 March 2022 Published: 25 June 2022 License Authors of papers retain copyright and release the work under a Creative Commons Attribution 4.0 International License (CC [BY](https://creativecommons.org/licenses/by/4.0/) 4.0). ## MeMC: A package for Monte Carlo simulations of spherical shells Vipin Agrawal 1,2 , Vikash Pandey 1 , Hanna Kylhammar 3 , Apurba Dev 4,5 , and Dhrubaditya Mitra 1 1 Nordita, KTH Royal Institute of Technology and Stockholm University, Roslagstullsbacken 23, 10691 Stockholm, Sweden. 2 Department of Physics, Stockholm University, Stockholm, Sweden. 3 KTH Royal Institute of Technology, Sweden. 4 Department of Electrical Engineering, The Angstrom Laboratory, Uppsala University, Uppsala, Sweden. 5 Department of Applied Physics, School of Engineering Sciences, KTH Royal Institute of Technology, Stockholm, Sweden. #### Summary The MeMC is an open-source software package for Monte Carlo simulation of elastic shells. It is designed as a tool to interpret the force-distance data generated by indentation of biological nano-vesicles by atomic force microscopes. The code is written in c++ and python. The code is customizable - new modules can be added in a straightforward manner. #### Statement of need and purpose of software Micro and nano vesicles, both natural and synthetic, play a crucial role in biology and medicine. The physical properties of these vesicles play an important role in their biological functions (Phillips et al., 2012). Hence it is important to be able to measure their elastic constants, in particular the Young’s modulus and the bending rigidity. One way to measure the elastic constants of biological objects, e.g., a red blood cell (RBC), is to poke them with an atomic force microscope (AFM) to obtain a force-distance curve. Then we must model the biological object as an elastic material and by fitting this model to the experimental force-distance curve estimate the parameters of the elastic model, i.e., the elastic constants. As an example, consider a force-distance curve obtained by AFM measurement of a RBC. The RBC is modeled as a linear elastic material with a Young’s modulus, _Y_ 3d. Typically a Hertzian model of elastic bodies in contact (Landau & Lifshitz, 1970, sec. 9) is used to measure _Y_ 3d. Nano vesicles differ from (micro-meter scale) cells in two important ways 1. The nano-vesicles are much smaller hence thermal fluctuations may effectively renormalize the elastic coefficients (Košmrlj & Nelson, 2017 ; Paulose et al., 2012). 2. Cell membranes are strongly coupled to an underlying cytoskeleton. Hence they may be modeled by a solid body (Lim HW et al., 2002) but nano-vesicles must be modeled as liquid filled elastic membranes. Hence, to be able to interpret the force-distance curve of nano-vesicles, we need to solve for the elastic response of a thermally fluctuating elastic shell. There are commercial packages, e.g., COMSOL (Inc., 2020), to calculate the force-distance curve of solid bodies and closed membranes with fluids inside under the action of external forces but to the best of our knowledge there is no package that includes thermal effects. Monte Carlo simulations of elastic membranes, that includes thermal fluctuations, have been done for more than three decades (Auth & Gompper, 2005; Bowick et al., 2001; Goetz et al., 1999; Paulose et al., 2012), see also (Gompper & Kroll, 2004) for a review. But to the best Agrawal et al. (2022). MeMC: A package for Monte Carlo simulations of spherical shells. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (74), 4305. [https://doi.org/10.21105/joss.04305.](https://doi.org/10.21105/joss.04305) 1 of our knowledge there is no open-source code available. The goal of this package is to fill this gap in open-source software. Our software is targeted towards physicists and biologists working in soft matter. #### Theoretical background Our model of nano-vesicles is an amorphous membrane enclosing an incompressible fluid(Vorselen et al., 2017). Unlike a solid ball, the force-distance relationship for such a model is linear for small deformation (Paulose et al., 2012; Vorselen et al., 2017), if we ignore thermal fluctuations. Ref. (Vorselen et al., 2017) uses a similar model, ignoring thermal fluctuations, to interpret AFM measurement of nano-vesicles. Let us consider a (three dimensional) material with Young’s modulus _Y_ 3d and Poisson’s ratio _σ_ 3d and make a membrane out of it. Then the bending modulus and the in-plane Young’s modulus is given by (Landau & Lifshitz, 1970, sec. 13 and 14) _<u>Y</u>_ <u>3d</u> _<u>h</u>_ <sup>3</sup> _B_ = and _Y_ = _Y_ 3d _h,_ (1) 12(1 _−_ _σ_ 3d <sup>2</sup> <sup>)</sup> where _h_ is the thickness of the membrane. This need not necessarily hold for biological membranes. Nevertheless consider a fluid enclosed in a solid membrane, as done in (Paulose et al., 2012). We consider an elastic energy _E_ [ _w,_ u] = _d_ <sup>2</sup> _x_ - _<u>B</u>_ - _∇_ <sup>2</sup> _w_ 2 �2 + _µu_ 2 _ij_ <sup>+</sup> <sup>_<u>λ</u>_</sup> 2 <sup>_u_</sup> _kk_ <sup>2</sup> <sup>_−_</sup> <sup>_pw_</sup> �2 + _µu_ 2 _ij_ <sup>+</sup> <sup>_<u>λ</u>_</sup> 2 - (2) _uij_ = <sup><u>1</u></sup> _<u>w</u>_ (3) 2 <sup>(</sup> <sup>_∂iuj_</sup> <sup>+</sup> <sup>_∂jui_</sup> <sup>+</sup> <sup>_∂iw∂jw_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_δij_</sup> _R_ <sup>_,_</sup> where _R_ is the radius of the spherical cell, _w_ is the out-of-plane deformation, and u is the in-plane deformation, _p_ is the pressure, _λ_ and _µ_ are the two in-plane Láme coefficients and _B_ is the bending modulus. The Láme coefficients are related to other elastic constant as follows (Landau & Lifshitz, 1970) _K_ = _λ_ + <sup><u>2</u></sup> 3 <sup><u>2</u></sup> _Y_ = <u>9</u> _<u>Kµ</u>_ _σ_ = <sup><u>1</u></sup> 3 <sup>_µ,_</sup> 3 _K_ + _µ_ <sup>_,_</sup> 2 <sup><u>1</u></sup> <u>3</u> _<u>K −</u>_ <u>2</u> _<u>µ</u>_ (4) 2 3 _K_ + _µ_ Here _K_ is the volume compressibility, _Y_ the Young’s modulus, and _σ_ the Poisson ratio. If we consider the material to be incompressible, _K_ _→∞_ and _σ_ = 1/2, then _Y_ = <sup>_<u>µ</u>_</sup> 3 <sup>_._</sup> Now there are two elastic constant, the bending rigidity _B_ and the Young’s modulus _Y_ . Consequently, there are two dimensionless numbers, the Föppl–von-Karman number FvK = <sup>_<u>Y R</u>_</sup> <sup>2</sup> (5) _B_ and the Elasto-Thermal number: ~~FvK~~ _,_ (6) ET = <sup>_<u>k</u>_</sup> <sup><u>B</u></sup> <sup>_<u>T</u>_</sup> _B_ _√_ where _k_ B is the Boltzmann constant, and _T_ is the temperature. Using values of _Y_ and _B_ from molecular dynamics simulations of lipid bilayers (Boek et al., 2005), _Y_ = 1 _._ 7N/m and _B_ = 5 _k_ B _T_ and _R_ = 100 nano meter, we have FvK _≈_ 0 _._ 3 _×_ 10 <sup>7</sup> which is close to the Föppl–von-Karman number for Graphene sheets and ET _≈_ 10 <sup>3</sup> . Agrawal et al. (2022). MeMC: A package for Monte Carlo simulations of spherical shells. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (74), 4305. [https://doi.org/10.21105/joss.04305.](https://doi.org/10.21105/joss.04305) 2 #### Numerical implementation Grid Following Ref. (Gompper & Kroll, 2004), we use a triangulated-network grid in the following manner. We start with _N_ randomly chosen points on a sphere . Then, we run a Monte Carlo simulation, with a Lennard-Jones (LJ) repelling potential, of these points moving on the surface. Once the surface Monte Carlo (SMC) has reached an equilibrium, we use the algorithm in Ref. (Caroli et al., 2009) to construct the Delaunay triangulation of these points. The connection between the points thus formed is kept unchanged. In the rest of this paper, we call this the _initial_ _configuration_ (Figure 1(A)). A different snapshot (Figure 1(B)) from the same equilibrium gives an equivalent but differently triangulated grid. An alternative is to use a regular grid (Buenemann & Lenz, 2008; Vliegenthart & Gompper, 2006). This is achieved by approximating the sphere with a geodesic polyhedron (Figure 1(C)). They are available from the _Meshzoo_ library (Schlömer, 2020). In this paper we use _N_ = 5120 for the random grid and _N_ = 5292 for the regular grid. # A B C Figure 1: Grid points on a sphere (A)Triangulated random points on a sphere. (B) Triangulated points on sphere after 60000 SMC iteration of the initial configuration shown in (A). (C) An example of regular grid. Energy The basic algorithm of Monte Carlo simulations is straightforward and well-known (see, e.g., Baumgärtner et al., 2013). We randomly choose a point on the grid and move it by a random amount. We calculate the change in energy due to this movement. We accept or reject the move by the standard Metropolis algorithm. In our code the energy has the following contributions _E_ = _E_ s + _E_ bend + _E_ bulk (7) where _E_ s is the contribution from stretching, _E_ bend is the contribution from bending, and _E_ bulk is the contribution from the bulk modulus. We describe each of these in turn. Stretching In the initial configuration, two neighboring points with coordinates _R_ i and _R_ j are connected by a bond of length _ℓ_ <sup>0</sup> ij <sup>.</sup> <sup>When</sup> <sup>the</sup> <sup>_i_</sup> <sup>-th</sup> <sup>point</sup> <sup>is</sup> <sup>moved</sup> <sup>all</sup> <sup>its</sup> <sup>bonds</sup> <sup>with</sup> <sup>the</sup> <sup>neighbors</sup> <sup>change</sup> from their initial length. We model each of these bonds by a harmonic spring and calculate the stretching energy by Agrawal et al. (2022). MeMC: A package for Monte Carlo simulations of spherical shells. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (74), 4305. [https://doi.org/10.21105/joss.04305.](https://doi.org/10.21105/joss.04305) 3 _E_ s = <sup><u>1</u></sup> 2 _i_ _j_ ( _i_ ) _<u>H</u>_ 2 _R_ ij _−_ _ℓ_ <sup>0</sup> ij �2 where (8) Rij _≡|R_ i _−_ _R_ j _|,_ and _H_ is the stretching coefficient. Here the notation _j_ ( _i_ ) denotes that the sum is over all the nearest neighbors of the _i_ -the point. The Láme coefficients and the Young’s modulus are given by (Seung & Nelson, 1988) _√_ _λ_ = _µ_ = <u>3</u> <u>2</u> 4 <sup>_H,_</sup> _Y_ = _~~√~~_ (9) 3 <sup>_H_</sup> Bending Figure 2: An example of triangulated mesh at the node _i_ . _α_ ij _, β_ ij are the angles opposite to the bond _ij_ . Shaded part is the Voronoi region of triangle _T_ defined by nodes ( _i, j_ _−_ 1 _, j_ ). Here, we consider that the triangle _T_ is acute. To calculate the bending contribution, we need to calculate the curvature. In the continuum limit, _N_ _→∞_, bending energy (Nelson et al., 2004) is: _E_ B = <sup>_<u>B</u>_</sup> 2 - ( _∇_ <sup>2</sup> R) <sup>2</sup> _dS,_ (10) where _∇_ <sup>2</sup> R is Laplacian of R on the surface of the sphere. A general introduction to discretization of Laplacian on a triangulated mesh is given in Refs.(Hege & Polthier, 2003; Itzykson, 1986). Laplacian on a 2D manifold embedded in R <sup>3</sup> is: L(R) = 2 _κ_ (R) ˆ _m_ (R) _,_ (11) where _κ_ (R) is the mean curvature, and _m_ ˆ (R) is the normal to the surface at R. Note that, _m_ ˆ (R) is a local property of a point P with coordinates R and it is not necessarily the outward normal of the closed surface. In the discrete form (Hege & Polthier, 2003; Meyer et al., 2003), L _i_ = <sup><u>1</u></sup> _Ai_ _j_ ( _i_ ) <u>12</u> <sup>[cot(</sup> <sup>_α_</sup> <sup>ij) + cot(</sup> <sup>_β_</sup> <sup>ij)] Rij</sup> (12) _Ai_ is the area of Voronoi dual cell at the node _i_, and _α_ ij _, β_ ij are the angles opposite to bond _ij_ as shown in Figure 2. Consider the triangle T in Figure 2 defined by its vertices ( _i, j −_ 1 _, j_ ). Agrawal et al. (2022). MeMC: A package for Monte Carlo simulations of spherical shells. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (74), 4305. [https://doi.org/10.21105/joss.04305.](https://doi.org/10.21105/joss.04305) 4 If T is non-obtuse its circumcenter lies within it, hence so does the Voronoi region. Let _A_ <sup>c</sup> be the area of shaded region in Figure 2 given by (Hege & Polthier, 2003; Meyer et al., 2003), _A_ <sup>c</sup> = <sup><u>1</u></sup> ij <sup>2</sup> <sup>cot(</sup> <sup>_α_</sup> <sup>ij) +</sup> <sup>_R_</sup> ij <sup>2</sup> - _._ (13) <sup><u>1</u></sup> _R_ ij <sup>2</sup> 8 ij <sup>2</sup> _−_ 1 <sup>cot(</sup> <sup>_β_</sup> <sup>ij</sup> <sup>_−_</sup> <sup>1)</sup> If there is an obtuse angle in triangle T, the Voronoi region is not necessarily enclosed by the triangle (Hege & Polthier, 2003). For such cases, instead of _A_ <sup>c</sup>, we use _A_ <sup>b</sup>, defined as (Hege & Polthier, 2003; Meyer et al., 2003): _,_ (14) _A_ <sup>b</sup> = - <u>area(T)</u> <u>areaarea2((TT))</u> _,,_ angle any otherof Tangleat i isisobtuse 4(T) _,_ any other angle is obtuse where area( _T_ ) = 0 _._ 5 _|_ Rij _×_ Rij _−_ 1 _|_ is the area of the triangle T. The area _Ai_ is obtained by summing up the contributions in Figure 2 from all the triangles in, e.g., the contribution from the triangle T is the shaded area. For a closed surface the bending energy must be calculated relative to the spontaneous curvature, i.e., its discretised form is _E_ bend = <sup>_<u>B</u>_</sup> 2 <sup>_Ai_</sup> <sup>(L</sup> <sup>_i −_</sup> <sup>_Cn_</sup> <sup>ˆ)2</sup> <sup>_._</sup> (15) where _C_ is the spontaneous curvature, for a sphere _C_ = 2/ _R_, where _R_ is radius of the sphere and _n_ ˆ is the outward normal to the surface. Hence not only the magnitude but also the vector nature of the surface Laplacian must be determined. For every triangle in the initial configuration, i.e., when all the points lie on the surface of a sphere, the outward unit normal can be calculated in a straightforward manner. For example, for the triangle T in Figure 2, it can be calculated by finding out the unit vector that points along Rij _−_ 1 _×_ Rij. Hence, at any time, if we access the points around the node i in counterclockwise manner when viewed from outside we are guaranteed to obtain the outward normal. We ensure this by sorting appropriately the points around every node in the initial configuration. As the connectivity of the mesh remains unchanged this property is preserved at all future times. To sort the neighbors around any node _i_, we rotate the coordinate system such that, the _z_ axis passes through the point i along the vector R _i_ . In this coordinate system we sort the neighbors by their azimuthal angle. Note that unlike Ref. (Gompper & Kroll, 2004) we do not incorporate self-avoidance. Bulk We assume that the liquid inside the vesicle is incompressible 1. This is implemented by adding a energy cost to the volume change. At any point, the total contribution to the bulk energy is �2 _−_ 1 _,_ (16) _E_ bulk = _K_ - _<u>V</u>_ _V_ 0 where _K_ is bulk modulus, _V_ is current volume, and _V_ 0 = (4/3) _πR_ <sup>3</sup> is the initial volume of the vesicle. As we move the point _i_ by a random amount, the change in bulk energy is �2 _,_ (17) ∆ _E_ bulk = 2 _K_ <sup><u>∆</u></sup> <sup>_<u>V</u>_</sup> <sup><u>(</u></sup> <sup>_<u>V</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>V</u>_</sup> <sup><u>0)</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>V</u>_</sup> <sup><u>0)</u></sup> + 0 <sup>2</sup> - <u>∆</u> _<u>V</u>_ _V_ 0 _V_ 0 <sup>2</sup> where ∆ _V_ is the change in volume due to the move. Since we update the position of only one node at a time, ∆ _V_ is equal to the change in volume of the tetrahedrons _V_ T, enclosed by all the neighboring triangles around node _i_ and center of the shell. Hence _V_ T _≡_ <sup><u>1</u></sup> 3 <sup>(</sup> <sup>_∇·_</sup> <sup>r)</sup> <sup>_V_</sup> <sup>T</sup> <sup>=</sup> <sup><u>1</u></sup> 3 <sup>(r</sup> <sup>_·_</sup> <sup>^n)</sup> <sup>_S_</sup> <sup>T</sup> <sup>_,_</sup> (18) where r is the position of the centroid and _S_ T is the surface area of the respective triangle. The first equality uses ( _∇·_ r) = 3 for a sphere, and the second equality is the result of Gauss divergence theorem. <u>1This</u> is different from assuming a semi-permeable membrane, as done in Ref. (Vorselen et al., 2017), in which case the liquid can flow in or out and the osmotic pressure of solutes decreases and increases accordingly. Agrawal et al. (2022). MeMC: A package for Monte Carlo simulations of spherical shells. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (74), 4305. [https://doi.org/10.21105/joss.04305.](https://doi.org/10.21105/joss.04305) 5 Sticking to a solid surface As a specific example of a nano-vesicle, we consider an exosome. We quote from Ref. (Pegtel & Gould, 2019) “Exosomes are small, single-membrane, secreted organelles of _∼_ 30 to _∼_ 200 nm in diameter that have the same topology as the cell and are enriched in selected proteins, lipids, nucleic acids, and glycoconjugates.” The exosomes that we consider here were collected from immortalized cell line and extracted following the procedures as described in Ref. (Cavallaro et al., 2019). To measure the force-distance curve it is necessary to fix an exosome on a transparent coverslip. This was done by electrostatic coupling to a PLL coated surface by incubating them at room temperature for one hour, see Ref (Cavallaro et al., 2019). As an illustration, in Figure 3, we show a typical experimental measurement of the height above a flat surface as measured by the AFM. After being stuck to the flat surface the free surface forms a spherical cap. To reproduce such experiments as closely as possibly we need to fix the vesicle to a flat surface. This is implemented by the Lennard-Jones potential: - _<u>σ</u>_ <u>w</u> _r_ �6 <sup>�</sup> (19) _V_ LJ( _r_ ) _≡_ 4 _ϵ_ w �� _<u>σ</u>_ <u>w</u> _r_ �12 _−_ What fraction of the vesicle is fixed to the flat surface is parametrized by the angle Θ0 (see Figure 3(B)) which is a parameter in our code. We choose a system of coordinates with its origin at the center of the vesicle and the _z_ axis pointing radially outward through the north pole. All the grid points on the surface whose polar angle is greater than Θ0 are selected such that the sticking potential acts only on them, see Figure 3(B). ### (A) (B) 0 _._ 25 ### (C) 0 _._ 00 0 _._ 0 0 _._ 5 1 _._ 0 1 _._ 5 2 _._ 0 Figure 3: (A) A colormap of the height as measured by the AFM. (B) Illustration of the vesicle stuck to a surface by an angle Θ0. (C) The height plotted along the line shown in (A). AFM tip To model the interaction between AFM tip and the vesicle, We model the shape of tip as paraboloid and we use only the repelling part of the Lennard-Jones potential: �12 (20) _V_ RLJ( _r_ ) _≡_ 4 _ϵ_ A - _<u>σ</u>_ <u>A</u> _r_ For every point on the vesicle, we calculate the shortest distance of this point to the paraboloid and use this distance as the argument of function _V_ RLJ in Equation 20. Agrawal et al. (2022). MeMC: A package for Monte Carlo simulations of spherical shells. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (74), 4305. [https://doi.org/10.21105/joss.04305.](https://doi.org/10.21105/joss.04305) 6 #### Dependencies The code requires the following: - A c++ compiler. We have tested the code against gnu g++ version 11.2.0 on x86_64 CPU. - Hdf5 libraries for reading and writing data. - Python version 3.8 with scipy,numpy, h5py and numpy-quaternion installed. - For three-dimensional visualization we use VisIt (Childs et al., 2012). #### Typical workflow and test We have tested our code in a LINUX operating system. We expect it to work without any problem in any similar environment. It may also work with WINDOWS although we have not tested this aspect. The github repository (Vipin et al., 2022) contains a file named README.md that contains instruction to install and run the code. In Figure 4 we show three typical snapshots from our code for three different position of the AFM tip. In the github repository, we also provide a subdirectory called Examples. By executing the shell script execute.sh in that directory the user can run the code (without the AFM tip and the bottom plate). It takes almost 30 minutes on Intel(R) Core(TM) i5-8265U CPU. The run produces a probability distribution function (PDF) of the total energy after 50 _,_ 000 monte carlo steps. By running gnuplot plot.gnu (this requires the software gnuplot) the user can compare the PDF obtained by their run with a PDF that we provide. ### (A) (B) (C) Figure 4: Representative snapshots from our code for three different positions (tz) of the AFM tip. The origin of our coordinate system is at the center of the undeformed sphere and the radius of the undeformed sphere is unity. The colormap shows the signed curvature (Equation 11; red(positive) and blue (negative). (A) tz = 1.05, (B) tz = 0.9, (C) tz = 0.75 We acknowledge the support of the Swedish Research Council Grant No. 638-2013-9243 and 2016-05225. The simulations were performed on resources provided by the Swedish National Infrastructure for Computing (SNIC) at PDC center for high performance computing. Agrawal et al. (2022). MeMC: A package for Monte Carlo simulations of spherical shells. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (74), 4305. [https://doi.org/10.21105/joss.04305.](https://doi.org/10.21105/joss.04305) 7 #### How to contribute The code is licensed under GPL-3.0 and hosted [here.](https://github.com/vipinagrawal25/MeMC) For any contribution, the developer can send a pull [request.](https://github.com/vipinagrawal25/MeMC/pulls) For any queries, the user should open an [issue](https://github.com/vipinagrawal25/MeMC/issues) on github. #### References Auth, T., & Gompper, G. (2005). Fluctuation spectrum of membranes with anchored linear and star polymers. _Physical_ _Review_ _E_, _72_ (3), 031904. [https://doi.org/10.1103/physreve.](https://doi.org/10.1103/physreve.72.031904) [72.031904](https://doi.org/10.1103/physreve.72.031904) Baumgärtner, A., Binder, K., Hansen, J.-P., Kalos, M., Kehr, K., Landau, D., Levesque, D., Müller-Krumbhaar, H., Rebbi, C., Saito, Y., & others. (2013). _Applications_ _of_ _the_ _monte_ _carlo_ _method_ _in_ _statistical_ _physics_ (Vol. 36). Springer Science & Business Media. Boek, E., Padding, J., Otter, W. K. den, & Briels, W. J. (2005). Mechanical properties of surfactant bilayer membranes from atomistic and coarse-grained molecular dynamics simulations. _The_ _Journal_ _of_ _Physical_ _Chemistry_ _B_, _109_ (42), 19851–19858. [https://doi.](https://doi.org/10.1021/jp054372b) [org/10.1021/jp054372b](https://doi.org/10.1021/jp054372b) Bowick, M. J., Cacciuto, A., Thorleifsson, G., & Travesset, A. (2001). Universality classes of self-avoiding fixed-connectivity membranes. _The_ _European_ _Physical_ _Journal_ _E_, _5_ (2), 149–160. [https://doi.org/10.1007/s101890170071](https://doi.org/10.1007/s101890170071) Buenemann, M., & Lenz, P. (2008). Elastic properties and mechanical stability of chiral and filled viral capsids. _Physical_ _Review_ _E_, _78_ (5), 051924. [https://doi.org/10.1103/physreve.](https://doi.org/10.1103/physreve.78.051924) [78.051924](https://doi.org/10.1103/physreve.78.051924) Caroli, M., Castro, P. M. M. de, Loriot, S., Rouiller, O., Teillaud, M., & Wormser, C. (2009). _Robust_ _and_ _efficient_ _delaunay_ _triangulations_ _of_ _points_ _on_ _or_ _close_ _to_ _a_ _sphere_ [PhD thesis, INRIA]. [https://doi.org/10.1007/978-3-642-13193-6_39](https://doi.org/10.1007/978-3-642-13193-6_39) Cavallaro, S., Horak, J., Hååg, P., Gupta, D., Stiller, C., Sahu, S. S., Gorgens, A., Gatty, H. K., Viktorsson, K., El Andaloussi, S., & others. (2019). Label-free surface protein profiling of extracellular vesicles by an electrokinetic sensor. _ACS_ _Sensors_, _4_ (5), 1399–1408. [https://doi.org/10.1021/acssensors.9b00418.s001](https://doi.org/10.1021/acssensors.9b00418.s001) Childs, H., Brugger, E., Whitlock, B., Meredith, J., Ahern, S., Pugmire, D., Biagas, K., Miller, M., Harrison, C., Weber, G. H., Krishnan, H., Fogal, T., Sanderson, A., Garth, C., Bethel, E. W., Camp, D., Rübel, O., Durant, M., Favre, J. M., & Navrátil, P. (2012). VisIt: An End-User Tool For Visualizing and Analyzing Very Large Data. In _High_ _Performance_ _Visualization–Enabling_ _Extreme-Scale_ _Scientific_ _Insight_ (pp. 357–372). Goetz, R., Gompper, G., & Lipowsky, R. (1999). Mobility and elasticity of self-assembled membranes. _Physical_ _Review_ _Letters_, _82_ (1), 221. [https://doi.org/10.1103/physrevlett.82.](https://doi.org/10.1103/physrevlett.82.221) [221](https://doi.org/10.1103/physrevlett.82.221) Gompper, G., & Kroll, D. M. (2004). Triangulated-surface models of fluctuating membranes. In D. Nelson, T. Piran, & S. Weinberg (Eds.), _Statistical_ _mechanics_ _of_ _membranes_ _and_ _surfaces_ (pp. 359–426). World Scientific. [https://doi.org/10.1142/9789812565518_0012](https://doi.org/10.1142/9789812565518_0012) Hege, H.-C., & Polthier, K. (2003). _Visualization_ _and_ _mathematics_ _III_ . Springer Science & Business Media. [https://doi.org/10.1007/978-3-662-05105-4](https://doi.org/10.1007/978-3-662-05105-4) Inc., C. (2020). _COMSOL_ . [http://www.comsol.com/products/multiphysics/](http://www.comsol.com/products/multiphysics/) Itzykson, C. (1986). In J. et al Abad (Ed.), _Proceedings_ _of_ _the_ _GIFT_ _seminar,_ _jaca_ _85_ (pp. 130–188). World Scientific Singapore. Agrawal et al. (2022). MeMC: A package for Monte Carlo simulations of spherical shells. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (74), 4305. [https://doi.org/10.21105/joss.04305.](https://doi.org/10.21105/joss.04305) 8 Košmrlj, A., & Nelson, D. R. (2017). Statistical mechanics of thin spherical shells. _Physical_ _Review_ _X_, _7_ (1), 011002. [https://doi.org/10.1103/physrevx.7.011002](https://doi.org/10.1103/physrevx.7.011002) Landau, L., & Lifshitz, E. (1970). _Theory_ _of_ _elasticity_ (Vol. 7). Pergamon Press Ltd. Lim HW, G., Wortis, M., & Mukhopadhyay, R. (2002). Stomatocyte–discocyte–echinocyte sequence of the human red blood cell: Evidence for the bilayer–couple hypothesis from membrane mechanics. _Proceedings of the National Academy of Sciences_, _99_ (26), 16766–16769. [https://doi.org/10.1073/pnas.202617299](https://doi.org/10.1073/pnas.202617299) Meyer, M., Desbrun, M., Schröder, P., & Barr, A. H. (2003). Discrete differential-geometry operators for triangulated 2-manifolds. In _Visualization_ _and_ _mathematics_ _III_ (pp. 35–57). Springer. [https://doi.org/10.1007/978-3-662-05105-4_2](https://doi.org/10.1007/978-3-662-05105-4_2) Nelson, D., Piran, T., & Weinberg, S. (2004). _Statistical_ _mechanics_ _of_ _membranes_ _and_ _surfaces_ . World Scientific. Paulose, J., Vliegenthart, G. A., Gompper, G., & Nelson, D. R. (2012). Fluctuating shells under pressure. _Proceedings_ _of_ _the_ _National_ _Academy_ _of_ _Sciences_, _109_ (48), 19551–19556. [https://doi.org/10.1073/pnas.1212268109](https://doi.org/10.1073/pnas.1212268109) Pegtel, D. M., & Gould, S. J. (2019). Exosomes. _Annual Review of Biochemistry_, _88_, 487–514. Phillips, R., Kondev, J., Theriot, J., Garcia, H. G., & Orme, N. (2012). _Physical_ _biology_ _of_ _the_ _cell_ . Garland Science. Schlömer, N. (2020). _Meshzoo_ . [https://github.com/meshpro/meshzoo/releases.](https://github.com/meshpro/meshzoo/releases) Seung, H. S., & Nelson, D. R. (1988). Defects in flexible membranes with crystalline order. _Physical_ _Review_ _A_, _38_ (2), 1005. [https://doi.org/10.1103/physreva.38.1005](https://doi.org/10.1103/physreva.38.1005) Vipin, A., Vikash, P., & Dhrubaditya, M. (2022). _MeMC:_ _A_ _package_ _for_ _monte-carlo_ _simula-_ _tions_ _of_ _spherical_ _shells_ . [https://github.com/vipinagrawal25/MeMC.](https://github.com/vipinagrawal25/MeMC) Vliegenthart, G. A., & Gompper, G. (2006). Mechanical deformation of spherical viruses with icosahedral symmetry. _Biophysical_ _Journal_, _91_ (3), 834–841. [https://doi.org/10.1529/](https://doi.org/10.1529/biophysj.106.081422) [biophysj.106.081422](https://doi.org/10.1529/biophysj.106.081422) Vorselen, D., MacKintosh, F. C., Roos, W. H., & Wuite, G. J. (2017). Competition between bending and internal pressure governs the mechanics of fluid nanovesicles. _Acs Nano_, _11_ (3), 2628–2636. [https://doi.org/10.1021/acsnano.6b07302](https://doi.org/10.1021/acsnano.6b07302) Agrawal et al. (2022). MeMC: A package for Monte Carlo simulations of spherical shells. _Journal_ _of_ _Open_ _Source_ _Software_, _7_ (74), 4305. [https://doi.org/10.21105/joss.04305.](https://doi.org/10.21105/joss.04305) 9

섹션 본문 47문단 · 12,591자

(제목 없음)

1The MeMC is an open-source software package for monte-carlo simulation of elastic shells. It is designed as a tool to interpret the force-distance data generated by indentation of biological nano-vesicles by atomic force microscopes. The code is written in c++ and python. The code is customizable -new modules can be added in a straightforward manner.

2Micro and nano vesicles, both natural and synthetic, play a crucial role in biology and medicine. The physical properties of these vesicles play an important role in their biological functions [1]. Hence it is important to be able to measure their elastic constants, in particular the Young's modulus and the bending rigidity. One way to measure the elastic constants of biological objects, e.g., a red blood cell (RBC), is to poke them with an atomic force microscope (AFM) to obtain a force-distance curve. Then we must model the biological object as an elastic material and by fitting this model to the experimental force-distance curve to estimate the parameters of the elastic model, i.e., the elastic constants. As an example, consider a force-distance curve obtained by AFM measurements of an RBC. The RBC is modeled as a linear elastic material with a Young's modulus, Y 3d . Typically a Hertzian model of elastic bodies in contact [2, section 9] is used to measure Y 3d . Nano vesicles differ from (micrometer scale) cells in two important ways 1. The nano-vesicles are much smaller hence thermal fluctuations may effectively renormalize the elastic coefficients [3,4].

32. Cell membranes are strongly coupled to an underlying cytoskelton. Hence they may be modeled by a solid body [5] but nano-vesicles must be modeled as liquid filled elastic membranes.

4Hence, to be able to interpret the force-distance curve of nano-vesicles, we need to solve for the elastic response of a thermally fluctuating elastic shell. There are commercial packages, e.g., COMSOL [6], to calculate the force-distance curve of solid bodies and closed membranes with fluids inside under the action of external forces but to the best of our knowledge there is no package that includes thermal effects, which are important in nano-vesicles. Monte-carlo simulations of elastic membranes, that does include thermal fluctuations, * dhruba.mitra@gmail.com have been done for more than three decades [3,[7][8][9], see also [10, for a review ]. But to the best of our knowledge there is no open-source code available. The goal of this package is to fill this gap in open-source software.

II. THEORETICAL BACKGROUND

5Our model of nano-vesicles is an homogeneous amorphous membrane enclosing an incompressible fluid [11]. Unlike a solid ball, the force-distance relationship for such a model is linear for small deformation [3,11] if we ignore thermal fluctuations. Ref. [11] uses a similar model, ignoring thermal fluctuations, to interpret AFM measurement of nano-vesicles.

6Let us consider a (three dimensional) material with Young's modulus Y 3d and Poisson's ratio σ 3d and make a membrane out of it. Then the bending modulus and the in-plane Young's modulus are [2, section 13 and 14]

7where h is the thickness of the membrane. This need not necessarily hold for biological membranes. Nevertheless consider a fluid enclosed by a solid membrane, as done in [3]. We consider an elastic energy of the form

8where w is the out-of-plane deformation of the shell, and u is the in-plane deformation, p is the pressure, λ and µ are the two in-plane Láme coefficients and B is the bending modulus. The Láme coefficients are related to other elastic constant in the following manner [2]

9Here K is the volume compressibility, Y the Young's modulus, and σ the Poisson ratio.

10If we consider the material to be incompressible, K → ∞ and σ = 1/2, then there are two elastic constant, the bending rigidity B and the Young's modulus Y . Consequently, there are two dimensionless numbers, the Föpplvon-Karman number

11and the Elasto-Thermal number:

12where R is the radius of the spherical shell. Using values of Y and B from molecular dynamics simulations of lipid bilayers [12], Y = 1.7N/m and B = 5k B T and R = 100 nano meter, we have FvK ≈ 0.3×10 7 which is close to the Föppl-von-Karman number for Graphene sheets and ET ≈ 10 3 .

A. Grid

13Following Ref. [10], we use a triangulated-network grid in the following manner. We start with N randomly chosen points on a sphere Fig. (1A). Then, we run a Monte-Carlo simulation, with a Lennard-Jones (LJ) repelling potential, of these points moving on the surface. Once the surface Monte-Carlo (SMC) has reached an equilibrium, we use the algorithm in Ref. [13] to construct the Delaunay triangulation of these points. The connection between the points thus formed is kept unchanged. In the rest of this paper we call this the initial configuration. A different snapshot from the same equilibrium gives an equivalent but differently triangulated grid.

14An alternative is to use a regular grid [14,15]. This is achieved by approximating the sphere with geodesic polyhedron [Fig. (1C)] . They can be generated using Meshzoo library [16]. In this paper we use N = 5120 for the random grid and N = 5292 for the regular grid.

B. Energy

15The basic algorithm of the Monte-Carlo simulations is straightforward and well-known [see, e.g., 17]. We randomly choose a point on the grid and move it by a random amount. We calculate the change in energy due to this movement. We accept or reject the move by the standard Metropolis algorithm. In our code the energy has the following contributions

16where E s is the contribution from stretching, E bend is the contribution from bending, and E bulk is the contribution from the bulk modulus. Below, we describe each one of them in turn.

Stretching

17In the initial configuration, two neighboring points with coordinates R i and R j are connected by a bond of length 0 ij . When the i-th point is moved, all its bonds with the neighbors change from their initial length. We − 1, j). Here, we consider that the triangle T is acute.

18model each of these bonds by a harmonic spring and calculate the stretching energy by

19Here the notation j(i) denotes that the sum is over all the nearest neighbors of the i-th point. The Láme coefficients (λ, µ) and the Young's modulus (Y ) are given by [18]

Bending

20To calculate the bending contribution, we need to calculate the curvature. In the continuum limit, i.e. N → ∞, bending energy [19] is:

21where R is the vector of a point on the surface of the sphere, ∇ 2 R is Laplacian of R on the surface of the sphere.

22A general introduction to discretization of Laplacian on a triangulated mesh is given in Refs. [20,21]. Laplacian on a 2D manifold embedded in R 3 is:

23where κ(R) is the mean curvature, andm(R) is the normal to the surface at R. Note that,m(R) is a local property of a point P with coordinates R and it is not necessarily the outward normal of the closed surface. In the discrete form [21,22],

24Here, A i is the area of Voronoi dual cell at the node i, and α ij , β ij are the angles opposite to bond ij as shown in Fig. (2). Consider the triangle T in Fig. (2) defined by its vertices (i, j − 1, j). If T is non-obtuse its circumcenter lies within it, hence so does the Voronoi region. Let A c be the area of shaded region in Fig. (2) given by [21,22],

25If there is an obtuse angle in triangle T, the Voronoi region is not necessarily enclosed by the triangle [21]. For such cases, instead of A c , we use A b , defined as [21,22]:

26, angle of T at i is obtuse

27, any other angle is obtuse ,

28where area(T ) = 0.5 |R ij × R ij−1 | is the area of the triangle T. The area A i is obtained by summing up the contributions from all the triangles in Fig. (2), e.g., the contribution from the triangle T is the shaded area. For a closed surface, the bending energy must be calculated relative to the spontaneous curvature, i.e., its discretised form is

29where C is the spontaneous curvature, for a sphere C = 2/R, where R is radius of the sphere andn is the outward normal to the surface. Hence not only the magnitude but also the vector nature of the surface Laplacian must be determined. For every triangle in the initial configuration, i.e., when all the points lie on the surface of a sphere, the outward unit normal can be calculated in a straightforward manner. For example, for the triangle T in Fig. (2) it can be calculated by finding out the unit vector that points along R ij−1 × R ij . Hence, at any time, if we access the points around the node i in counterclockwise manner when viewed from outside we are guaranteed to obtain the outward normal. We ensure this by sorting appropriately the points around every node in the initial configuration. As the connectivity of the mesh remains unchanged this property is preserved at all future times.

30To sort the neighbors around any node i, we rotate the coordinate system such that, the z axis passes through the point i along the vector R i . In this coordinate system we sort the neighbors by their azimuthal angle.

31Note that unlike Ref. [10] we do not incorporate selfavoidance.

Bulk

32We assume that the liquid inside the vesicle is incompressible [23]. This is implemented by adding a energy cost to the volume change. At any point, the total contribution to the bulk energy is

33where K L is bulk modulus, V is current volume, and V 0 is the undeformed initial volume of the vesicle. As we move the point i by a random amount, the change in bulk energy is

34where ∆V is the change in volume due to the move.

Pressure

35With addition of contribution from pressure difference from inside and outside the shell our code can also be used for pressurized shells.

36C. Sticking to a solid surface As a specific example of nano-vesicle, we consider an exosome. We quote from Ref. [24] " Exosomes are small, single-membrane, secreted organelles of ∼ 30 to ∼ 200 nm in diameter that have the same topology as the cell and are enriched in selected proteins, lipids, nucleic acids, and glycoconjugates. " The exosomes that we consider here were collected from immortalized cell line and extracted following the procedures as described in Ref. [25]. To measure the force-distance curve, it is necessary to fix an exosome on a transparent coverslip. This was done by electrostatic coupling to a PLL coated surface by incubating them at room temperature for one hour, see Ref [25]. As an illustration, in Fig. (3), we show a typical experimental measurement of the height above a flat surface as measured by the AFM. After being stuck to the flat surface the free surface forms a spherical cap. To reproduce such experiments as closely as possibly we need to fix the vesicle to a flat surface. This is implemented by the Lennard-Jones potential:

37What fraction of the vesicle is fixed to the flat surface is parametrized by the angle Θ 0 (see Fig. (3B)) which is a parameter in our code. We choose a system of coordinates with its origin at the center of the vesicle and the z axis pointing radially outward through the north pole. All the grid points on the surface whose polar angle is greater than Θ 0 are selected such that the sticking potential acts only on them, see Fig. (3B).

D. AFM tip

38To model the interaction between AFM tip and the vesicle, We model the shape of tip as paraboloid and we use only the repelling part of the Lennard-Jones potential:

39For every point on the vesicle we calculate the shortest distance of this point to the paraboloid and use this distance as the argument of function V RLJ in (18).

IV. DEPENDENCIES

40The code requires the following:

41• A c++ compiler. We have tested the code with gnu g++ version 11.2.0 on x86 64 CPU.

42• Hdf5 libraries for reading and writing data.

43• Python version 3.8 with scipy, numpy, h5py and numpy-quaternion installed.

44• For three-dimensional visualization we use VisIt [26].

V. TYPICAL WORKFLOW AND TEST

45We have tested our code in LINUX operating system. We expect it to work without any problem in any similar environment. It may also work with WINDOWS although we have not tested this aspect.

46The github repository [27] contains a a file named README.md that contains instructions to install and run the code. In Fig. (4) we show three typical snapshots from our code for three different positions of the AFM tip.

47In the github repository, we also provide a subdirectory called Examples. By executing the shell script execute.sh in that directory the user can run the code (without the AFM tip and the bottom plate). It takes almost 30 minutes on Intel(R) Core(TM) i5-8265U CPU. The run produces a probability distribution function (PDF) of the total energy after 50, 000 number of Montecarlo steps. By running gnuplot plot.gnu (this requires the software gnuplot) the user can compare the PDF obtained by their run with the PDF that we provide.

참고문헌 21건

  1. Robust and Efficient Delaunay Triangulations of Points on Or Close to a Sphere Lecture notes in computer science · Springer Science+Business Media · 2010 10.1007/978-3-642-13193-6_39
  2. Discrete Differential-Geometry Operators for Triangulated 2-Manifolds Mathematics and visualization · Springer Nature · 2003 10.1007/978-3-662-05105-4_2
  3. Mechanical Deformation of Spherical Viruses with Icosahedral Symmetry Biophysical Journal · Elsevier BV · 2006 10.1529/biophysj.106.081422
  4. Defects in flexible membranes with crystalline order Physical review. A, General physics · American Institute of Physics · 1988 10.1103/physreva.38.1005
  5. Fluctuation spectrum of membranes with anchored linear and star polymers Physical Review E · American Physical Society · 2005 10.1103/physreve.72.031904
  6. Mobility and Elasticity of Self-Assembled Membranes Physical Review Letters · American Physical Society · 1999 10.1103/physrevlett.82.221
  7. Stomatocyte–discocyte–echinocyte sequence of the human red blood cell: Evidence for the bilayer– couple hypothesis from membrane mechanics Proceedings of the National Academy of Sciences · National Academy of Sciences · 2002 10.1073/pnas.202617299
  8. Elastic properties and mechanical stability of chiral and filled viral capsids Physical Review E · American Physical Society · 2008 10.1103/physreve.78.051924
  9. Mechanical Properties of Surfactant Bilayer Membranes from Atomistic and Coarse-Grained Molecular Dynamics Simulations The Journal of Physical Chemistry B · American Chemical Society · 2005 10.1021/jp054372b
  10. Fluctuating shells under pressure Proceedings of the National Academy of Sciences · National Academy of Sciences · 2012 10.1073/pnas.1212268109
  11. Universality classes of self-avoiding fixed-connectivity membranes The European Physical Journal E · Springer Science+Business Media · 2001 10.1007/s101890170071
  12. TRIANGULATED-SURFACE MODELS OF FLUCTUATING MEMBRANES WORLD SCIENTIFIC eBooks · World Scientific · 2004 10.1142/9789812565518_0012
  13. Competition between Bending and Internal Pressure Governs the Mechanics of Fluid Nanovesicles ACS Nano · American Chemical Society · 2017 10.1021/acsnano.6b07302
  14. Statistical Mechanics of Thin Spherical Shells Physical Review X · American Physical Society · 2017 10.1103/physrevx.7.011002
  15. Visualization and Mathematics III Mathematics and visualization · Springer Nature · 2003 10.1007/978-3-662-05105-4
  16. Applications of the Monte Carlo Method in Statistical Physics Topics in current physics · Springer Nature · 1984 10.1007/978-3-642-96788-7
  17. Exosomes Annual Review of Biochemistry · Annual Reviews · 2019 10.1146/annurev-biochem-013118-111902
  18. Physical Biology of the Cell Garland Science eBooks · Garland Science · 2012 10.1201/9781134111589
  19. MeMC: A package for Monte Carlo simulations of spherical shells The Journal of Open Source Software · Open Journals · 2022 10.21105/joss.04305
  20. Statistical Mechanics of Membranes and Surfaces WORLD SCIENTIFIC eBooks · World Scientific · 2004 10.1142/5473
  21. VisIt: An End-User Tool for Visualizing and Analyzing Very Large Data OSTI OAI (U.S. Department of Energy Office of Scientific and Technical Information) · U.S. Department of Energy Office of Scientific and Technical Information · 2012