public class Fluid
extends java.lang.Object
Constructor and Description |
---|
Fluid()
It builds a Fluid instance under 101.25 kPa of atmospheric pressure and
20.0°C of ambient drybulb temperature
|
Fluid(double v_Pressure,
double v_Temp)
Builds an instance of Fluid with the specified atmospheric pressure (kPa)
and ambient drybulb temperature (°C).
|
Modifier and Type | Method and Description |
---|---|
double |
getDensity()
Density (kg/m^3)
|
double |
getHfg()
It obtains the latent heat of fluid
|
double |
getHum()
Equilibrium humidity ratio (kg_w/kg_da)
|
java.lang.String |
getName()
It obtains the name of the object
|
double |
getPressure()
Returns the atmospheric pressure(kPa)
|
double |
getPs()
Saturated pressure of fluid (kPa)
|
double |
getSpEnthalpy()
Specific Enthalpy (kJ/kg)
|
double |
getSpEntropy()
Specific Entropy (kJ/kg-K)
|
double |
getSpHeat()
Specific Heat (kJ/kg-K)
|
double |
getTem()
Atmospheric drybulb temperature (°C)
|
double |
getThConductivity()
Thermal Conductivity (W/m-K)
|
double |
getViscosity()
Dynamic viscosity of fluid (uPa-s)
|
double |
getXCon()
Solute concentration mixing
|
void |
setPressure(double v_Pressure)
Adjusts the atmospheric pressure(kPa)
|
boolean |
setTem(double v_Temp)
It adjusts the atmospheric drybulb temperature
|
void |
setXCon(double v_XCon)
Adjust the solute concentration in the mixing (kg_solute/kg_solution)
|
public Fluid()
public Fluid(double v_Pressure, double v_Temp) throws Elements.OutOfRangeException
v_Pressure
- Atmospheric pressure double value (kPa)v_Temp
- Ambient drybulb temperature double vaule (°C)Elements.OutOfRangeException
public java.lang.String getName()
public void setPressure(double v_Pressure) throws Elements.OutOfRangeException
v_Pressure
- Atmospheric pressure double value (kPa)Elements.OutOfRangeException
public double getPressure()
public boolean setTem(double v_Temp) throws Elements.OutOfRangeException
v_Temp
- atmospheric drybulb temperature double value (°C)Elements.OutOfRangeException
public double getTem()
public void setXCon(double v_XCon) throws Elements.OutOfRangeException
v_XCon
- Concentration double value (kg_solute/kg_solution)Elements.OutOfRangeException
- The double value is less than 0.0 or more than 1.0public double getXCon()
public double getHum()
public double getSpHeat()
public double getSpEnthalpy()
public double getSpEntropy()
public double getThConductivity()
public double getDensity()
public double getViscosity()
double
value of dynamic viscosity (uPa-s)public double getPs()
public double getHfg()