SimonEnsemble / PorousMaterials.jl

Julia package towards classical molecular modeling of nanoporous materials
GNU General Public License v3.0
50 stars 11 forks source link

EOS Van der Waals + Peng Robinson #41

Closed CalebLaird closed 6 years ago

CalebLaird commented 6 years ago

Files include EOS file for Van der Waals + Peng Robinson, VDW constants and added runtests

SimonEnsemble commented 6 years ago

Very nice! calculate_properties looks great!

Thanks, the main vdw gas code looks great, these are just some cosmetic things. We shall put it in use over the next year!

SimonEnsemble commented 6 years ago

did you try running the tests? I get

EOS Tests: Error During Test at /home/simoncor/.julia/dev/PorousMaterials/test/eos_test.jl:11
  Got exception outside of a @test
  ArgumentError: "/home/simoncor/.julia/dev/PorousMaterials/test/data/VDW_Constants.csv" is not a valid file

is this file in the right place? please pull and try with Julia 1.0 too, as the 1./ was giving an error.

silsbyc96 commented 6 years ago

I just updated the file. It should be compatible with Julia 1.0 now. I ran the test file as well and I got ten passes out of ten.

SimonEnsemble commented 6 years ago

@silsbyc96 the build failed, see above. make a fresh clone of the github repo and make sure your files are committed, or git status.