teqp 0.22.0
Loading...
Searching...
No Matches
lennardjones.hpp
Go to the documentation of this file.
1#pragma once
2
4#include "teqp/types.hpp"
7
8namespace teqp {
9
14 std::string contents = R"(
15
16 {
17 "EOS": [
18 {
19 "BibTeX_CP0": "",
20 "BibTeX_EOS": "Thol-THESIS-2015",
21 "STATES": {
22 "reducing": {
23 "T": 1.32,
24 "T_units": "LJ units",
25 "rhomolar": 0.31,
26 "rhomolar_units": "LJ units"
27 }
28 },
29 "T_max": 1200,
30 "T_max_units": "LJ units",
31 "Ttriple": 0.661,
32 "Ttriple_units": "LJ units",
33 "alphar": [
34 {
35 "d": [4, 1, 1, 2, 2, 3, 1, 1, 3, 2, 2, 5],
36 "l": [0, 0, 0, 0, 0, 0, 1, 2, 2, 1, 2, 1],
37 "n": [0.52080730e-2, 0.21862520e+1, -0.21610160e+1, 0.14527000e+1, -0.20417920e+1, 0.18695286e+0, -0.62086250e+0, -0.56883900e+0, -0.80055922e+0, 0.10901431e+0, -0.49745610e+0, -0.90988445e-1],
38 "t": [1.000, 0.320, 0.505, 0.672, 0.843, 0.898, 1.205, 1.786, 2.770, 1.786, 2.590, 1.294],
39 "type": "ResidualHelmholtzPower"
40 },
41 {
42 "beta": [0.625, 0.638, 3.91, 0.156, 0.157, 0.153, 1.16, 1.73, 383, 0.112, 0.119],
43 "d": [1, 1, 2, 3, 3, 2, 1, 2, 3, 1, 1],
44 "epsilon": [ 0.2053, 0.409, 0.6, 1.203, 1.829, 1.397, 1.39, 0.539, 0.934, 2.369, 2.43],
45 "eta": [2.067, 1.522, 8.82, 1.722, 0.679, 1.883, 3.925, 2.461, 28.2, 0.753, 0.82],
46 "gamma": [0.71, 0.86, 1.94, 1.48, 1.49, 1.945, 3.02, 1.11, 1.17, 1.33, 0.24],
47 "n": [-0.14667177e+1, 0.18914690e+1, -0.13837010e+0, -0.38696450e+0, 0.12657020e+0, 0.60578100e+0, 0.11791890e+1, -0.47732679e+0, -0.99218575e+1, -0.57479320e+0, 0.37729230e-2],
48 "t": [2.830, 2.548, 4.650, 1.385, 1.460, 1.351, 0.660, 1.496, 1.830, 1.616, 4.970],
49 "type": "ResidualHelmholtzGaussian"
50 }
51 ],
52 "gas_constant": 1.0,
53 "gas_constant_units": "LJ units",
54 "molar_mass": 1.0,
55 "molar_mass_units": "LJ units",
56 "p_max": 100000,
57 "p_max_units": "LJ units",
58 "pseudo_pure": false
59 }
60 ],
61 "INFO":{
62 "NAME": "LennardJones",
63 "REFPROP_NAME": "LJF",
64 "CAS": "N/A"
65 }
66 }
67
68 )";
69
70 return teqp::build_multifluid_JSONstr({ contents }, "{}", "{}");
71 };
72};
73
auto build_multifluid_JSONstr(const std::vector< std::string > &componentJSON, const std::string &BIPJSON, const std::string &departureJSON, const nlohmann::json &flags={})
A builder function where the JSON-formatted strings are provided explicitly rather than file paths.
auto build_LJ126_TholJPCRD2016()