Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heatpipepy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Akhil Gunda
heatpipepy
Commits
c13f2ab5
Commit
c13f2ab5
authored
5 months ago
by
Akhil Gunda
Browse files
Options
Downloads
Patches
Plain Diff
changes made to modify porosity estimation
parent
0b229d08
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
heatpipe.py
+7
-4
7 additions, 4 deletions
heatpipe.py
with
7 additions
and
4 deletions
heatpipe.py
+
7
−
4
View file @
c13f2ab5
...
@@ -117,10 +117,11 @@ class HeatPipe:
...
@@ -117,10 +117,11 @@ class HeatPipe:
# Number of struts per unit cell (4 diagonal + 12 edge struts / 4 shared)
# Number of struts per unit cell (4 diagonal + 12 edge struts / 4 shared)
n_struts_diagonal
=
4
n_struts_diagonal
=
4
n_struts_edge
=
12
/
4
n_struts_edge
=
0
# Volume of struts
# Volume of struts, corrected using Chenling's formula
V_strut_diagonal
=
math
.
pi
*
(
strut_diameter
/
2
)
**
2
*
l_diagonal
# V_strut_diagonal = math.pi * (strut_diameter/2)**2 * l_diagonal
V_strut_diagonal
=
math
.
sqrt
(
3
)
*
strut_diameter
**
2
*
(
math
.
pi
*
unit_cell_size
-
2
*
math
.
sqrt
(
2
)
*
strut_diameter
)
V_strut_edge
=
math
.
pi
*
(
strut_diameter
/
2
)
**
2
*
unit_cell_size
V_strut_edge
=
math
.
pi
*
(
strut_diameter
/
2
)
**
2
*
unit_cell_size
# Total volume of solid material in unit cell
# Total volume of solid material in unit cell
...
@@ -133,6 +134,7 @@ class HeatPipe:
...
@@ -133,6 +134,7 @@ class HeatPipe:
# Specific surface area for BCC lattice
# Specific surface area for BCC lattice
surface_area
=
(
n_struts_diagonal
*
math
.
pi
*
strut_diameter
*
l_diagonal
+
surface_area
=
(
n_struts_diagonal
*
math
.
pi
*
strut_diameter
*
l_diagonal
+
n_struts_edge
*
math
.
pi
*
strut_diameter
*
unit_cell_size
)
n_struts_edge
*
math
.
pi
*
strut_diameter
*
unit_cell_size
)
# surface_area = n_struts_diagonal * math.pi * strut_diameter * l_diagonal
specific_surface
=
surface_area
/
V_unit_cell
specific_surface
=
surface_area
/
V_unit_cell
# Kozeny constant for BCC lattice (typical range 4.5-5.5, is this correct? I also saw this can be 2-3)
# Kozeny constant for BCC lattice (typical range 4.5-5.5, is this correct? I also saw this can be 2-3)
...
@@ -143,7 +145,8 @@ class HeatPipe:
...
@@ -143,7 +145,8 @@ class HeatPipe:
# Calculate effective thermal conductivity using Maxwell's model
# Calculate effective thermal conductivity using Maxwell's model
# Assuming copper as base material and water as fluid
# Assuming copper as base material and water as fluid
k_fluid
=
self
.
fluid_properties
[
"
water
"
][
"
thermal_conductivity
"
]
fluid_properties
=
self
.
get_water_properties
(
operating_temp
,
quality
=
0
)
k_fluid
=
fluid_properties
[
"
thermal_conductivity
"
]
k_solid
=
material_conductivity
k_solid
=
material_conductivity
volume_fraction
=
1
-
porosity
volume_fraction
=
1
-
porosity
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment