Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: viscosity outputs #207

Merged
merged 40 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
2279c6e
draft fixes to the viscosity calculations
jcoulter12 Sep 19, 2023
bfdf721
fix the viscosity unit conversion value in constants
jcoulter12 Sep 19, 2023
f8ea7f5
drafts of unified print and outputToJSON functions for the viscosities
jcoulter12 Sep 19, 2023
6d3d38d
electron viscosity should work now baring final test
jcoulter12 Sep 20, 2023
5d3291f
move special eigenvector checks into helper functions and further cle…
jcoulter12 Sep 20, 2023
b488e04
further cleanup of print statements
jcoulter12 Sep 20, 2023
fc39129
[ci skip] also skip theta_e in electron viscosity
jcoulter12 Sep 20, 2023
a012d1e
potential minor bugfix for longrange correction to phonon frequencies
jcoulter12 Oct 12, 2023
dc51466
Merge remote-tracking branch 'origin/develop' into lotoFix
jcoulter12 Oct 12, 2023
42b7c44
merge in develop branch changes
jcoulter12 Oct 13, 2023
56fa002
vi
jcoulter12 Oct 13, 2023
5598ce9
move two minor functions for getting local states to the scattering m…
jcoulter12 Oct 13, 2023
d7e735b
move phonon viscosity class around so that special quantities for rel…
jcoulter12 Oct 13, 2023
a74a781
add a generic funciton to write D and W to file
jcoulter12 Oct 13, 2023
340c58d
add output functions for real space quantities to phonon transport app
jcoulter12 Oct 13, 2023
d097987
try to apply SI units to output of A and C
jcoulter12 Oct 14, 2023
4b5c1a1
update the band structure test to use a grid that avoids high symmetr…
jcoulter12 Oct 16, 2023
9158538
fix units on specific heat
jcoulter12 Oct 16, 2023
ea82085
fix units on specific heat
jcoulter12 Oct 16, 2023
3fbb795
Merge remote-tracking branch 'origin/lotoFix' into viscosityFix
jcoulter12 Oct 16, 2023
59c1e46
fix the units on Ai output to real space solver file
jcoulter12 Oct 16, 2023
c335021
add reference checks for phonon relaxons solvers
jcoulter12 Oct 16, 2023
b80f471
update a bunch of reference files for testing that had become off by …
jcoulter12 Oct 17, 2023
9940078
update run_check scripts to be far more robust and sensitive, plus ad…
jcoulter12 Oct 17, 2023
a2eb1a0
add a few more places where diff < tol needed to be abs(diff)
jcoulter12 Oct 17, 2023
74d93db
update rta electron viscosity ref file
jcoulter12 Oct 17, 2023
f90785b
add script to run build and test locally
jcoulter12 Oct 17, 2023
7d681f2
add a tol definition to epa run_check python script
jcoulter12 Oct 17, 2023
e9b4a67
[skip ci] add some checks for none type in lifetimes
jcoulter12 Oct 17, 2023
b143457
overhaul electron and phonon viscosity outputs so that many functions…
jcoulter12 Oct 18, 2023
4221f09
simplify a previously cryptic normalization convention on phi
jcoulter12 Oct 18, 2023
11d0e19
add citation to second relaxons paper
jcoulter12 Oct 18, 2023
eb2a4a5
fix units on Du
jcoulter12 Oct 18, 2023
6afa12f
update the reference for real space coeffs
jcoulter12 Oct 18, 2023
b4a0e41
try to avoid a failure in the ci
jcoulter12 Oct 19, 2023
3fd5bab
explicitly set C = 0 before calculating it
jcoulter12 Oct 19, 2023
1223b0c
prepare for use of only the upper triangle in viscosity functions
jcoulter12 Oct 19, 2023
fd329cd
add an extra space for better printing
jcoulter12 Oct 20, 2023
b63319b
Merge remote-tracking branch 'origin/develop' into viscosityFix
jcoulter12 Dec 29, 2023
c4ce081
remove factor of 1/2 in phonon loto splitting calculation, to be read…
jcoulter12 Dec 29, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
444 changes: 222 additions & 222 deletions example/Silicon-el/reference/electron_dos.json

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions example/Silicon-el/reference/omini_onsager_coefficients.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"chemicalPotentialUnit": "eV",
"chemicalPotentials": [
6.035118218880154
6.035118218880156
],
"dopingConcentrationUnit": "cm$^{-3}$",
"dopingConcentrations": [
Expand All @@ -10,59 +10,59 @@
"electricalConductivity": [
[
[
1066391.4971743794,
-289793.8997813027,
4566.364452619971
1066391.5409857002,
-289793.9320968505,
4566.462738887849
],
[
-289793.8997813028,
1151895.193393785,
-337899.06631070597
-289793.9320968505,
1151895.0630481504,
-337899.0698349804
],
[
4566.364452619923,
-337899.06631070597,
998450.0378176653
4566.462738887861,
-337899.0698349805,
998450.0517450017
]
]
],
"electricalConductivityUnit": "S / m",
"electronicThermalConductivity": [
[
[
1.6781987861636307,
-0.1710637440935966,
-0.19211462669209073
1.6781990164355256,
-0.1710638959989472,
-0.19211460996154542
],
[
-0.1710637440935966,
0.9678578937924746,
0.4516746232851072
-0.17106389599894717,
0.9678577439223721,
0.45167451270044356
],
[
-0.1921146266920907,
0.4516746232851072,
1.266280986145003
-0.19211460996154509,
0.45167451270044345,
1.2662811691503424
]
]
],
"electronicThermalConductivityUnit": "W / m / K",
"mobility": [
[
[
66.55892817221077,
-18.08751421161649,
0.285010077832953
66.55893090669858,
-18.08751622859452,
0.2850162123798444
],
[
-18.087514211616494,
71.8956496203895,
-21.090002821312535
-18.08751622859452,
71.89564148485414,
-21.090003041280465
],
[
0.28501007783295007,
-21.090002821312535,
62.31835543206705
0.28501621237984515,
-21.090003041280468,
62.3183563013431
]
]
],
Expand All @@ -71,19 +71,19 @@
"seebeckCoefficient": [
[
[
-3.7424372418452587,
-24.796052651143047,
14.061475434677567
-3.742438889377591,
-24.796053341711094,
14.061481098660376
],
[
-14.27223412711274,
-19.627092689304146,
-14.03864822095387
-14.272236536340396,
-19.627096832135617,
-14.038648947258137
],
[
14.754193077170289,
-8.445176195230758,
-59.58921730659688
14.754194469563988,
-8.445174906841952,
-59.58922181511855
]
]
],
Expand Down
74 changes: 37 additions & 37 deletions example/Silicon-el/reference/relaxons_onsager_coefficients.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"chemicalPotentialUnit": "eV",
"chemicalPotentials": [
6.035118218880154
6.035118218880156
],
"dopingConcentrationUnit": "cm$^{-3}$",
"dopingConcentrations": [
Expand All @@ -10,59 +10,59 @@
"electricalConductivity": [
[
[
1067530.7332082277,
-290006.58107817103,
4436.32221254359
1067530.7770820311,
-290006.61310913746,
4436.420795664228
],
[
-290006.5810781712,
1153855.7413901314,
-338000.6379879711
-290006.61310913746,
1153855.6108537314,
-338000.6402307394
],
[
4436.322212543693,
-338000.6379879711,
1000065.786079849
4436.420795664319,
-338000.6402307394,
1000065.8037742544
]
]
],
"electricalConductivityUnit": "S / m",
"electronicThermalConductivity": [
[
[
1.6776229090046266,
-0.17081690174008166,
-0.19170096461285577
1.6776231392547791,
-0.17081705355304855,
-0.1917009482018623
],
[
-0.17081690174008177,
0.9678516539851252,
0.4514474122636533
-0.1708170535530485,
0.9678515071457209,
0.45144730512497167
],
[
-0.1917009646128563,
0.45144741226365376,
1.267461719463827
-0.19170094820186226,
0.4514473051249718,
1.2674619033399948
]
]
],
"electronicThermalConductivityUnit": "W / m / K",
"mobility": [
[
[
66.63003369916687,
-18.100788735278147,
0.27689347887325416
66.63003643755455,
-18.100790734494005,
0.2768996319482392
],
[
-18.100788735278154,
72.01801741271788,
-21.09634242734778
-18.100790734494005,
72.01800926527588,
-21.096342567330378
],
[
0.2768934788732606,
-21.09634242734778,
62.41920251572443
0.27689963194824496,
-21.096342567330378,
62.41920362012244
]
]
],
Expand All @@ -71,19 +71,19 @@
"seebeckCoefficient": [
[
[
-3.7527253426454275,
-24.814589825491346,
14.066243252734463
-3.752727013796466,
-24.814590522256342,
14.06624886048681
],
[
-14.269692448493183,
-19.670452323177294,
-14.044509363693116
-14.269694926651306,
-19.670456531364408,
-14.044510304324803
],
[
14.770859339833983,
-8.530199050553346,
-59.603289326038286
14.770860636747088,
-8.530197836093583,
-59.60329408298884
]
]
],
Expand Down
Loading
Loading