Class ComponentEos
- All Implemented Interfaces:
Serializable, Cloneable, ComponentEosInterface, ComponentInterface, ThermodynamicConstantsInterface
- Direct Known Subclasses:
ComponentAmmoniaEos, ComponentGERG2004, ComponentGERG2008Eos, ComponentLeachmanEos, ComponentPR, ComponentRK, ComponentSpanWagnerEos, ComponentSrk, ComponentTST, ComponentVegaEos, ComponentWater
Abstract ComponentEos class.
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleprotected doubleprotected doubleprotected doubleprotected doubledoubledoubledoubledouble[]doubledoubledoubleprivate AttractiveTermInterfacedoubleprotected doubleprotected doubledoubledouble[]protected double[]protected double[]protected doubleprotected double(package private) static org.apache.logging.log4j.LoggerLogger object for class.doubleprivate static final longSerialization version UID.Fields inherited from class Component
acentricFactor, aCPA, AntoineA, AntoineASolid, AntoineB, AntoineBSolid, AntoineC, AntoineCSolid, AntoineD, AntoineE, antoineLiqVapPresType, associationEnergy, associationScheme, associationVolume, attractiveTermNumber, bCPA, calcActivity, componentName, componentNumber, criticalPressure, criticalTemperature, criticalViscosity, criticalVolume, debyeDipoleMoment, dfugdn, dfugdp, dfugdt, dfugdx, dielectricParameter, dqPuredT, dqPuredTdT, elements, epsikSAFT, fugacityCoefficient, gibbsEnergyOfFormation, heatOfVaporizationCoefs, henryCoefParameter, Hsub, idealGasAbsoluteEntropy, idealGasGibbsEnergyOfFormation, index, ionicCharge, isIon, isNormalComponent, isPlusFraction, isTBPfraction, K, lennardJonesEnergyParameter, lennardJonesMolecularDiameter, liquidConductivityParameter, liquidDensityCoefs, liquidViscosityModel, liquidViscosityParameter, matiascopemanParams, matiascopemanParamsPR, matiascopemanParamsUMRPRU, matiascopemanSolidParams, mCPA, meltingPointTemperature, molarMass, mSAFTi, normalBoilingPoint, normalLiquidDensity, numberOfAssociationSites, numberOfMoles, numberOfMolesInPhase, parachorParameter, paulingAnionicDiameter, qPure, racketZ, referencePotential, referenceStateType, schwartzentruberParams, sigmaSAFTi, solidCheck, solidDensityCoefs, sphericalCoreRadius, srkacentricFactor, standardDensity, stokesCationicDiameter, surfTensInfluenceParam, triplePointDensity, triplePointPressure, TwuCoonParams, viscosityCorrectionFactor, viscosityFrictionK, voli, x, zFields inherited from interface ThermodynamicConstantsInterface
atm, avagadroNumber, boltzmannConstant, electronCharge, faradayConstant, gravity, molarMassAir, normalStateTemperature, pi, planckConstant, R, referencePressure, referenceTemperature, standardStateTemperature, vacumPermittivity -
Constructor Summary
ConstructorsConstructorDescriptionComponentEos(int number, double TC, double PC, double M, double a, double moles) Constructor for ComponentEos.ComponentEos(String name, double moles, double molesInPhase, int compIndex) Constructor for ComponentEos. -
Method Summary
Modifier and TypeMethodDescriptiondoublealpha(double temperature) alpha.doubleaT(double temperature) aT.abstract doublecalca()calca.abstract doublecalcb()calcb.clone()clone.doubledFdN(PhaseInterface phase, int numberOfComponents, double temperature, double pressure) dFdN.doubledFdNdN(int j, PhaseInterface phase, int numberOfComponents, double temperature, double pressure) dFdNdN.doubledFdNdT(PhaseInterface phase, int numberOfComponents, double temperature, double pressure) dFdNdT.doubledFdNdV(PhaseInterface phase, int numberOfComponents, double temperature, double pressure) dFdNdV.doublediffalphaT(double temperature) diffalphaT.doublediffaT(double temperature) diffaT.doublediffdiffalphaT(double temperature) diffdiffalphaT.doublediffdiffaT(double temperature) diffdiffaT.booleanvoidFinit(PhaseInterface phase, double temp, double pres, double totMoles, double beta, int numberOfComponents, int initType) Finit.doublefugcoef(PhaseInterface phase) Calculate, set and return fugacity coefficient.doublegeta()geta.doublegetAder()getAder.doublegetaDiffDiffT.doublegetaDiffT.doublegetAi()getAi.doublegetAij(int j) getAij.doublegetAiT()getAiT.doublegetAresnTV(PhaseInterface phase) getAresnTV.doublegetaT()getaT.Getter for the fieldattractiveParameter.getAttractiveTerm.doublegetb()getb.doublegetBder()getBder.doublegetBi()getBi.doublegetBij(int j) getBij.doublegetChemicalPotential.doublegetdAdndn(int j) getdAdndn.doublegetdAdT()getdAdT.doublegetdAdTdn.doublegetdAdTdT.doublegetdBdndn(int j) getdBdndn.doublegetdBdndT.doublegetdBdT()getdBdT.double[]getDeltaEosParameters.doublegetdUdndnSV(PhaseInterface phase, int compNumb1, int compNumb2) getdUdndnSV.doublegetdUdnSV(PhaseInterface phase) getdUdnSV.doublegetdUdSdnV(PhaseInterface phase) getdUdSdnV.doublegetdUdVdnS(PhaseInterface phase) getdUdVdnS.doublegetSurfaceTenisionInfluenceParameter(double temperature) getSurfaceTenisionInfluenceParameter.voidinit(double temp, double pres, double totMoles, double beta, int initType) Initialize component.double[]logfugcoefdN(PhaseInterface phase) logfugcoefdN.doublelogfugcoefdNi(PhaseInterface phase, int k) logfugcoefdNi.doublelogfugcoefdP(PhaseInterface phase) logfugcoefdP.doublelogfugcoefdT(PhaseInterface phase) logfugcoefdT.voidseta(double a) seta.voidsetAder(double val) setAder.voidsetAttractiveParameter(AttractiveTermInterface attractiveParameter) Setter for the fieldattractiveParameter.voidsetAttractiveTerm(int i) setAttractiveTerm.voidsetb(double b) setb.voidsetBder(double val) setBder.voidsetdAdndn(int jComp, double val) setdAdndn.voidsetdAdT(double val) setdAdT.voidsetdAdTdn(double val) setdAdTdn.voidsetdAdTdT(double val) setdAdTdT.voidsetdBdndn(int jComp, double val) setdBdndn.voidsetdBdndT(double val) setdBdndT.voidsetdBdTdT(double val) setdBdTdT.Methods inherited from class Component
addMolesChemReac, calcActivity, createComponent, doSolidCheck, fugcoefDiffPresNumeric, fugcoefDiffTempNumeric, getAcentricFactor, getAntoineASolid, getAntoineBSolid, getAntoineCSolid, getAntoineVaporPressure, getAntoineVaporPressuredT, getAntoineVaporTemperature, getAssociationEnergy, getAssociationEnergySAFT, getAssociationScheme, getAssociationVolume, getAssociationVolumeSAFT, getAttractiveTermNumber, getCASnumber, getCCsolidVaporPressure, getCCsolidVaporPressuredT, getChemicalPotential, getChemicalPotentialdN, getChemicalPotentialdNTV, getChemicalPotentialdP, getChemicalPotentialdP, getChemicalPotentialdT, getChemicalPotentialdV, getChemicalPotentialIdealReference, getComponentName, getComponentNumber, getComponentType, getCp0, getCpA, getCpB, getCpC, getCpD, getCpE, getCriticalCompressibilityFactor, getCriticalViscosity, getCriticalVolume, getCv0, getDebyeDipoleMoment, getdfugdn, getdfugdp, getdfugdt, getdfugdx, getDiElectricConstant, getDiElectricConstantdT, getDiElectricConstantdTdT, getdrhodN, getElements, getEnthalpy, getEntropy, getEpsikSAFT, getFlowRate, getFormulae, getFugacityCoefficient, getFugacitydN, getGibbsEnergy, getGibbsEnergyOfFormation, getGresTP, getHeatOfFusion, getHeatOfVapourization, getHenryCoef, getHenryCoefdT, getHenryCoefParameter, getHID, getHresTP, getHsub, getIdealGasAbsoluteEntropy, getIdealGasEnthalpyOfFormation, getIdealGasGibbsEnergyOfFormation, getIdEntropy, getIndex, getIonicCharge, getIonicDiameter, getK, getLennardJonesEnergyParameter, getLennardJonesMolecularDiameter, getLiquidConductivityParameter, getLiquidViscosityModel, getLiquidViscosityParameter, getMatiascopemanParams, getMatiascopemanParams, getMatiascopemanParamsPR, getMatiascopemanParamsUMRPRU, getMatiascopemanSolidParams, getMeltingPointTemperature, getMolality, getMolarity, getMolarMass, getMolarMass, getmSAFTi, getName, getNormalBoilingPoint, getNormalBoilingPoint, getNormalLiquidDensity, getNormalLiquidDensity, getNumberOfAssociationSites, getNumberOfmoles, getNumberOfMolesInPhase, getOrginalNumberOfAssociationSites, getParachorParameter, getPaulingAnionicDiameter, getPC, getPC, getPureComponentCpLiquid, getPureComponentCpSolid, getPureComponentHeatOfVaporization, getPureComponentLiquidDensity, getPureComponentSolidDensity, getRacketZ, getRacketZCPA, getRate, getReferenceEnthalpy, getReferencePotential, getReferenceStateType, getSchwartzentruberParams, getSigmaSAFTi, getSolidVaporPressure, getSolidVaporPressuredT, getSphericalCoreRadius, getSresTP, getStandardDensity, getStokesCationicDiameter, getSurfTensInfluenceParam, getTC, getTC, getTotalFlowRate, getTriplePointDensity, getTriplePointPressure, getTriplePointTemperature, getTwuCoonParams, getViscosityCorrectionFactor, getViscosityFrictionK, getVoli, getVolumeCorrection, getVolumeCorrectionConst, getVolumeCorrectionT, getVolumeCorrectionT_CPA, getx, getz, hasVolumeCorrection, insertComponentIntoDatabase, isHydrateFormer, isHydrocarbon, isInert, isIsHydrateFormer, isIsIon, isIsNormalComponent, isIsPlusFraction, isIsTBPfraction, isWaxFormer, reducedPressure, reducedTemperature, setAcentricFactor, setAntoineASolid, setAntoineBSolid, setAntoineCSolid, setAssociationEnergy, setAssociationEnergySAFT, setAssociationScheme, setAssociationVolume, setAssociationVolumeSAFT, setCASnumber, setComponentName, setComponentNumber, setComponentType, setCpA, setCpB, setCpC, setCpD, setCpE, setCriticalCompressibilityFactor, setCriticalViscosity, setCriticalVolume, setdfugdn, setdfugdp, setdfugdt, setdfugdx, setEpsikSAFT, setFormulae, setFugacityCoefficient, setHeatOfFusion, setHenryCoefParameter, setIdealGasEnthalpyOfFormation, setIsAllTypesFalse, setIsHydrateFormer, setIsIon, setIsNormalComponent, setIsPlusFraction, setIsTBPfraction, setK, setLennardJonesEnergyParameter, setLennardJonesMolecularDiameter, setLiquidConductivityParameter, setLiquidViscosityModel, setLiquidViscosityParameter, setMatiascopemanParams, setMatiascopemanParams, setMatiascopemanParamsPR, setMatiascopemanSolidParams, setMolarMass, setMolarMass, setmSAFTi, setNormalBoilingPoint, setNormalLiquidDensity, setNumberOfAssociationSites, setNumberOfmoles, setNumberOfMolesInPhase, setParachorParameter, setPaulingAnionicDiameter, setPC, setPC, setProperties, setRacketZ, setRacketZCPA, setReferenceEnthalpy, setReferencePotential, setSchwartzentruberParams, setSigmaSAFTi, setSolidCheck, setSphericalCoreRadius, setStandardDensity, setStokesCationicDiameter, setSurfTensInfluenceParam, setTC, setTC, setTriplePointTemperature, setTwuCoonParams, setViscosityAssociationFactor, setViscosityFrictionK, setVoli, setVolumeCorrection, setVolumeCorrectionConst, setVolumeCorrectionT, setVolumeCorrectionT_CPA, setWaxFormer, setx, setzMethods inherited from class Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ComponentInterface
addMoles, addMolesChemReac, addMolesChemReac, calcActivity, createComponent, doSolidCheck, fugcoefDiffPresNumeric, fugcoefDiffTempNumeric, getAcentricFactor, getAntoineASolid, getAntoineBSolid, getAntoineCSolid, getAntoineVaporPressure, getAntoineVaporPressuredT, getAntoineVaporTemperature, getAssociationEnergy, getAssociationEnergySAFT, getAssociationScheme, getAssociationVolume, getAssociationVolumeSAFT, getAttractiveTermNumber, getCASnumber, getCCsolidVaporPressure, getCCsolidVaporPressuredT, getChemicalPotential, getChemicalPotentialdN, getChemicalPotentialdNTV, getChemicalPotentialdP, getChemicalPotentialdT, getChemicalPotentialdV, getChemicalPotentialIdealReference, getComponentName, getComponentNumber, getComponentType, getCp0, getCpA, getCpB, getCpC, getCpD, getCpE, getCriticalCompressibilityFactor, getCriticalViscosity, getCriticalVolume, getCv0, getDebyeDipoleMoment, getdfugdn, getdfugdp, getdfugdt, getdfugdx, getDiElectricConstant, getDiElectricConstantdT, getDiElectricConstantdTdT, getdrhodN, getElements, getEnthalpy, getEntropy, getEpsikSAFT, getFlowRate, getFormulae, getFugacityCoefficient, getGibbsEnergy, getGibbsEnergyOfFormation, getGresTP, getHeatOfFusion, getHeatOfVapourization, getHenryCoef, getHenryCoefdT, getHenryCoefParameter, getHID, getHresTP, getHsub, getIdealGasAbsoluteEntropy, getIdealGasEnthalpyOfFormation, getIdealGasGibbsEnergyOfFormation, getIdEntropy, getIndex, getIonicCharge, getK, getLennardJonesEnergyParameter, getLennardJonesMolecularDiameter, getLiquidConductivityParameter, getLiquidViscosityModel, getLiquidViscosityParameter, getLogFugacityCoefficient, getMatiascopemanParams, getMatiascopemanSolidParams, getMeltingPointTemperature, getMolality, getMolarity, getMolarMass, getMolarMass, getmSAFTi, getName, getNormalBoilingPoint, getNormalBoilingPoint, getNormalLiquidDensity, getNormalLiquidDensity, getNumberOfAssociationSites, getNumberOfmoles, getNumberOfMolesInPhase, getOrginalNumberOfAssociationSites, getParachorParameter, getPaulingAnionicDiameter, getPC, getPC, getPureComponentCpLiquid, getPureComponentCpSolid, getPureComponentHeatOfVaporization, getPureComponentLiquidDensity, getPureComponentSolidDensity, getRacketZ, getRacketZCPA, getRate, getReferencePotential, getReferenceStateType, getSchwartzentruberParams, getSigmaSAFTi, getSolidVaporPressure, getSolidVaporPressuredT, getSphericalCoreRadius, getSresTP, getStokesCationicDiameter, getSurfTensInfluenceParam, getTC, getTC, getTotalFlowRate, getTriplePointDensity, getTriplePointPressure, getTriplePointTemperature, getTwuCoonParams, getViscosityCorrectionFactor, getViscosityFrictionK, getVoli, getVolumeCorrection, getVolumeCorrectionConst, getVolumeCorrectionT, getVolumeCorrectionT_CPA, getx, getz, insertComponentIntoDatabase, isHydrateFormer, isHydrocarbon, isInert, isIsIon, isIsNormalComponent, isIsPlusFraction, isIsTBPfraction, isWaxFormer, reducedPressure, reducedTemperature, setAcentricFactor, setAntoineASolid, setAntoineBSolid, setAntoineCSolid, setAssociationEnergy, setAssociationEnergySAFT, setAssociationScheme, setAssociationVolume, setAssociationVolumeSAFT, setCASnumber, setComponentName, setComponentNumber, setComponentType, setCpA, setCpB, setCpC, setCpD, setCpE, setCriticalCompressibilityFactor, setCriticalViscosity, setCriticalVolume, setdfugdn, setdfugdp, setdfugdt, setdfugdx, setEpsikSAFT, setFormulae, setFugacityCoefficient, setHeatOfFusion, setHenryCoefParameter, setIdealGasEnthalpyOfFormation, setIsHydrateFormer, setIsIon, setIsNormalComponent, setIsPlusFraction, setIsTBPfraction, setK, setLennardJonesEnergyParameter, setLennardJonesMolecularDiameter, setLiquidConductivityParameter, setLiquidViscosityModel, setLiquidViscosityParameter, setMatiascopemanParams, setMatiascopemanParams, setMolarMass, setMolarMass, setmSAFTi, setNormalBoilingPoint, setNormalLiquidDensity, setNumberOfAssociationSites, setNumberOfmoles, setNumberOfMolesInPhase, setParachorParameter, setPC, setPC, setProperties, setRacketZ, setRacketZCPA, setReferencePotential, setSchwartzentruberParams, setSigmaSAFTi, setSolidCheck, setSphericalCoreRadius, setStokesCationicDiameter, setSurfTensInfluenceParam, setTC, setTC, setTriplePointTemperature, setTwuCoonParams, setViscosityAssociationFactor, setViscosityFrictionK, setVolumeCorrection, setVolumeCorrectionConst, setVolumeCorrectionT, setVolumeCorrectionT_CPA, setWaxFormer, setx, setz
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
a
public double a -
b
public double b -
m
public double m -
alpha
public double alpha -
aT
public double aT -
aDiffT
public double aDiffT -
Bi
public double Bi -
Ai
public double Ai -
AiT
public double AiT -
aDiffDiffT
public double aDiffDiffT -
Aij
public double[] Aij -
Bij
public double[] Bij -
delta1
protected double delta1 -
delta2
protected double delta2 -
aDern
protected double aDern -
aDerT
protected double aDerT -
aDerTT
protected double aDerTT -
aDerTn
protected double aDerTn -
bDern
protected double bDern -
bDerTn
protected double bDerTn -
dAdndn
protected double[] dAdndn -
dBdndn
protected double[] dBdndn -
attractiveParameter
-
logger
static org.apache.logging.log4j.Logger loggerLogger object for class.
-
-
Constructor Details
-
ComponentEos
Constructor for ComponentEos.
- Parameters:
name- Name of component.moles- Total number of moles of component.molesInPhase- Number of moles in phase.compIndex- Index number of component in phase object component array.
-
ComponentEos
public ComponentEos(int number, double TC, double PC, double M, double a, double moles) Constructor for ComponentEos.
- Parameters:
number- a int. Not used.TC- Critical temperature [K]PC- Critical pressure [bara]M- Molar massa- Acentric factormoles- Total number of moles of component.
-
-
Method Details
-
clone
clone.
- Specified by:
clonein interfaceComponentInterface- Overrides:
clonein classComponent- Returns:
- a
ComponentInterfaceobject
-
init
public void init(double temp, double pres, double totMoles, double beta, int initType) Initialize component.
- Specified by:
initin interfaceComponentInterface- Overrides:
initin classComponent- Parameters:
temp- Temperature in unit ?. Used to calculateK.pres- Pressure in unit ?. Used to calculateK.totMoles- Total number of moles of component.beta- Beta value, i.e.,initType- Init type. CalculateK,z,xif type == 0.
-
Finit
public void Finit(PhaseInterface phase, double temp, double pres, double totMoles, double beta, int numberOfComponents, int initType) Finit.
- Specified by:
Finitin interfaceComponentInterface- Overrides:
Finitin classComponent- Parameters:
phase- aPhaseInterfaceobjecttemp- a doublepres- a doubletotMoles- a doublebeta- a doublenumberOfComponents- a intinitType- a int
-
setAttractiveTerm
public void setAttractiveTerm(int i) setAttractiveTerm.
- Specified by:
setAttractiveTermin interfaceComponentInterface- Overrides:
setAttractiveTermin classComponent- Parameters:
i- a int
-
getAttractiveTerm
getAttractiveTerm.
- Specified by:
getAttractiveTermin interfaceComponentInterface- Overrides:
getAttractiveTermin classComponent- Returns:
- a
AttractiveTermInterfaceobject
-
geta
-
getb
-
dFdN
public double dFdN(PhaseInterface phase, int numberOfComponents, double temperature, double pressure) dFdN.
- Specified by:
dFdNin interfaceComponentEosInterface- Parameters:
phase- aPhaseInterfaceobjectnumberOfComponents- a inttemperature- a doublepressure- a double- Returns:
- a double
-
dFdNdT
public double dFdNdT(PhaseInterface phase, int numberOfComponents, double temperature, double pressure) dFdNdT.
- Specified by:
dFdNdTin interfaceComponentEosInterface- Parameters:
phase- aPhaseInterfaceobjectnumberOfComponents- a inttemperature- a doublepressure- a double- Returns:
- a double
-
dFdNdV
public double dFdNdV(PhaseInterface phase, int numberOfComponents, double temperature, double pressure) dFdNdV.
- Specified by:
dFdNdVin interfaceComponentEosInterface- Parameters:
phase- aPhaseInterfaceobjectnumberOfComponents- a inttemperature- a doublepressure- a double- Returns:
- a double
-
dFdNdN
public double dFdNdN(int j, PhaseInterface phase, int numberOfComponents, double temperature, double pressure) dFdNdN.
- Specified by:
dFdNdNin interfaceComponentEosInterface- Parameters:
j- a intphase- aPhaseInterfaceobjectnumberOfComponents- a inttemperature- a doublepressure- a double- Returns:
- a double
-
getAi
public double getAi()getAi.
- Specified by:
getAiin interfaceComponentEosInterface- Returns:
- a double
-
getAiT
public double getAiT()getAiT.
- Specified by:
getAiTin interfaceComponentEosInterface- Returns:
- a double
-
getBi
public double getBi()getBi.
- Specified by:
getBiin interfaceComponentEosInterface- Returns:
- a double
-
getBij
public double getBij(int j) getBij.
- Specified by:
getBijin interfaceComponentEosInterface- Parameters:
j- a int- Returns:
- a double
-
getAij
public double getAij(int j) getAij.
- Specified by:
getAijin interfaceComponentEosInterface- Parameters:
j- a int- Returns:
- a double
-
getaDiffT
public double getaDiffT()getaDiffT.
- Specified by:
getaDiffTin interfaceComponentEosInterface- Returns:
- a double
-
getaDiffDiffT
public double getaDiffDiffT()getaDiffDiffT.
- Specified by:
getaDiffDiffTin interfaceComponentEosInterface- Returns:
- a double
-
getaT
public double getaT()getaT.
- Specified by:
getaTin interfaceComponentEosInterface- Returns:
- a double
-
fugcoef
Calculate, set and return fugacity coefficient.
- Specified by:
fugcoefin interfaceComponentInterface- Overrides:
fugcoefin classComponent- Parameters:
phase- aPhaseInterfaceobject to get fugacity coefficient of.- Returns:
- Fugacity coefficient
-
logfugcoefdP
logfugcoefdP.
- Specified by:
logfugcoefdPin interfaceComponentInterface- Overrides:
logfugcoefdPin classComponent- Parameters:
phase- aPhaseInterfaceobject- Returns:
- a double
-
logfugcoefdT
logfugcoefdT.
- Specified by:
logfugcoefdTin interfaceComponentInterface- Overrides:
logfugcoefdTin classComponent- Parameters:
phase- aPhaseInterfaceobject- Returns:
- a double
-
logfugcoefdN
logfugcoefdN.
- Specified by:
logfugcoefdNin interfaceComponentInterface- Overrides:
logfugcoefdNin classComponent- Parameters:
phase- aPhaseInterfaceobject- Returns:
- an array of type double
-
logfugcoefdNi
logfugcoefdNi.
- Specified by:
logfugcoefdNiin interfaceComponentInterface- Overrides:
logfugcoefdNiin classComponent- Parameters:
phase- aPhaseInterfaceobjectk- a int- Returns:
- a double
-
getAder
public double getAder()getAder.
- Specified by:
getAderin interfaceComponentEosInterface- Returns:
- a double
-
setAder
public void setAder(double val) setAder.
- Specified by:
setAderin interfaceComponentEosInterface- Parameters:
val- a double
-
getdAdndn
public double getdAdndn(int j) getdAdndn.
- Specified by:
getdAdndnin interfaceComponentEosInterface- Parameters:
j- a int- Returns:
- a double
-
setdAdndn
public void setdAdndn(int jComp, double val) setdAdndn.
- Specified by:
setdAdndnin interfaceComponentEosInterface- Parameters:
jComp- a intval- a double
-
setdAdT
public void setdAdT(double val) setdAdT.
- Specified by:
setdAdTin interfaceComponentEosInterface- Parameters:
val- a double
-
getdAdT
public double getdAdT()getdAdT.
- Specified by:
getdAdTin interfaceComponentEosInterface- Returns:
- a double
-
setdAdTdn
public void setdAdTdn(double val) setdAdTdn.
- Specified by:
setdAdTdnin interfaceComponentEosInterface- Parameters:
val- a double
-
getdAdTdn
public double getdAdTdn()getdAdTdn.
- Specified by:
getdAdTdnin interfaceComponentEosInterface- Returns:
- a double
-
getdAdTdT
public double getdAdTdT()getdAdTdT.
- Returns:
- a double
-
setdAdTdT
public void setdAdTdT(double val) setdAdTdT.
- Specified by:
setdAdTdTin interfaceComponentEosInterface- Parameters:
val- a double
-
getBder
public double getBder()getBder.
- Specified by:
getBderin interfaceComponentEosInterface- Returns:
- a double
-
setBder
public void setBder(double val) setBder.
- Specified by:
setBderin interfaceComponentEosInterface- Parameters:
val- a double
-
getdBdndn
public double getdBdndn(int j) getdBdndn.
- Specified by:
getdBdndnin interfaceComponentEosInterface- Parameters:
j- a int- Returns:
- a double
-
setdBdndn
public void setdBdndn(int jComp, double val) setdBdndn.
- Specified by:
setdBdndnin interfaceComponentEosInterface- Parameters:
jComp- a intval- a double
-
getdBdT
public double getdBdT()getdBdT.
- Specified by:
getdBdTin interfaceComponentEosInterface- Returns:
- a double
-
setdBdTdT
public void setdBdTdT(double val) setdBdTdT.
- Specified by:
setdBdTdTin interfaceComponentEosInterface- Parameters:
val- a double
-
getdBdndT
public double getdBdndT()getdBdndT.
- Specified by:
getdBdndTin interfaceComponentEosInterface- Returns:
- a double
-
setdBdndT
public void setdBdndT(double val) setdBdndT.
- Specified by:
setdBdndTin interfaceComponentEosInterface- Parameters:
val- a double
-
alpha
public double alpha(double temperature) alpha.
- Parameters:
temperature- a double- Returns:
- a double
-
aT
public double aT(double temperature) aT.
- Specified by:
aTin interfaceComponentEosInterface- Parameters:
temperature- a double- Returns:
- a double
-
diffalphaT
public double diffalphaT(double temperature) diffalphaT.
- Parameters:
temperature- a double- Returns:
- a double
-
diffdiffalphaT
public double diffdiffalphaT(double temperature) diffdiffalphaT.
- Parameters:
temperature- a double- Returns:
- a double
-
diffaT
public double diffaT(double temperature) diffaT.
- Specified by:
diffaTin interfaceComponentEosInterface- Parameters:
temperature- a double- Returns:
- a double
-
diffdiffaT
public double diffdiffaT(double temperature) diffdiffaT.
- Specified by:
diffdiffaTin interfaceComponentEosInterface- Parameters:
temperature- a double- Returns:
- a double
-
getDeltaEosParameters
public double[] getDeltaEosParameters()getDeltaEosParameters.
- Specified by:
getDeltaEosParametersin interfaceComponentEosInterface- Returns:
- an array of type double
-
seta
public void seta(double a) seta.
- Specified by:
setain interfaceComponentInterface- Overrides:
setain classComponent- Parameters:
a- a double
-
setb
public void setb(double b) setb.
- Specified by:
setbin interfaceComponentInterface- Overrides:
setbin classComponent- Parameters:
b- a double
-
calca
public abstract double calca()calca.
- Specified by:
calcain interfaceComponentEosInterface- Returns:
- a double
-
calcb
public abstract double calcb()calcb.
- Specified by:
calcbin interfaceComponentEosInterface- Returns:
- a double
-
getSurfaceTenisionInfluenceParameter
public double getSurfaceTenisionInfluenceParameter(double temperature) getSurfaceTenisionInfluenceParameter.
- Specified by:
getSurfaceTenisionInfluenceParameterin interfaceComponentInterface- Overrides:
getSurfaceTenisionInfluenceParameterin classComponent- Parameters:
temperature- a double- Returns:
- a double
-
getAresnTV
getAresnTV.
- Parameters:
phase- aPhaseInterfaceobject- Returns:
- a double
-
getChemicalPotential
getChemicalPotential.
- Specified by:
getChemicalPotentialin interfaceComponentInterface- Overrides:
getChemicalPotentialin classComponent- Parameters:
phase- aPhaseInterfaceobject- Returns:
- a double
-
getdUdnSV
getdUdnSV.
- Parameters:
phase- aPhaseInterfaceobject- Returns:
- a double
-
getdUdSdnV
getdUdSdnV.
- Parameters:
phase- aPhaseInterfaceobject- Returns:
- a double
-
getdUdVdnS
getdUdVdnS.
- Parameters:
phase- aPhaseInterfaceobject- Returns:
- a double
-
getdUdndnSV
getdUdndnSV.
- Parameters:
phase- aPhaseInterfaceobjectcompNumb1- a intcompNumb2- a int- Returns:
- a double
-
getAttractiveParameter
Getter for the field
attractiveParameter.- Returns:
- a
AttractiveTermInterfaceobject
-
setAttractiveParameter
Setter for the field
attractiveParameter.- Parameters:
attractiveParameter- aAttractiveTermInterfaceobject
-
equals
-