Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.36 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.36 KB

FixedPivot2D

Description

This code is a Fortran 90 implementation of the extended fixed pivot method developed by Vale & McKenna to solve population balance equations (PBE) for two-component aggregation processes (also known as bivariate aggregation).

The method is described in detail in Vale2005b.pdf.

Contour plot

How to use the code

  1. File INPUTS.f90:
  • Function COAGKERNEL
    • Define the desired aggregation/coagulation kernel.
  • Function PSDINI
    • Define initial particle size distribution (PSD).
  1. File MAIN.f90:
  • Program FIXEDPIVOT2D
    • Variable time_final: define end integration time.
    • Variables xmin, xmax, ymin, ymax: define grid range.
    • Variables meshx, meshy: define grid type. See subroutine GRID in file GRID.f90 for more information.
  1. File GLOBAL.f90
  • Module GLOBAL
    • Variables Mx, My: define number of grid cells.
  1. File OUTPUT.f90
  • Subroutine OUTPUT
    • Update folder path.
  1. Build and run