-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created individual directories for individual pps.
This is for issue #2281.
- Loading branch information
Tami Grimmett
committed
Feb 18, 2015
1 parent
3ad9dc2
commit 8309530
Showing
28 changed files
with
1,441 additions
and
0 deletions.
There are no files selected for viewing
134 changes: 134 additions & 0 deletions
134
test/tests/postprocessors/avg_nodal_var_value/avg_nodal_var_value.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
[Mesh] | ||
file = square-2x2-nodeids.e | ||
[] | ||
|
||
[Variables] | ||
active = 'u v' | ||
|
||
[./u] | ||
order = SECOND | ||
family = LAGRANGE | ||
[../] | ||
|
||
[./v] | ||
order = SECOND | ||
family = LAGRANGE | ||
[../] | ||
[] | ||
|
||
[Functions] | ||
active = 'force_fn exact_fn left_bc' | ||
|
||
[./force_fn] | ||
type = ParsedFunction | ||
value = '1-x*x+2*t' | ||
[../] | ||
|
||
[./exact_fn] | ||
type = ParsedFunction | ||
value = '(1-x*x)*t' | ||
[../] | ||
|
||
[./left_bc] | ||
type = ParsedFunction | ||
value = t | ||
[../] | ||
[] | ||
|
||
[Kernels] | ||
active = ' | ||
time_u diff_u ffn_u | ||
time_v diff_v' | ||
|
||
[./time_u] | ||
type = TimeDerivative | ||
variable = u | ||
[../] | ||
|
||
[./diff_u] | ||
type = Diffusion | ||
variable = u | ||
[../] | ||
|
||
[./ffn_u] | ||
type = UserForcingFunction | ||
variable = u | ||
function = force_fn | ||
[../] | ||
|
||
[./time_v] | ||
type = TimeDerivative | ||
variable = v | ||
[../] | ||
|
||
[./diff_v] | ||
type = Diffusion | ||
variable = v | ||
[../] | ||
[] | ||
|
||
[BCs] | ||
active = 'all_u left_v right_v' | ||
|
||
[./all_u] | ||
type = FunctionDirichletBC | ||
variable = u | ||
boundary = '1' | ||
function = exact_fn | ||
[../] | ||
|
||
[./left_v] | ||
type = FunctionDirichletBC | ||
variable = v | ||
boundary = '3' | ||
function = left_bc | ||
[../] | ||
|
||
[./right_v] | ||
type = DirichletBC | ||
variable = v | ||
boundary = '2' | ||
value = 0 | ||
[../] | ||
[] | ||
|
||
[Postprocessors] | ||
[./l2] | ||
type = ElementL2Error | ||
variable = u | ||
function = exact_fn | ||
[../] | ||
|
||
[./node1] | ||
type = AverageNodalVariableValue | ||
variable = u | ||
boundary = 10 | ||
[../] | ||
|
||
[./node4] | ||
type = AverageNodalVariableValue | ||
variable = v | ||
boundary = 13 | ||
[../] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
|
||
# Preconditioned JFNK (default) | ||
solve_type = 'PJFNK' | ||
|
||
dt = 0.1 | ||
start_time = 0 | ||
end_time = 1 | ||
[] | ||
|
||
[Outputs] | ||
file_base = out_avg_nodal_var_value | ||
exodus = true | ||
[./console] | ||
type = Console | ||
perf_log = true | ||
output_on = 'failed nonlinear linear timestep_end' | ||
[../] | ||
[] |
135 changes: 135 additions & 0 deletions
135
test/tests/postprocessors/avg_nodal_var_value/avg_nodal_var_value_ts_begin.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
[Mesh] | ||
file = square-2x2-nodeids.e | ||
[] | ||
|
||
[Variables] | ||
active = 'u v' | ||
|
||
[./u] | ||
order = SECOND | ||
family = LAGRANGE | ||
[../] | ||
|
||
[./v] | ||
order = SECOND | ||
family = LAGRANGE | ||
[../] | ||
[] | ||
|
||
[Functions] | ||
active = 'force_fn exact_fn left_bc' | ||
|
||
[./force_fn] | ||
type = ParsedFunction | ||
value = '1-x*x+2*t' | ||
[../] | ||
|
||
[./exact_fn] | ||
type = ParsedFunction | ||
value = '(1-x*x)*t' | ||
[../] | ||
|
||
[./left_bc] | ||
type = ParsedFunction | ||
value = t | ||
[../] | ||
[] | ||
|
||
[Kernels] | ||
active = ' | ||
time_u diff_u ffn_u | ||
time_v diff_v' | ||
|
||
[./time_u] | ||
type = TimeDerivative | ||
variable = u | ||
[../] | ||
|
||
[./diff_u] | ||
type = Diffusion | ||
variable = u | ||
[../] | ||
|
||
[./ffn_u] | ||
type = UserForcingFunction | ||
variable = u | ||
function = force_fn | ||
[../] | ||
|
||
[./time_v] | ||
type = TimeDerivative | ||
variable = v | ||
[../] | ||
|
||
[./diff_v] | ||
type = Diffusion | ||
variable = v | ||
[../] | ||
[] | ||
|
||
[BCs] | ||
active = 'all_u left_v right_v' | ||
|
||
[./all_u] | ||
type = FunctionDirichletBC | ||
variable = u | ||
boundary = '1' | ||
function = exact_fn | ||
[../] | ||
|
||
[./left_v] | ||
type = FunctionDirichletBC | ||
variable = v | ||
boundary = '3' | ||
function = left_bc | ||
[../] | ||
|
||
[./right_v] | ||
type = DirichletBC | ||
variable = v | ||
boundary = '2' | ||
value = 0 | ||
[../] | ||
[] | ||
|
||
[Postprocessors] | ||
[./l2] | ||
type = ElementL2Error | ||
variable = u | ||
function = exact_fn | ||
[../] | ||
|
||
[./node1] | ||
type = AverageNodalVariableValue | ||
variable = u | ||
boundary = 10 | ||
execute_on = TIMESTEP_BEGIN | ||
[../] | ||
|
||
[./node4] | ||
type = AverageNodalVariableValue | ||
variable = v | ||
boundary = 13 | ||
[../] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
|
||
# Preconditioned JFNK (default) | ||
solve_type = 'PJFNK' | ||
|
||
dt = 0.1 | ||
start_time = 0 | ||
end_time = 1 | ||
[] | ||
|
||
[Outputs] | ||
file_base = out_avg_nodal_var_value_ts_begin | ||
exodus = true | ||
[./console] | ||
type = Console | ||
perf_log = true | ||
output_on = 'failed nonlinear linear timestep_end' | ||
[../] | ||
[] |
Binary file added
BIN
+8.07 KB
test/tests/postprocessors/avg_nodal_var_value/gold/out_avg_nodal_var_value.e
Binary file not shown.
Binary file added
BIN
+27.1 KB
test/tests/postprocessors/avg_nodal_var_value/gold/out_avg_nodal_var_value_ts_begin.e
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Tests] | ||
[./test_avg_nodal_var_value] | ||
type = 'Exodiff' | ||
input = 'avg_nodal_var_value.i' | ||
exodiff = 'out_avg_nodal_var_value.e' | ||
[../] | ||
|
||
[./test_avg_nodal_var_value_ts_begin] | ||
type = 'Exodiff' | ||
input = 'avg_nodal_var_value_ts_begin.i' | ||
exodiff = 'out_avg_nodal_var_value_ts_begin.e' | ||
[../] | ||
[] |
Binary file added
BIN
+24.5 KB
test/tests/postprocessors/element_integral_var_pps/gold/out_initial_pps.e
Binary file not shown.
Binary file added
BIN
+21.5 KB
test/tests/postprocessors/element_integral_var_pps/gold/pps_old_value_out.e
Binary file not shown.
Oops, something went wrong.