-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
90 additions
and
11 deletions.
There are no files selected for viewing
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,34 @@ | ||
${side = 1.0} | ||
${h_size = 0.5} | ||
|
||
create brick x {side} y {side} z {side} | ||
volume all size {h_size} | ||
mesh volume all | ||
block 1 volume 1 | ||
block 1 name "cube" | ||
nodeset 1 surface with x_coord < 0 | ||
nodeset 1 name "nsx-" | ||
nodeset 2 surface with x_coord > 0 | ||
nodeset 2 name "nsx+" | ||
nodeset 3 surface with y_coord < 0 | ||
nodeset 3 name "nsy-" | ||
nodeset 4 surface with y_coord > 0 | ||
nodeset 4 name "nsy+" | ||
nodeset 5 surface with z_coord < 0 | ||
nodeset 5 name "nsz-" | ||
nodeset 6 surface with z_coord > 0 | ||
nodeset 6 name "nsz+" | ||
sideset 1 surface with x_coord < 0 | ||
sideset 1 name "ssx-" | ||
sideset 2 surface with x_coord > 0 | ||
sideset 2 name "ssx+" | ||
sideset 3 surface with y_coord < 0 | ||
sideset 3 name "ssy-" | ||
sideset 4 surface with y_coord < 0 | ||
sideset 4 name "ssy+" | ||
sideset 5 surface with z_coord < 0 | ||
sideset 5 name "ssz-" | ||
sideset 6 surface with z_coord > 0 | ||
sideset 6 name "ssz+" | ||
set large exodus file off | ||
export mesh "cube.g" overwrite |
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,45 @@ | ||
type: single | ||
input mesh file: cube.g | ||
output mesh file: cube.e | ||
Exodus output interval: 1 | ||
CSV output interval: 0 | ||
model: | ||
type: solid mechanics | ||
material: | ||
blocks: | ||
cube: elastic | ||
elastic: | ||
model: linear elastic | ||
elastic modulus: 1.0e+09 | ||
Poisson's ratio: 0.25 | ||
density: 1000.0 | ||
time integrator: | ||
type: quasi static | ||
initial time: 0.0 | ||
final time: 1.0 | ||
time step: 1.0 | ||
maximum time step: 1.0 | ||
minimum time step: 0.01 | ||
increase factor: 1.1 | ||
decrease factor: 0.5 | ||
boundary conditions: | ||
Dirichlet: | ||
- node set: nsx- | ||
component: x | ||
function: "0.0" | ||
- node set: nsy- | ||
component: y | ||
function: "0.0" | ||
- node set: nsz- | ||
component: z | ||
function: "0.0" | ||
- node set: nsz+ | ||
component: z | ||
function: "-0.5 * t" | ||
solver: | ||
type: Hessian minimizer | ||
step: full Newton | ||
minimum iterations: 1 | ||
maximum iterations: 16 | ||
relative tolerance: 1.0e-12 | ||
absolute tolerance: 1.0e-08 |
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
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