Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
3672dc7f
Commit
3672dc7f
authored
5 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MatL] Adsorption; Remove unused getSpecHeatCap().
getSpecificHeatCapacity()
parent
10762aa0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MaterialLib/Adsorption/Adsorption.cpp
+0
-13
0 additions, 13 deletions
MaterialLib/Adsorption/Adsorption.cpp
MaterialLib/Adsorption/Adsorption.h
+0
-1
0 additions, 1 deletion
MaterialLib/Adsorption/Adsorption.h
with
0 additions
and
14 deletions
MaterialLib/Adsorption/Adsorption.cpp
+
0
−
13
View file @
3672dc7f
...
...
@@ -72,19 +72,6 @@ double AdsorptionReaction::getEvaporationEnthalpy(double T_Ads) // in kJ/kg
}
// evaluate specific heat capacity of adsorbate follwing Nunez
double
AdsorptionReaction
::
getSpecificHeatCapacity
(
const
double
T_Ads
)
{
const
double
c
[]
=
{
4.224
,
-
3.716e-3
,
9.351e-5
,
-
7.1786e-7
,
-
9.1266e-9
,
2.69247e-10
,
-
2.773104e-12
,
1.553177e-14
,
-
4.982795e-17
,
8.578e-20
,
-
6.12423e-23
};
double
cp
=
0.
;
for
(
unsigned
i
=
0
;
i
<
sizeof
(
c
)
/
sizeof
(
c
[
0
]);
i
++
)
{
cp
+=
c
[
i
]
*
pow
(
T_Ads
,
i
);
}
return
cp
;
// kJ/(kg*K)
}
double
AdsorptionReaction
::
getMolarFraction
(
double
xm
,
double
M_this
,
double
M_other
)
{
return
M_other
*
xm
/
(
M_other
*
xm
+
M_this
*
(
1.0
-
xm
));
...
...
This diff is collapsed.
Click to expand it.
MaterialLib/Adsorption/Adsorption.h
+
0
−
1
View file @
3672dc7f
...
...
@@ -23,7 +23,6 @@ public:
// TODO [CL] move those three methods to water properties class
static
double
getEvaporationEnthalpy
(
const
double
T_Ads
);
static
double
getEquilibriumVapourPressure
(
const
double
T_Ads
);
static
double
getSpecificHeatCapacity
(
const
double
T_Ads
);
// TODO [CL] why unused?
static
double
getMolarFraction
(
double
xm
,
double
M_this
,
double
M_other
);
static
double
dMolarFraction
(
double
xm
,
double
M_this
,
double
M_other
);
...
...
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