-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25179 from sourabhkadambi/columnar_3D_hex
Adding 3D columnar option in PolycrystalHex userobject
- Loading branch information
Showing
9 changed files
with
113 additions
and
26 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
modules/phase_field/doc/content/source/userobjects/PolycrystalHex.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
[BCs] | ||
[./Periodic] | ||
[./all] | ||
auto_direction = 'x' | ||
auto_direction = 'x y' | ||
[../] | ||
[../] | ||
[] | ||
|
71 changes: 71 additions & 0 deletions
71
modules/phase_field/test/tests/initial_conditions/HexPolycrystalIC_3D_columnar.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,71 @@ | ||
[Mesh] | ||
type = GeneratedMesh | ||
dim = 3 | ||
nx = 20 | ||
ny = 20 | ||
nz = 1 | ||
xmax = 1 | ||
ymax = 1 | ||
zmax = 0.1 | ||
[] | ||
|
||
[GlobalParams] | ||
op_num = 4 | ||
grain_num = 4 | ||
var_name_base = gr | ||
int_width = 0.05 | ||
[] | ||
|
||
[Variables] | ||
[./PolycrystalVariables] | ||
[../] | ||
[] | ||
|
||
[ICs] | ||
[./PolycrystalICs] | ||
[./PolycrystalColoringIC] | ||
polycrystal_ic_uo = hex_ic | ||
[../] | ||
[../] | ||
[./bnds] | ||
type = BndsCalcIC | ||
variable = bnds | ||
[../] | ||
[] | ||
|
||
[AuxVariables] | ||
[./bnds] | ||
order = FIRST | ||
family = LAGRANGE | ||
[../] | ||
[] | ||
|
||
[UserObjects] | ||
[./hex_ic] | ||
type = PolycrystalHex | ||
coloring_algorithm = bt | ||
columnar_3D = true | ||
[../] | ||
[] | ||
|
||
[BCs] | ||
[./Periodic] | ||
[./all] | ||
auto_direction = 'x y' | ||
[../] | ||
[../] | ||
[] | ||
|
||
[Problem] | ||
type = FEProblem | ||
solve = false | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 0 | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
Binary file modified
BIN
+5.87 KB
(110%)
modules/phase_field/test/tests/initial_conditions/gold/BlockRestriction_out.e
Binary file not shown.
Binary file added
BIN
+128 KB
modules/phase_field/test/tests/initial_conditions/gold/HexPolycrystalIC_3D_columnar_out.e
Binary file not shown.
Binary file modified
BIN
+15.2 KB
(120%)
modules/phase_field/test/tests/initial_conditions/gold/HexPolycrystalIC_out.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