forked from idaholab/moose
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This first mesh file has no sidesets, so we'll do a transient solve, to get a decent run with only Neumann BCs. Refs idaholab#18768
- Loading branch information
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
test/tests/meshgenerators/file_mesh_generator/2d_diffusion_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,46 @@ | ||
[Mesh] | ||
[cyl2d_iga] | ||
type = FileMeshGenerator | ||
file = PressurizedCyl_Patch6_4Elem.e | ||
[] | ||
[] | ||
|
||
[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 | ||
[] |
Binary file added
BIN
+5.88 KB
test/tests/meshgenerators/file_mesh_generator/PressurizedCyl_Patch6_4Elem.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