Skip to content

Commit

Permalink
Add verbose param., off by default, to control extra compute/output
Browse files Browse the repository at this point in the history
  • Loading branch information
nmnobre committed Aug 29, 2024
1 parent bde5a41 commit f769040
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion input/AForm.i
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,22 @@
use_xyzt = true
expression = sin(${voltage_wfrequency}*t)*V
execute_on = timestep_end
enable = ${verbose}
[]
[E]
type = VectorTimeDerivativeAux
variable = E
coupled_vector_variable = A
coeff = -1
execute_on = timestep_end
enable = ${verbose}
[]
[B]
type = CurlAux
variable = B
coupled_vector_variable = A
execute_on = timestep_end
enable = ${verbose}
[]
[P]
type = JouleHeatingAux
Expand Down Expand Up @@ -125,7 +128,8 @@
[]

[Outputs]
exodus = true
exodus = ${verbose}
csv = ${verbose}
[]

[MultiApps]
Expand Down
2 changes: 2 additions & 0 deletions input/Parameters.i
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ voltage_period = ${fparse 1/voltage_frequency} # s

end_t = ${fparse voltage_period} # s
delta_t = ${fparse voltage_period/10} # s

verbose = false
2 changes: 2 additions & 0 deletions input/VLaplace.i
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@
variable = V
boundary = coil_in
diffusivity = -${copper_econductivity}
enable = ${verbose}
[]
[I(out)]
type = SideDiffusiveFluxIntegral
variable = V
boundary = coil_out
diffusivity = ${copper_econductivity}
enable = ${verbose}
[]
[]

Expand Down

0 comments on commit f769040

Please sign in to comment.