forked from idaholab/stork
-
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.
Finished spliting growth variables into groups #11
- Loading branch information
1 parent
90ac41e
commit c47f028
Showing
12 changed files
with
343 additions
and
31 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
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
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,125 @@ | ||
# Test for SinkGrowth action. | ||
# Sum should always be 400 | ||
# | ||
# This should be exactly the same as tests/sinkgrowth/spacedout.i | ||
# | ||
# +----------------+----------------+----------------+----------------+----------------+----------------+----------------+ | ||
# | time | c1_conc | c2_conc | c3_conc | c4_conc | c5_conc | sum | | ||
# +----------------+----------------+----------------+----------------+----------------+----------------+----------------+ | ||
# | 1.000000e+02 | 9.908314e-01 | 0.000000e+00 | 9.957639e-01 | 4.214605e-03 | 2.147220e-05 | 4.000000e+00 | | ||
# | 2.000000e+02 | 9.816081e-01 | 0.000000e+00 | 9.915849e-01 | 8.351485e-03 | 6.362455e-05 | 4.000000e+00 | | ||
# | 3.000000e+02 | 9.723358e-01 | 0.000000e+00 | 9.874625e-01 | 1.241178e-02 | 1.256786e-04 | 4.000000e+00 | | ||
# | 4.000000e+02 | 9.630203e-01 | 0.000000e+00 | 9.833965e-01 | 1.639663e-02 | 2.068700e-04 | 4.000000e+00 | | ||
# | 5.000000e+02 | 9.536671e-01 | 0.000000e+00 | 9.793864e-01 | 2.030718e-02 | 3.064487e-04 | 4.000000e+00 | | ||
# | 6.000000e+02 | 9.442816e-01 | 0.000000e+00 | 9.754317e-01 | 2.414458e-02 | 4.236794e-04 | 4.000000e+00 | | ||
# | 7.000000e+02 | 9.348690e-01 | 0.000000e+00 | 9.715322e-01 | 2.790998e-02 | 5.578416e-04 | 4.000000e+00 | | ||
# | 8.000000e+02 | 9.254344e-01 | 0.000000e+00 | 9.676872e-01 | 3.160452e-02 | 7.082301e-04 | 4.000000e+00 | | ||
# | 9.000000e+02 | 9.159826e-01 | 0.000000e+00 | 9.638965e-01 | 3.522935e-02 | 8.741551e-04 | 4.000000e+00 | | ||
# | 1.000000e+03 | 9.065184e-01 | 0.000000e+00 | 9.601595e-01 | 3.878560e-02 | 1.054942e-03 | 4.000000e+00 | | ||
# +----------------+----------------+----------------+----------------+----------------+----------------+----------------+ | ||
|
||
[GlobalParams] | ||
N_max = 20 | ||
G = 5 | ||
log = true | ||
N_nuc = 3 | ||
temp = temp | ||
[] | ||
|
||
|
||
[Mesh] | ||
type = GeneratedMesh | ||
dim = 1 | ||
[] | ||
|
||
|
||
[Clusters] | ||
[./Growth] | ||
[../] | ||
[] | ||
|
||
|
||
[ICs] | ||
[./c3_ic] | ||
type = ConstantIC | ||
variable = c3 | ||
value = 1 | ||
[../] | ||
[./c1_ic] | ||
type = ConstantIC | ||
variable = c1 | ||
value = 1 | ||
[../] | ||
[] | ||
|
||
|
||
[AuxVariables] | ||
[./temp] | ||
order = CONSTANT | ||
family = MONOMIAL | ||
[../] | ||
[] | ||
|
||
|
||
[AuxKernels] | ||
[./temp_aux] | ||
type = ConstantAux | ||
variable = temp | ||
value = 1000 | ||
[../] | ||
[] | ||
|
||
|
||
[Materials] | ||
[./c1_diff] | ||
type = AtomicDiffusionCoef | ||
model = 1 | ||
factor = 1 | ||
block = 0 | ||
[../] | ||
[] | ||
|
||
|
||
[Executioner] | ||
type = Transient | ||
|
||
solve_type = PJFNK | ||
|
||
num_steps = 10 | ||
dt = 100 | ||
[] | ||
|
||
|
||
[Postprocessors] | ||
[./c1_conc] | ||
type = ElementIntegralVariablePostprocessor | ||
variable = c1 | ||
[../] | ||
[./c2_conc] | ||
type = ElementIntegralVariablePostprocessor | ||
variable = c2 | ||
[../] | ||
[./c3_conc] | ||
type = ElementIntegralVariablePostprocessor | ||
variable = c3 | ||
[../] | ||
[./c4_conc] | ||
type = ElementIntegralVariablePostprocessor | ||
variable = c4 | ||
[../] | ||
[./c5_conc] | ||
type = ElementIntegralVariablePostprocessor | ||
variable = c5 | ||
[../] | ||
[./sum] | ||
type = SumOfPostprocessors | ||
postprocessors = 'c1_conc c2_conc c3_conc c4_conc c5_conc' | ||
factors = '1 2 3 5.12132 13.62132' | ||
[../] | ||
[] | ||
|
||
[Outputs] | ||
console = true | ||
exodus = true | ||
interval = 1 | ||
[] |
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
Binary file not shown.
Binary file not shown.
Oops, something went wrong.