-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
---------------------------------------------------------------- | ||
Thu May 16 10:57:58 CEST 2019: | ||
Booting Derby (version The Apache Software Foundation - Apache Derby - 10.12.1.1 - (1704137)) instance a816c00e-016a-bfdc-b7e3-00000448ab50 | ||
on database directory classpath:data/neqsimthermodatabase in READ ONLY mode with class loader com.mathworks.jmi.CustomURLClassLoader@5b6813df. | ||
Loaded from file:/C:/Users/esol/OneDrive%20-%20Equinor/programming/neqsimmatlab/ext/NeqSim.jar. | ||
java.vendor=Oracle Corporation | ||
java.runtime.version=1.8.0_121-b13 | ||
user.dir=C:\Users\esol\Documents\MATLAB | ||
os.name=Windows 10 | ||
os.arch=amd64 | ||
os.version=10.0 | ||
derby.system.home=null | ||
Database Class Loader started - derby.database.classpath='' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
system1 = neqsim.thermo.system.SystemSrkEos(250.0, 20.0); % Kelvin / bara | ||
system1.addComponent('methane', 90.0); | ||
system1.addComponent('CO2', 10.0); | ||
system1.setMixingRule(2); | ||
system1.setSolidPhaseCheck('CO2'); | ||
freezt(system1); | ||
system1 | ||
|
||
disp(['freezing temperature ',num2str(system1.getTemperature()-273.15)]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
system1 = thermo('srk', 250.0, 20.0); % EoS / Temperature [Kelvin] / Pressure [bara] | ||
system1.addComponent('methane', 90.0); | ||
system1.addComponent('CO2', 10.0); | ||
system1.setMixingRule('classic'); | ||
system1.setSolidPhaseCheck('CO2'); | ||
freezt(system1); | ||
system1 | ||
disp(['freezing temperature ',num2str(system1.getTemperature()-273.15)]) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters