ElectricChargeDensity

Type:0-Tensor, or section
Range:[v_1, …, v_1]
Default:-/-
Appearance:optional

Specifies an electric charge density \SField{\rho}. The units are coulombs per square meter \units{C/m^3}.

Note

A ElectricChargeDensity is only definable for a physical domain. So, setting BoundaryId in the parent section is not allowed.

A constant electric charge density can be defined by assigning a scalar:

# define a constant electric charge density
ElectricChargeDensity = ...

For more general cases, a electric charge density may be given as a section in order to deal with space-, time- and parameter-dependent definitions:

# define an electric charge density as a section
ElectricChargeDensity {
  Constant {...}
  Python {...}
  ...
}

Field definitions within this section are added. Consult the subsequent sections to see which types of field definitions are allowed.