ElectricFluxDensityValue[pred,vars,pars]
represents an electric flux density boundary condition for PDEs with predicate pred indicating where it applies, with model variables vars and global parameters pars.
ElectricFluxDensityValue[pred,vars,pars,lkey]
represents an electric flux density boundary condition with local parameters specified in pars[lkey].
ElectricFluxDensityValue
ElectricFluxDensityValue[pred,vars,pars]
represents an electric flux density boundary condition for PDEs with predicate pred indicating where it applies, with model variables vars and global parameters pars.
ElectricFluxDensityValue[pred,vars,pars,lkey]
represents an electric flux density boundary condition with local parameters specified in pars[lkey].
Details
- ElectricFluxDensityValue specifies a Neumann boundary value for the ElectrostaticPDEComponent
- ElectricFluxDensityValue specifies a boundary condition for ElectrostaticPDEComponent and is used as part of the modeling equation:
- ElectricFluxDensityValue is typically used to model an electric flux density
field in units of [
] that enters or leaves a boundary. - The flux is caused by a surface charge density
in units of [
] positioned at a boundary. - A positive value denotes the inward electric flux, and a negative value denotes an outward flux.
- ElectricFluxDensityValue models an electric flux density
field normal to the boundary with dependent variable
in volts [
] and independent variables
in [
]. - Stationary variables vars are vars={Θ[x1,…,xn],{x1,…,xn}}.
- The polarized form of ElectrostaticPDEComponent with vacuum permittivity
in units of [
], polarization vector
in units of [
] and volume charge density
in units of [
] is given by: - When specified at an outer boundary ElectricFluxDensityValue models:
is a surface charge density in units of [
] at an outer or interior boundary, and
is a surface electric flux density in units of [
].- When specified at an interior boundary between two nonconducting materials with electric flux density fields
and
, ElectricFluxDensityValue models: - Model parameters pars are specified as for ElectrostaticPDEComponent.
- The following additional model parameters pars can be given:
-
parameter default symbol "ElectricFluxDensity" {0,...}
, bondary electric flux density in [
]"BoundaryUnitNormal" Automatic 
"SurfaceChargeDensity" 
, surface charge density in [
] - All model parameters may depend on the spatial variables
. - To localize model parameters, a key lkey can be specified and values from association pars[lkey] are used for model parameters.
- ElectricFluxDensityValue evaluates to a NeumannValue.
- The boundary predicate pred can be specified as in NeumannValue.
- If the ElectricFluxDensityValue depends on parameters
that are specified in the association pars as …,keypi…,pivi,…, the parameters
are replaced with
.
Examples
open all close allBasic Examples (3)
Set up an electric flux density boundary condition:
ElectricFluxDensityValue[{x, y}∈Subscript[Γ, b], {V[x, y], {x, y}}, <|"ElectricFluxDensity" -> {D0x, D0y}|>]Set up a surface charge density at the boundary:
ElectricFluxDensityValue[{x, y}∈Subscript[Γ, b], {V[x, y], {x, y}}, <|"SurfaceChargeDensity" -> Subscript[ρ, s]|>]Set up a surface charge density at a boundary, for a 2D electrostatic model that has a thickness
:
ElectricFluxDensityValue[{x, y}∈Subscript[Γ, b], {V[x, y], {x, y}}, <|"Thickness" -> d|>, <|"SurfaceChargeDensity" -> Subscript[ρ, s]|>]Applications (2)
Model a parallel electric field with an electric flux density boundary. Set up the electrostatic model variables
:
vars = {V[x, y], {x, y}};Ω = Rectangle[{-1, -1}, {1, 1}];Specify electrostatic model parameter relative permittivity
:
pars = <|"RelativePermittivity" -> 1|>;Set up a ground potential at the right boundary of the box:
Subscript[Γ, ground] = ElectricPotentialCondition[x == 1, vars, pars];Set up an inward electric flux density boundary condition at the left boundary of the box:
Subscript[Γ, Flux] = ElectricFluxDensityValue[x == -1, vars, pars, <|"ElectricFluxDensity" -> {8.85*^-7, 0}|>]eqn = ElectrostaticPDEComponent[vars, pars] == Subscript[Γ, Flux];Vfun = NDSolveValue[{eqn, Subscript[Γ, ground]}, V, {x, y}∈Ω];Compute the electric field intensity E:
Efield = -Grad[Vfun[x, y], {x, y}];VectorPlot[Efield, {x, y}∈Ω, ...]Instead of specifying a voltage difference in a capacitor, one can also specify a surface charge density in one of the plates of the capacitor. Set up the electrostatic model variable
:
vars = {V[x, y], {x, y}};Ω = Rectangle[{-0.05, -0.02}, {0.05, 0.02}];Specify electrostatic model parameter relative permittivity
:
pars = <|"RelativePermittivity" -> 3|>;Set up a positive surface charge density at the upper boundary:
Subscript[Γ, p] = ElectricFluxDensityValue[y == 0.02, vars, pars, <|"SurfaceChargeDensity" -> 1*^-9|>]Set up a ground potential at the lower boundary:
Subscript[Γ, ground] = ElectricPotentialCondition[y == -0.02, vars, pars];eqn = ElectrostaticPDEComponent[vars, pars] == Subscript[Γ, p];Vfun = NDSolveValue[{eqn, Subscript[Γ, ground]}, V, {x, y}∈Ω];DensityPlot[Vfun[x, y], {x, y}∈ Ω, ...]Tech Notes
Related Guides
History
Text
Wolfram Research (2024), ElectricFluxDensityValue, Wolfram Language function, https://reference.wolfram.com/language/ref/ElectricFluxDensityValue.html.
CMS
Wolfram Language. 2024. "ElectricFluxDensityValue." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ElectricFluxDensityValue.html.
APA
Wolfram Language. (2024). ElectricFluxDensityValue. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ElectricFluxDensityValue.html
BibTeX
@misc{reference.wolfram_2026_electricfluxdensityvalue, author="Wolfram Research", title="{ElectricFluxDensityValue}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/ElectricFluxDensityValue.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_electricfluxdensityvalue, organization={Wolfram Research}, title={ElectricFluxDensityValue}, year={2024}, url={https://reference.wolfram.com/language/ref/ElectricFluxDensityValue.html}, note=[Accessed: 12-June-2026]}