-
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.
Merge pull request #24081 from roystgnr/disc_bex
discontinuous_spline_extraction option
- Loading branch information
Showing
22 changed files
with
345 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,6 @@ | |
method = '!DBG' | ||
# See #24187 | ||
petsc_version = '>=3.12.0' | ||
# See #25819 | ||
dof_id_bytes = 8 | ||
valgrind = none | ||
[] | ||
[] |
51 changes: 51 additions & 0 deletions
51
test/tests/meshgenerators/file_mesh_generator/1d_discontinuous_iga.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,51 @@ | ||
[Mesh] | ||
[cyl2d_iga] | ||
type = FileMeshGenerator | ||
file = test_2edge.e | ||
discontinuous_spline_extraction = true | ||
[] | ||
[] | ||
|
||
[Variables] | ||
[u] | ||
order = SECOND # Must match mesh order | ||
family = RATIONAL_BERNSTEIN | ||
[] | ||
[] | ||
|
||
[Kernels] | ||
[time] | ||
type = TimeDerivative | ||
variable = u | ||
block = 0 # Avoid direct calculations on spline nodes | ||
[] | ||
[diff] | ||
type = Diffusion | ||
variable = u | ||
block = 0 # Avoid direct calculations on spline nodes | ||
[] | ||
[null] | ||
type = NullKernel | ||
variable = u | ||
block = 1 # Keep kernel coverage check happy | ||
[] | ||
[] | ||
|
||
[ICs] | ||
[u] | ||
type = FunctionIC | ||
variable = u | ||
function = 'sin(x)' | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 2 | ||
solve_type = NEWTON | ||
dtmin = 1 | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
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
51 changes: 51 additions & 0 deletions
51
test/tests/meshgenerators/file_mesh_generator/2d_discontinuous_iga.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,51 @@ | ||
[Mesh] | ||
[cyl2d_iga] | ||
type = FileMeshGenerator | ||
file = PressurizedCyl_Patch6_4Elem.e | ||
discontinuous_spline_extraction = true | ||
[] | ||
[] | ||
|
||
[Variables] | ||
[u] | ||
order = SECOND # Must match mesh order | ||
family = RATIONAL_BERNSTEIN | ||
[] | ||
[] | ||
|
||
[Kernels] | ||
[time] | ||
type = TimeDerivative | ||
variable = u | ||
block = 0 # Avoid direct calculations on spline nodes | ||
[] | ||
[diff] | ||
type = Diffusion | ||
variable = u | ||
block = 0 # Avoid direct calculations on spline nodes | ||
[] | ||
[null] | ||
type = NullKernel | ||
variable = u | ||
block = 1 # Keep kernel coverage check happy | ||
[] | ||
[] | ||
|
||
[ICs] | ||
[u] | ||
type = FunctionIC | ||
variable = u | ||
function = 'sin(x)' | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 2 | ||
solve_type = NEWTON | ||
dtmin = 1 | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
52 changes: 52 additions & 0 deletions
52
test/tests/meshgenerators/file_mesh_generator/2d_discontinuous_iga_l2.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,52 @@ | ||
[Mesh] | ||
[cyl2d_iga] | ||
type = FileMeshGenerator | ||
file = PressurizedCyl_Patch6_4Elem.e | ||
discontinuous_spline_extraction = true | ||
[] | ||
[] | ||
|
||
[Variables] | ||
[u] | ||
order = SECOND # Must match mesh order | ||
family = RATIONAL_BERNSTEIN | ||
[] | ||
[] | ||
|
||
[Kernels] | ||
[time] | ||
type = TimeDerivative | ||
variable = u | ||
block = 0 # Avoid direct calculations on spline nodes | ||
[] | ||
[rxn] | ||
type = Reaction | ||
variable = u | ||
rate = -0.1 | ||
block = 0 # Avoid direct calculations on spline nodes | ||
[] | ||
[null] | ||
type = NullKernel | ||
variable = u | ||
block = 1 # Keep kernel coverage check happy | ||
[] | ||
[] | ||
|
||
[ICs] | ||
[u] | ||
type = FunctionIC | ||
variable = u | ||
function = '1.0' | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 2 | ||
solve_type = NEWTON | ||
dtmin = 1 | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
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
51 changes: 51 additions & 0 deletions
51
test/tests/meshgenerators/file_mesh_generator/exact_discontinuous_iga.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,51 @@ | ||
[Mesh] | ||
[cyl2d_iga] | ||
type = FileMeshGenerator | ||
file = test_quadratic.e | ||
discontinuous_spline_extraction = true | ||
[] | ||
[] | ||
|
||
[Variables] | ||
[u] | ||
order = SECOND # Must match mesh order | ||
family = RATIONAL_BERNSTEIN | ||
[] | ||
[] | ||
|
||
[ICs] | ||
[u] | ||
type = FunctionIC | ||
variable = u | ||
function = 'x' | ||
[] | ||
[] | ||
|
||
[Kernels] | ||
[diff] | ||
type = Diffusion | ||
variable = u | ||
block = 0 # Avoid direct calculations on spline nodes | ||
[] | ||
[./time] | ||
type = TimeDerivative | ||
variable = u | ||
block = 0 | ||
[../] | ||
[null] | ||
type = NullKernel | ||
variable = u | ||
block = 1 # Keep kernel coverage check happy | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 1 | ||
solve_type = NEWTON | ||
dt = 1 | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
Binary file added
BIN
+33.5 KB
test/tests/meshgenerators/file_mesh_generator/gold/1d_discontinuous_iga_out.e
Binary file not shown.
Binary file added
BIN
+31.7 KB
test/tests/meshgenerators/file_mesh_generator/gold/2d_diffusion_iga_nosplines_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
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 added
BIN
+34.8 KB
test/tests/meshgenerators/file_mesh_generator/gold/2d_diffusion_iga_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
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 added
BIN
+35.3 KB
test/tests/meshgenerators/file_mesh_generator/gold/2d_discontinuous_iga_l2_out.e
Binary file not shown.
Binary file added
BIN
+35.2 KB
test/tests/meshgenerators/file_mesh_generator/gold/2d_discontinuous_iga_out.e
Binary file not shown.
Binary file added
BIN
+35.2 KB
test/tests/meshgenerators/file_mesh_generator/gold/exact_discontinuous_iga_out.e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.