Skip to content
Snippets Groups Projects
Commit d787223b authored by François Henrotte's avatar François Henrotte
Browse files

minor changes

parent 4209cc7b
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -128,7 +128,7 @@ Group{
FunctionSpace {
/* The magic in the treatment of global quantitities by GetDP is in the fact
that nearly all is done at the level of the FunctionSpace definition.
that nearly all the work is done at the level of the FunctionSpace definition.
The finite element expansion is
......@@ -152,13 +152,13 @@ FunctionSpace {
}
Constraint {
{ NameOfCoef vn; EntityType NodesOf;
NameOfConstraint Dirichlet_Ele; } // unused in this model
NameOfConstraint Dirichlet_Ele; } // unused in this model, left for completeness
{ NameOfCoef GlobalPotential; EntityType GroupsOfNodesOf;
NameOfConstraint SetGlobalPotential; }
{ NameOfCoef ArmatureCharge; EntityType GroupsOfNodesOf;
NameOfConstraint SetArmatureCharge; }
}
// Subspace definition only needed to display "vf" in PostProcessing
// Subspace definition only needed to display BF_electrode in PostProcessing
SubSpace {
{ Name vf; NameOfBasisFunction sf; }
}
......@@ -186,7 +186,7 @@ Integration {
Formulation {
/* Only minor changes in the formulation.
The global quantities are declared in the "Quantity{}" section,
and a "GlobalTerm" is added that triggers the creation of an additional equation
and a "GlobalTerm" is added that triggers the assembly of an additional equation
per electrode in the system to compute the charge Q_electrode
Q_electrode = (-epsr[] Grad v, Grad BF_electrode)_Vol_Dielectric_Ele
......@@ -196,7 +196,7 @@ Formulation {
{ Name v; Type Local; NameOfSpace Hgrad_v_Ele; }
{ Name U; Type Global; NameOfSpace Hgrad_v_Ele [GlobalPotential]; }
{ Name Q; Type Global; NameOfSpace Hgrad_v_Ele [ArmatureCharge]; }
// next line only needed to display the global BF in PostProcessing
// next line only needed to display the BF_electrode in PostProcessing
{ Name vf; Type Local; NameOfSpace Hgrad_v_Ele [vf]; }
}
Equation {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment