Previous topic

Geometry

Next topic

Meshes

This Page

Battery Geometry

pybamm.battery_geometry(include_particles=True, current_collector_dimension=0)[source]

A convenience function to create battery geometries.

Parameters:
  • include_particles (bool) – Whether to include particle domains
  • current_collector_dimensions (int, default) – The dimensions of the current collector. Should be 0 (default), 1 or 2
Returns:

A geometry class for the battery

Return type:

pybamm.Geometry