Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
giraffe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nek5000
giraffe
Commits
c7048588
Commit
c7048588
authored
Oct 17, 2016
by
Ron Rahaman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 3D meshes and input files
parent
26f7fb45
Changes
3
Hide whitespace changes
Inline
Sidebyside
Showing
3 changed files
with
216 additions
and
0 deletions
+216
0
examples/heat_conduction/3D_sideset.exo
examples/heat_conduction/3D_sideset.exo
+0
0
examples/heat_conduction/3d_transient_cube.i
examples/heat_conduction/3d_transient_cube.i
+111
0
examples/heat_conduction/3d_transient_cylinder.i
examples/heat_conduction/3d_transient_cylinder.i
+105
0
No files found.
examples/heat_conduction/3D_sideset.exo
0 → 100644
View file @
c7048588
File added
examples/heat_conduction/3d_transient_cube.i
0 → 100644
View file @
c7048588
#
This
test
solves
a
1
D
transient
heat
equation
#
The
error
is
caclulated
by
comparing
to
the
analytical
solution
#
The
problem
setup
and
analytical
solution
are
taken
from
"Advanced Engineering
# Mathematics, 10th edition"
by
Erwin
Kreyszig
.
#
http
:
//www.amazon.com/AdvancedEngineeringMathematicsErwinKreyszig/dp/0470458364
#
It
is
Example
1
in
section
12.6
on
page
561
[
Mesh
]
type
=
GeneratedMesh
dim
=
3
nx
=
20
ny
=
20
nz
=
20
xmax
=
80
ymax
=
80
zmax
=
80
[]
[
Variables
]
[
.
/
T
]
[
..
/
]
[]
[
Kernels
]
[
.
/
HeatSource
]
type
=
HeatSource
function
=
'
100
*
sin
(
3.14159
*
x
/
80
)
*
sin
(
3.14159
*
y
/
80
)
*
sin
(
3.14159
*
z
/
80
)
'
variable
=
T
[
..
/
]
[
.
/
HeatDiff
]
type
=
HeatConduction
variable
=
T
[
..
/
]
[
.
/
HeatTdot
]
type
=
HeatConductionTimeDerivative
variable
=
T
[
..
/
]
[]
[
BCs
]
[
.
/
left
]
type
=
DirichletBC
variable
=
T
boundary
=
left
value
=
0
[
..
/
]
[
.
/
right
]
type
=
DirichletBC
variable
=
T
boundary
=
right
value
=
0
[
..
/
]
[
.
/
top
]
type
=
DirichletBC
variable
=
T
boundary
=
top
value
=
0
[
..
/
]
[
.
/
bottom
]
type
=
DirichletBC
variable
=
T
boundary
=
bottom
value
=
0
[
..
/
]
[]
[
Materials
]
[
.
/
k
]
type
=
GenericConstantMaterial
prop_names
=
'
thermal_conductivity
'
prop_values
=
'
0.95
'
#
copper
in
cal
/
(
cm
sec
C
)
block
=
0
[
..
/
]
[
.
/
cp
]
type
=
GenericConstantMaterial
prop_names
=
'
specific_heat
'
prop_values
=
'
0.092
'
#
copper
in
cal
/
(
g
C
)
block
=
0
[
..
/
]
[
.
/
rho
]
type
=
GenericConstantMaterial
prop_names
=
'
density
'
prop_values
=
'
8.92
'
#
copper
in
g
/
(
cm
^
3
)
block
=
0
[
..
/
]
[]
[
Postprocessors
]
[
.
/
error
]
type
=
NodalL2Error
function
=
'
100
*
sin
(
3.14159
*
x
/
80
)
*
exp
(

0.95
/
(
0.092
*
8.92
)
*
3.14159
^
2
/
80
^
2
*
t
)
'
#
T
(
x
,
t
)
=
100
sin
(
pix
/
L
)
exp
(

rho
/
(
cp
k
)
pi
^
2
/
L
^
2
t
)
variable
=
T
[
..
/
]
[]
[
Executioner
]
type
=
Transient
scheme
=
bdf2
nl_rel_tol
=
1e12
l_tol
=
1e6
dt
=
2
#
end_time
=
100
end_time
=
10
petsc_options_iname
=
'

