Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
teqp_fork_old
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
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sven Michael Pohl
teqp_fork_old
Commits
73327b46
Commit
73327b46
authored
2 years ago
by
Ian Bell
Browse files
Options
Downloads
Patches
Plain Diff
More for model potentials
parent
0d77d76e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/source/models/model_potentials.ipynb
+18
-4
18 additions, 4 deletions
doc/source/models/model_potentials.ipynb
with
18 additions
and
4 deletions
doc/source/models/model_potentials.ipynb
+
18
−
4
View file @
73327b46
...
@@ -26,7 +26,19 @@
...
@@ -26,7 +26,19 @@
"id": "bf22ac3d",
"id": "bf22ac3d",
"metadata": {},
"metadata": {},
"source": [
"source": [
"# Square-well"
"## Square-well\n",
"\n",
"The potential is defined by\n",
"\n",
"$\n",
"V(r) = \\left\\lbrace \\begin{array}{cc}\n",
" \\infty & r < \\sigma \\\\\n",
" -\\varepsilon & \\sigma < r < \\lambda\\sigma \\\\\n",
" 0 & r > \\lambda \\sigma\n",
" \\end{array}\\right. \n",
"$\n",
"\n",
"from which an EOS can be developed by correlating results from molecular simulation."
]
]
},
},
{
{
...
@@ -50,7 +62,7 @@
...
@@ -50,7 +62,7 @@
"id": "f0caf9ea",
"id": "f0caf9ea",
"metadata": {},
"metadata": {},
"source": [
"source": [
"# EXP-6"
"#
#
EXP-6"
]
]
},
},
{
{
...
@@ -74,7 +86,9 @@
...
@@ -74,7 +86,9 @@
"id": "b87cbd05",
"id": "b87cbd05",
"metadata": {},
"metadata": {},
"source": [
"source": [
"# Lennard-Jones Fluid"
"## Lennard-Jones Fluid\n",
"\n",
"The EOS for Lennard-Jones is that from Thol et al."
]
]
},
},
{
{
...
@@ -96,7 +110,7 @@
...
@@ -96,7 +110,7 @@
"id": "fad87158",
"id": "fad87158",
"metadata": {},
"metadata": {},
"source": [
"source": [
"# Two-Center Lennard-Jones Fluid"
"#
#
Two-Center Lennard-Jones Fluid"
]
]
},
},
{
{
...
...
%% Cell type:markdown id:940cc903 tags:
%% Cell type:markdown id:940cc903 tags:
# Model Potentials
# Model Potentials
These EOS for model potentials are useful for understanding theory, and capture some (but perhaps not all) of the physics of "real" fluids.
These EOS for model potentials are useful for understanding theory, and capture some (but perhaps not all) of the physics of "real" fluids.
%% Cell type:code id:f5463428 tags:
%% Cell type:code id:f5463428 tags:
```
python
```
python
import
teqp
import
teqp
teqp
.
__version__
teqp
.
__version__
```
```
%% Cell type:markdown id:bf22ac3d tags:
%% Cell type:markdown id:bf22ac3d tags:
# Square-well
## Square-well
The potential is defined by
$
V(r) =
\l
eft
\l
brace
\b
egin{array}{cc}
\i
nfty & r <
\s
igma
\\
-
\v
arepsilon &
\s
igma < r <
\l
ambda
\s
igma
\\
0 & r >
\l
ambda
\s
igma
\e
nd{array}
\r
ight.
$
from which an EOS can be developed by correlating results from molecular simulation.
%% Cell type:code id:435a84a9 tags:
%% Cell type:code id:435a84a9 tags:
```
python
```
python
m
=
{
m
=
{
"
kind
"
:
"
SW_EspindolaHeredia2009
"
,
"
kind
"
:
"
SW_EspindolaHeredia2009
"
,
"
model
"
:
{
"
model
"
:
{
"
lambda
"
:
1.3
"
lambda
"
:
1.3
}
}
}
}
model
=
teqp
.
make_model
(
m
)
model
=
teqp
.
make_model
(
m
)
```
```
%% Cell type:markdown id:f0caf9ea tags:
%% Cell type:markdown id:f0caf9ea tags:
# EXP-6
#
# EXP-6
%% Cell type:code id:dc38b705 tags:
%% Cell type:code id:dc38b705 tags:
```
python
```
python
m
=
{
m
=
{
"
kind
"
:
"
EXP6_Kataoka1992
"
,
"
kind
"
:
"
EXP6_Kataoka1992
"
,
"
model
"
:
{
"
model
"
:
{
"
alpha
"
:
12
"
alpha
"
:
12
}
}
}
}
model
=
teqp
.
make_model
(
m
)
model
=
teqp
.
make_model
(
m
)
```
```
%% Cell type:markdown id:b87cbd05 tags:
%% Cell type:markdown id:b87cbd05 tags:
# Lennard-Jones Fluid
## Lennard-Jones Fluid
The EOS for Lennard-Jones is that from Thol et al.
%% Cell type:code id:739e3e2b tags:
%% Cell type:code id:739e3e2b tags:
```
python
```
python
m
=
{
m
=
{
"
kind
"
:
"
LJ126_TholJPCRD2016
"
,
"
kind
"
:
"
LJ126_TholJPCRD2016
"
,
"
model
"
:
{}
"
model
"
:
{}
}
}
model
=
teqp
.
make_model
(
m
)
model
=
teqp
.
make_model
(
m
)
```
```
%% Cell type:markdown id:fad87158 tags:
%% Cell type:markdown id:fad87158 tags:
# Two-Center Lennard-Jones Fluid
#
# Two-Center Lennard-Jones Fluid
%% Cell type:code id:ae5646de tags:
%% Cell type:code id:ae5646de tags:
```
python
```
python
m
=
{
m
=
{
'
kind
'
:
'
2CLJF-Dipole
'
,
'
kind
'
:
'
2CLJF-Dipole
'
,
'
model
'
:
{
'
model
'
:
{
"
author
"
:
"
2CLJF_Lisal
"
,
"
author
"
:
"
2CLJF_Lisal
"
,
'
L^*
'
:
0.5
,
'
L^*
'
:
0.5
,
'
(mu^*)^2
'
:
0.1
'
(mu^*)^2
'
:
0.1
}
}
}
}
model
=
teqp
.
make_model
(
m
)
model
=
teqp
.
make_model
(
m
)
m
=
{
m
=
{
'
kind
'
:
'
2CLJF-Quadrupole
'
,
'
kind
'
:
'
2CLJF-Quadrupole
'
,
'
model
'
:
{
'
model
'
:
{
"
author
"
:
"
2CLJF_Lisal
"
,
"
author
"
:
"
2CLJF_Lisal
"
,
'
L^*
'
:
0.5
,
'
L^*
'
:
0.5
,
'
(mu^*)^2
'
:
0.1
'
(mu^*)^2
'
:
0.1
}
}
}
}
model
=
teqp
.
make_model
(
m
)
model
=
teqp
.
make_model
(
m
)
```
```
...
...
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