|
9 | 9 | In this model, bulk, carbon electrode, and full supercapacitor are simulated and their structures are represented as tridimensional set of inter-connected |
10 | 10 | discrete sites, separated by a lattice spacing, "a". |
11 | 11 |
|
12 | | -To execute the program, you have to launch it with an input file (lattice_gas.inpt): python3 3D_Lattice_SC.py. |
13 | | -You can find more informations about setting up the environment for CPU and GPU calculations in the manual software in Github page: |
| 12 | +To execute the program, you have to launch it with an input file: python3 LPC3D.py -i filename. |
| 13 | +You can find more informations about setting up the environment for CPU and GPU calculations in the manual software in Github. |
14 | 14 |
|
15 | 15 | The structure of the input file : |
16 | 16 |
|
|
29 | 29 | 12th line: |
30 | 30 | - no 12th line if equi=0 |
31 | 31 | - if equi=1: number of steps for the equilibration process (> Nstep) |
32 | | -13th line: number of blocks (> Nblocks) |
| 32 | +13th line: electrode nature (porous-carbon or particles) (> elec−nature) |
| 33 | +– if elec-nature is particles, give a xyz file for ”B” (bulk) and ”P” particles (> partcile file) |
| 34 | +14th line: number of blocks (> Nblocks) |
33 | 35 | - We divide the simulation lattice into blocks along the z-axis |
34 | 36 | PS: All blocks should have the same size |
35 | 37 | After this line, the uploaded files differ depending on the block nature. Block nature: bulk or electrode |
36 | 38 |
|
37 | 39 | ##################################### Bulk type simulations######################################### |
38 | 40 |
|
39 | 41 | if N blocks =1: |
40 | | -14th line: An empty line |
41 | | -15th line: block nature (> bulk) |
42 | | -16th line: xmin,xmax,ymin,ymax,zmin,zmax coordinates of the block |
43 | | -17th line: density of the bulk (> dens_bulk) |
44 | | -18th line: frequency of the bulk (in ppm) (> Nfreq) |
| 42 | +15th line: An empty line |
| 43 | +16th line: block nature (> bulk) |
| 44 | +17th line: xmin,xmax,ymin,ymax,zmin,zmax coordinates of the block |
| 45 | +18th line: density of the bulk (> dens_bulk) |
| 46 | +19th line: frequency of the bulk (in ppm) (> Nfreq) |
45 | 47 |
|
46 | 48 | ##################################### Electrode type simulations######################################### |
47 | 49 |
|
48 | 50 | if N blocks =1: |
49 | | -14th line: An empty line |
50 | | -15th line: block nature (> electrode) |
51 | | -16th line: electrode is filled with fluid or not? 0 if no, 1 if yes (> fielectrode) |
52 | | -17th line: xmin,xmax,ymin,ymax,zmin,zmax coordinates of the block |
53 | | -18th line: name of the file with pore size distribution (> namepsd) |
| 51 | +15th line: An empty line |
| 52 | +16th line: block nature (> electrode) |
| 53 | +17th line: electrode is filled with fluid or not? 0 if no, 1 if yes (> fielectrode) |
| 54 | +18th line: xmin,xmax,ymin,ymax,zmin,zmax coordinates of the block |
| 55 | +19th line: name of the file with pore size distribution (> namepsd) |
54 | 56 | The first column should be in ˚A, the second column is the probability. |
55 | 57 | 19th line: name of the file with pores size as a function of density and frequency (> name_poresize_dens_freq) The first column |
56 | 58 | should be in ˚A, the second column is the densities of the fluid and the third column is the frequencies and should be in ppm. |
|
0 commit comments