- boundaryThe list of boundary IDs from the mesh where this object applies
C++ Type:std::vector<BoundaryName>
Unit:(no unit assumed)
Controllable:No
Description:The list of boundary IDs from the mesh where this object applies
- currentThe postprocessor response for calculating the current passing through the needle surface.
C++ Type:PostprocessorName
Unit:(no unit assumed)
Controllable:No
Description:The postprocessor response for calculating the current passing through the needle surface.
- position_unitsUnits of position
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:Units of position
- potential_unitsThe potential units.
C++ Type:std::string
Unit:(no unit assumed)
Controllable:No
Description:The potential units.
- resistThe ballast resistance in Ohms
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:The ballast resistance in Ohms
- surfaceWhether you are specifying the potential on the anode or the cathode with the requirement that the other metal surface be grounded.
C++ Type:std::string
Unit:(no unit assumed)
Controllable:No
Description:Whether you are specifying the potential on the anode or the cathode with the requirement that the other metal surface be grounded.
- surface_potentialThe electrical potential applied to the surface if no current was flowing in the circuit.
C++ Type:FunctionName
Unit:(no unit assumed)
Controllable:No
Description:The electrical potential applied to the surface if no current was flowing in the circuit.
- use_molesFalseWhether to convert from units of moles to #.
Default:False
C++ Type:bool
Unit:(no unit assumed)
Controllable:No
Description:Whether to convert from units of moles to #.
- variableThe name of the variable that this residual object operates on
C++ Type:NonlinearVariableName
Unit:(no unit assumed)
Controllable:No
Description:The name of the variable that this residual object operates on
CircuitDirichletPotential
Dirichlet circuit boundary condition for potential (The current is given through a UserObject)
Overview
CircuitDirichletPotential
is a Dirichlet boundary condition for a potential based on Kirchoff's voltage law.
The formulation of the potential at the wall is:
Where is driven the potential, is the potential at cathode, is the charged particle flux at the boundary, is the elemental charge, is the cross-sectional area of the plasma, and is the ballast resistance. When converting the density to log-molar form and applying a scaling factor for both the mesh and voltage, CircuitDirichletPotential
is defined as
Where is Avogadro's number, is the scaling factor of the mesh, and is the scaling factor of the potential.
The charged particle flux is supplied as a Postprocessor (usually the SideCurrent
Postprocessor).
The CircuitDirichletPotential does not have a formalized test, yet. For this reason, users should be aware of unforeseen bugs when using CircuitDirichletPotential. To report a bug or discuss future contributions to Zapdos, please refer to the Zapdos GitHub Discussions page. For standards of how to contribute to Zapdos and the MOOSE framework, please refer to the MOOSE Contributing page.
Example Input File Syntax
[BCs]
[circuit_potential]
type = CircuitDirichletPotential
variable = potential
current = SideCurrent
position_units = 1.0
potential_units = V
resist = 100 #in Ohms
surface = anode
surface_potential = 100 #in V
boundary = 'electrode'
[]
[]
Input Parameters
- A1For 1D calculations, an area has to be passed. This area also must match the units convention of position_units.
Default:1
C++ Type:double
Unit:(no unit assumed)
Controllable:No
Description:For 1D calculations, an area has to be passed. This area also must match the units convention of position_units.
- diag_save_inThe name of auxiliary variables to save this BC's diagonal jacobian contributions to. Everything about that variable must match everything about this variable (the type, what blocks it's on, etc.)
C++ Type:std::vector<AuxVariableName>
Unit:(no unit assumed)
Controllable:No
Description:The name of auxiliary variables to save this BC's diagonal jacobian contributions to. Everything about that variable must match everything about this variable (the type, what blocks it's on, etc.)
- displacementsThe displacements
C++ Type:std::vector<VariableName>
Unit:(no unit assumed)
Controllable:No
Description:The displacements
- save_inThe name of auxiliary variables to save this BC's residual contributions to. Everything about that variable must match everything about this variable (the type, what blocks it's on, etc.)
C++ Type:std::vector<AuxVariableName>
Unit:(no unit assumed)
Controllable:No
Description:The name of auxiliary variables to save this BC's residual contributions to. Everything about that variable must match everything about this variable (the type, what blocks it's on, etc.)
Optional Parameters
- absolute_value_vector_tagsThe tags for the vectors this residual object should fill with the absolute value of the residual contribution
C++ Type:std::vector<TagName>
Unit:(no unit assumed)
Controllable:No
Description:The tags for the vectors this residual object should fill with the absolute value of the residual contribution
- extra_matrix_tagsThe extra tags for the matrices this Kernel should fill
C++ Type:std::vector<TagName>
Unit:(no unit assumed)
Controllable:No
Description:The extra tags for the matrices this Kernel should fill
- extra_vector_tagsThe extra tags for the vectors this Kernel should fill
C++ Type:std::vector<TagName>
Unit:(no unit assumed)
Controllable:No
Description:The extra tags for the vectors this Kernel should fill
- matrix_tagssystem timeThe tag for the matrices this Kernel should fill
Default:system time
C++ Type:MultiMooseEnum
Unit:(no unit assumed)
Controllable:No
Description:The tag for the matrices this Kernel should fill
- vector_tagsresidualThe tag for the vectors this Kernel should fill
Default:residual
C++ Type:MultiMooseEnum
Unit:(no unit assumed)
Controllable:No
Description:The tag for the vectors this Kernel should fill
Tagging Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector<std::string>
Unit:(no unit assumed)
Controllable:No
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Unit:(no unit assumed)
Controllable:Yes
Description:Set the enabled status of the MooseObject.
- implicitTrueDetermines whether this object is calculated using an implicit or explicit form
Default:True
C++ Type:bool
Unit:(no unit assumed)
Controllable:No
Description:Determines whether this object is calculated using an implicit or explicit form
- seed0The seed for the master random number generator
Default:0
C++ Type:unsigned int
Unit:(no unit assumed)
Controllable:No
Description:The seed for the master random number generator
- use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.
Default:False
C++ Type:bool
Unit:(no unit assumed)
Controllable:No
Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.