IdealMolalSoln.h Source File#
IdealMolalSoln.h
Go to the documentation of this file.
Header for intermediate ThermoPhase object for phases which employ molality based activity coefficien...
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
This phase is based upon the mixing-rule assumption that all molality-based activity coefficients are...
Definition IdealMolalSoln.h:68
void calcIMSCutoffParams_()
Calculate parameters for cutoff treatments of activity coefficients.
Definition IdealMolalSoln.cpp:506
double enthalpy_mole() const override
Molar enthalpy of the solution. Units: J/kmol.
Definition IdealMolalSoln.cpp:48
double thermalExpansionCoeff() const override
The thermal expansion coefficient. Units: 1/K.
Definition IdealMolalSoln.cpp:92
bool isIdeal() const override
Boolean indicating whether phase is ideal.
Definition IdealMolalSoln.h:85
void getPartialMolarEnthalpies(double *hbar) const override
Returns an array of partial molar enthalpies for the species in the mixture.
Definition IdealMolalSoln.cpp:231
void getChemPotentials(double *mu) const override
Get the species chemical potentials: Units: J/kmol.
Definition IdealMolalSoln.cpp:193
double IMS_gamma_o_min_
gamma_o value for the cutoff process at the zero solvent point
Definition IdealMolalSoln.h:421
double speciesMolarVolume(int k) const
Report the molar volume of species k.
void getParameters(AnyMap &phaseNode) const override
Store the parameters of a ThermoPhase object such that an identical one could be reconstructed using ...
Definition IdealMolalSoln.cpp:331
string type() const override
String indicating the thermodynamic model implemented.
Definition IdealMolalSoln.h:81
void initThermo() override
Initialize the ThermoPhase object after all species have been set up.
Definition IdealMolalSoln.cpp:304
vector< double > m_tmpV
vector of size m_kk, used as a temporary holding area.
Definition IdealMolalSoln.h:408
void getActivityConcentrations(double *c) const override
This method returns an array of generalized concentrations.
Definition IdealMolalSoln.cpp:109
void getSpeciesMolarVolumes(double *smv) const
Fill in a return vector containing the species molar volumes units - .
void getPartialMolarVolumes(double *vbar) const override
Definition IdealMolalSoln.cpp:276
vector< double > IMS_lnActCoeffMolal_
Logarithm of the molal activity coefficients.
Definition IdealMolalSoln.h:414
void setStandardConcentrationModel(const string &model)
Set the standard concentration model.
Definition IdealMolalSoln.cpp:373
double isothermalCompressibility() const override
The isothermal compressibility. Units: 1/Pa.
Definition IdealMolalSoln.cpp:87
double intEnergy_mole() const override
Molar internal energy of the solution: Units: J/kmol.
Definition IdealMolalSoln.cpp:54
double entropy_mole() const override
Molar entropy of the solution. Units: J/kmol/K.
Definition IdealMolalSoln.cpp:60
void calcDensity() override
Calculate the density of the mixture using the partial molar volumes and mole fractions as input.
Definition IdealMolalSoln.cpp:80
void setCutoffModel(const string &model)
Set cutoff model. Must be one of 'none', 'poly', or 'polyExp'.
Definition IdealMolalSoln.cpp:389
double IMS_gamma_k_min_
gamma_k minimum for the cutoff process at the zero solvent point
Definition IdealMolalSoln.h:424
int m_formGC
The standard concentrations can have one of three different forms: 0 = 'unity', 1 = 'species-molar-vo...
Definition IdealMolalSoln.h:401
double cp_mole() const override
Molar heat capacity of the solution at constant pressure. Units: J/kmol/K.
Definition IdealMolalSoln.cpp:72
void getActivities(double *ac) const override
Get the array of non-dimensional activities at the current solution temperature, pressure,...
Definition IdealMolalSoln.cpp:142
double IMS_X_o_cutoff_
value of the solute mole fraction that centers the cutoff polynomials for the cutoff =1 process;
Definition IdealMolalSoln.h:418
Units standardConcentrationUnits() const override
Returns the units of the "standard concentration" for this phase.
Definition IdealMolalSoln.cpp:99
void getPartialMolarCp(double *cpbar) const override
Partial molar heat capacity of the solution:. UnitsL J/kmol/K.
Definition IdealMolalSoln.cpp:281
double gibbs_mole() const override
Molar Gibbs function for the solution: Units J/kmol.
Definition IdealMolalSoln.cpp:66
double standardConcentration(size_t k=0) const override
Return the standard concentration for the kth species.
Definition IdealMolalSoln.cpp:126
bool addSpecies(shared_ptr< Species > spec) override
Add a Species to this Phase.
Definition IdealMolalSoln.cpp:293
void getPartialMolarIntEnergies(double *hbar) const override
Returns an array of partial molar internal energies for the species in the mixture.
Definition IdealMolalSoln.cpp:239
void s_updateIMS_lnMolalityActCoeff() const
This function will be called to update the internally stored natural logarithm of the molality activi...
Definition IdealMolalSoln.cpp:405
void getMolalityActivityCoefficients(double *acMolality) const override
Get the array of non-dimensional molality-based activity coefficients at the current solution tempera...
Definition IdealMolalSoln.cpp:171
void getPartialMolarEntropies(double *sbar) const override
Returns an array of partial molar entropies of the species in the solution.
Definition IdealMolalSoln.cpp:247
MolalityVPSSTP is a derived class of ThermoPhase that handles variable pressure standard state method...
Definition MolalityVPSSTP.h:227
A representation of the units associated with a dimensional quantity.
Definition Units.h:35
Generated by