Revision a04f0051c4a7da93fc4f9c0392160a17b8c7e41c authored by yaojunz on 13 October 2020, 00:45:38 UTC, committed by GitHub on 13 October 2020, 00:45:38 UTC
1 parent 18c9863
Units_nano.m
clear
clc
% mass = attograms = 10^-18 gram
% distance = nanometers
% time = nanoseconds
% energy = attogram-nanometer^2/nanosecond^2
% velocity = nanometers/nanosecond
% force = attogram-nanometer/nanosecond^2
% torque = attogram-nanometer^2/nanosecond^2
% temperature = Kelvin
% pressure = attogram/(nanometer-nanosecond^2)
% dynamic viscosity = attogram/(nanometer-nanosecond)
% charge = multiple of electron charge (1.0 is a proton)
% dipole = charge-nanometer
% electric field = volt/nanometer
% density = attograms/nanometer^dim
BeadSize=3;
WaterEta=1; %ag/nm/ns %0.001 kg/m/s
BeadCsi=6*pi*WaterEta*BeadSize/2; %ag/ns
Temp=300; %K
kB=1.38*10^-2; %ag*nm^2/ns^2/K 1.38*10^-23 Kg*m^2/s^2/K
kBT=kB*Temp;
SaveFolder='Parameter/';
mkdir(SaveFolder);
save([SaveFolder 'Parameter.mat'],'BeadSize','BeadCsi','Temp','kBT');
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...