Skip to content

Commit

Permalink
Output E, B and V from the A form input file
Browse files Browse the repository at this point in the history
  • Loading branch information
nmnobre committed Aug 29, 2024
1 parent 7d1057a commit bde5a41
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions input/AForm.i
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@
family = LAGRANGE
order = FIRST
[]
[Vt]
family = LAGRANGE
order = FIRST
[]
[E]
family = NEDELEC_ONE
order = FIRST
[]
[B]
family = NEDELEC_ONE
order = FIRST
[]
[P]
family = MONOMIAL
order = CONSTANT
Expand Down Expand Up @@ -56,6 +68,27 @@
[]

[AuxKernels]
[V(t)]
type = ParsedAux
variable = Vt
coupled_variables = V
use_xyzt = true
expression = sin(${voltage_wfrequency}*t)*V
execute_on = timestep_end
[]
[E]
type = VectorTimeDerivativeAux
variable = E
coupled_vector_variable = A
coeff = -1
execute_on = timestep_end
[]
[B]
type = CurlAux
variable = B
coupled_vector_variable = A
execute_on = timestep_end
[]
[P]
type = JouleHeatingAux
variable = P
Expand Down Expand Up @@ -91,6 +124,10 @@
num_steps = 1
[]

[Outputs]
exodus = true
[]

[MultiApps]
[VLaplace]
type = FullSolveMultiApp
Expand Down

0 comments on commit bde5a41

Please sign in to comment.