This mode allows you to run one simulation with specific parameters.
The parameters for the simulation can be set in params.txt
. They are:
n_iter
: Number of particlesrho
: DensityT
: Temperaturen_iter
: Number of iterationsn_iter_init
: Number of iterations until equilibrium. The number of iterations before the thermostat is used.dt
: Time stepdo_plots
: Boolean. If set to 1, the correlation function and the diffusion will be outputted tocorrelation_function.pdf
anddiffusion.pdf
.size_blocks
: The size (in iterations) of each block used for data blocking. NOTE:n_iter - n_iter_init
must be aa multiple ofsize_blocks
.
- Set parameters in
params.txt
. - Run
python simulate.py
. The results will be dumped insim_data/
. - Run
python post.py
. - The results should show up in the terminal windows.
This mode allows you to run several simulations in a row in order to plot the energy, heat capacity and pressure as a function of temperature and density.
- Set parameters and values of density/temperature in
batch.py
. - Run
python batch.py
. - Results and plots will be dumped in
batch_results/