pc_type

pc_hypre_type
'
petsc_options_value
=
'
hypre
boomeramg
'
[]
[
Outputs
]
exodus
=
true
print_perf_log
=
true
[]
examples/heat_conduction/3d_transient_cylinder.i
0 → 100644
View file @
c7048588
#
This
test
solves
a
1
D
transient
heat
equation
#
The
error
is
caclulated
by
comparing
to
the
analytical
solution
#
The
problem
setup
and
analytical
solution
are
taken
from
"Advanced Engineering
# Mathematics, 10th edition"
by
Erwin
Kreyszig
.
#
http
:
//www.amazon.com/AdvancedEngineeringMathematicsErwinKreyszig/dp/0470458364
#
It
is
Example
1
in
section
12.6
on
page
561
[
Mesh
]
#
This
is
a
cylinder
with
r
=
0.5
,
z
=
(
0
,
1
)
file
=
3
D_sideset
.
exo
block_id
=
'1'
block_name
=
'
interior
'
boundary_id
=
'
100
200
300
'
boundary_name
=
'
top
bottom
wall
'
[]
[
Variables
]
[
.
/
T
]
[
..
/
]
[]
[
Kernels
]
[
.
/
HeatSource
]
type
=
HeatSource
function
=
'
100
*
cos
(
3.14159
*
x
)
*
cos
(
3.14159
*
y
)
'
variable
=
T
[
..
/
]
[
.
/
HeatDiff
]
type
=
HeatConduction
variable
=
T
[
..
/
]
[
.
/
HeatTdot
]
type
=
HeatConductionTimeDerivative
variable
=
T
[
..
/
]
[]
[
BCs
]
[
.
/
top
]
type
=
DirichletBC
variable
=
T
boundary
=
'
top
'
value
=
0
[
..
/
]
[
.
/
bottom
]
type
=
DirichletBC
variable
=
T
boundary
=
'
bottom
'
value
=
0
[
..
/
]
[
.
/
wall
]
type
=
DirichletBC
variable
=
T
boundary
=
'
wall
'
value
=
0
[
..
/
]
[]
[
Materials
]
[
.
/
k
]
type
=
GenericConstantMaterial
prop_names
=
'
thermal_conductivity
'
prop_values
=
'
0.95
'
#
copper
in
cal
/
(
cm
sec
C
)
block
=
'
interior
'
[
..
/
]
[
.
/
cp
]
type
=
GenericConstantMaterial
prop_names
=
'
specific_heat
'
prop_values
=
'
0.092
'
#
copper
in
cal
/
(
g
C
)
block
=
'
interior
'
[
..
/
]
[
.
/
rho
]
type
=
GenericConstantMaterial
prop_names
=
'
density
'
prop_values
=
'
8.92
'
#
copper
in
g
/
(
cm
^
3
)
block
=
'
interior
'
[
..
/
]
[]
[
Postprocessors
]
[
.
/
error
]
type
=
NodalL2Error
function
=
'
100
*
sin
(
3.14159
*
x
/
80
)
*
exp
(

0.95
/
(
0.092
*
8.92
)
*
3.14159
^
2
/
80
^
2
*
t
)
'
#
T
(
x
,
t
)
=
100
sin
(
pix
/
L
)
exp
(

rho
/
(
cp
k
)
pi
^
2
/
L
^
2
t
)
variable
=
T
[
..
/
]
[]
[
Executioner
]
type
=
Transient
scheme
=
bdf2
#
Others
available
:
backward
Euler
,
CrankNicholson
,
etc
.
dt
=
0.5
#
Initial
timestep
size
start_time
=
0
#
Starting
time
num_steps
=
4
#
DIVERGES
AFTER
4
TIMESTEPS
nl_rel_tol
=
1e12
#
Nonlinear
relative
tolerance
l_tol
=
1e6
#
Linear
tolerance
petsc_options_iname
=
'

pc_type

pc_hypre_type
'
petsc_options_value
=
'
hypre
boomeramg
'
[]
[
Outputs
]
exodus
=
true
print_perf_log
=
true
[]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment