forked from idaholab/falcon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reporter that reports the nodal variable values at the elements locat…
…ed by the nearestElemsToLine. Also renamed the variable used to for filtering elements and updated tests. closes idaholab#108
- Loading branch information
1 parent
d4c068a
commit de68534
Showing
8 changed files
with
709 additions
and
6 deletions.
There are no files selected for viewing
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
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
72 changes: 72 additions & 0 deletions
72
test/tests/reporters/closest_elems_to_line_NodalVarValue/dfn_test.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,72 @@ | ||
[Mesh] | ||
[cluster34] | ||
type = FileMeshGenerator | ||
file = 'Cluster_34_zid.e' | ||
use_for_exodus_restart = true | ||
[] | ||
[] | ||
|
||
[Problem] | ||
solve = false | ||
[] | ||
|
||
[AuxVariables] | ||
[z_id] | ||
family = MONOMIAL | ||
order = CONSTANT | ||
initial_from_file_var = z_id | ||
initial_from_file_timestep = 'LATEST' | ||
[] | ||
[one] | ||
order = FIRST | ||
family = LAGRANGE | ||
initial_condition = 1 | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Steady | ||
[] | ||
|
||
[Reporters] | ||
[pt] | ||
type = ConstantReporter | ||
real_vector_names = 'pt1_x pt1_y pt1_z pt2_x pt2_y pt2_z' | ||
real_vector_values = '132.1; 97.5; 189.5; 136.5; 103.2; 50.6' | ||
outputs = none | ||
[] | ||
|
||
[no_var] | ||
block = "9 10" | ||
type = ClosestElemsToLineNodalVarValue | ||
projection_tolerance = 5 | ||
point_x1 = pt/pt1_x | ||
point_y1 = pt/pt1_y | ||
point_z1 = pt/pt1_z | ||
point_x2 = pt/pt2_x | ||
point_y2 = pt/pt2_y | ||
point_z2 = pt/pt2_z | ||
variable_to_sample = one | ||
outputs = out | ||
[] | ||
[domain_var] | ||
type = ClosestElemsToLineNodalVarValue | ||
projection_tolerance = 5 | ||
point_x1 = pt/pt1_x | ||
point_y1 = pt/pt1_y | ||
point_z1 = pt/pt1_z | ||
point_x2 = pt/pt2_x | ||
point_y2 = pt/pt2_y | ||
point_z2 = pt/pt2_z | ||
variable_filter = z_id | ||
variable_to_sample = one | ||
outputs = out | ||
[] | ||
[] | ||
|
||
[Outputs] | ||
[out] | ||
type = JSON | ||
execute_system_information_on = none | ||
[] | ||
[] |
Oops, something went wrong.