Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
EvenSol committed Feb 8, 2025
1 parent b069c7d commit ee09428
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
19 changes: 10 additions & 9 deletions src/main/java/neqsim/thermo/phase/PhaseInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -422,16 +422,17 @@ public default void initPhysicalProperties(String name) {

/**
* method to get Leachman density of a phase using the Leachman EoS.
*
*
* @param hydrogenType Supported types are 'normal', 'para', 'ortho'
* @return density with unit kg/m3
*/
public double getDensity_Leachman(String hydrogenType);

/**
* Overloaded method to get the Leachman density with default hydrogen type ('normal').
*
* @return density with unit kg/m3
*/
* Overloaded method to get the Leachman density with default hydrogen type ('normal').
*
* @return density with unit kg/m3
*/
public double getDensity_Leachman();

/**
Expand All @@ -445,10 +446,10 @@ public default void initPhysicalProperties(String name) {
public double[] getProperties_Leachman(String hydrogenType);

/**
* Overloaded method to get the Leachman properties with default hydrogen type ('normal').
*
* @return density with unit kg/m3
*/
* Overloaded method to get the Leachman properties with default hydrogen type ('normal').
*
* @return density with unit kg/m3
*/

public double[] getProperties_Leachman();

Expand Down
3 changes: 2 additions & 1 deletion src/main/java/neqsim/thermo/util/leachman/Leachman.java
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ void Alpha0Leachman(double T, double D, doubleW[] a0) {
*
* @param T a double
* @param D a double
* @param x an array of type double
* @param P a {@link org.netlib.util.doubleW} object
* @param Z a {@link org.netlib.util.doubleW} object
* @param dPdD a {@link org.netlib.util.doubleW} object
Expand Down Expand Up @@ -735,6 +734,8 @@ void PseudoCriticalPointLeachman(doubleW Tcx, doubleW Dcx) {
* <p>
* SetupGERG.
* </p>
*
* @param hydrogenType String
*/
public void SetupLeachman(String hydrogenType) {
// Initialize all the constants and parameters in the GERG-2008 model.
Expand Down

0 comments on commit ee09428

Please sign in to comment.