Public Member Functions | Friends | List of all members
IDEA Class Reference

The IDEA fuel is constructed by adding 30% alphaMethylNaphthalene with 70% n-decane. More...

Inheritance diagram for IDEA:
Inheritance graph
[legend]
Collaboration diagram for IDEA:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("IDEA")
 
 IDEA ()
 
 IDEA (const liquidProperties &l, const NSRDSfunc5 &density, const NSRDSfunc1 &vapourPressure, const NSRDSfunc6 &heatOfVapourisation, const NSRDSfunc0 &heatCapacity, const NSRDSfunc0 &enthalpy, const NSRDSfunc7 &idealGasHeatCapacity, const NSRDSfunc4 &secondVirialCoeff, const NSRDSfunc1 &dynamicViscosity, const NSRDSfunc2 &vapourDynamicViscosity, const NSRDSfunc0 &thermalConductivity, const NSRDSfunc2 &vapourThermalConductivity, const NSRDSfunc6 &surfaceTension, const APIdiffCoefFunc &vapourDiffussivity)
 
 IDEA (const dictionary &dict)
 
virtual autoPtr< liquidPropertiesclone () const
 
scalar rho (scalar p, scalar T) const
 
scalar pv (scalar p, scalar T) const
 
scalar hl (scalar p, scalar T) const
 
scalar Cp (scalar p, scalar T) const
 
scalar h (scalar p, scalar T) const
 
scalar Cpg (scalar p, scalar T) const
 
scalar B (scalar p, scalar T) const
 
scalar mu (scalar p, scalar T) const
 
scalar mug (scalar p, scalar T) const
 
scalar kappa (scalar p, scalar T) const
 
scalar kappag (scalar p, scalar T) const
 
scalar sigma (scalar p, scalar T) const
 
scalar D (scalar p, scalar T) const
 
scalar D (scalar p, scalar T, scalar Wb) const
 
void writeData (Ostream &os) const
 
- Public Member Functions inherited from liquidProperties
 TypeName ("liquid")
 
 declareRunTimeSelectionTable (autoPtr, liquidProperties,,(),())
 
 declareRunTimeSelectionTable (autoPtr, liquidProperties, dictionary,(const dictionary &dict),(dict))
 
 liquidProperties (scalar W, scalar Tc, scalar Pc, scalar Vc, scalar Zc, scalar Tt, scalar Pt, scalar Tb, scalar dipm, scalar omega, scalar delta)
 
 liquidProperties (const dictionary &dict)
 
virtual ~liquidProperties ()=default
 
scalar Y () const
 
scalar Tc () const
 
scalar Pc () const
 
scalar Vc () const
 
scalar Zc () const
 
scalar Tt () const
 
scalar Pt () const
 
scalar Tb () const
 
scalar dipm () const
 
scalar omega () const
 
scalar delta () const
 
scalar limit (const scalar T) const
 
scalar psi (scalar p, scalar T) const
 
scalar CpMCv (scalar p, scalar T) const
 
scalar Ha (const scalar p, const scalar T) const
 
scalar Hs (const scalar p, const scalar T) const
 
scalar Hc () const
 
scalar S (const scalar p, const scalar T) const
 
scalar alphah (const scalar p, const scalar T) const
 
virtual scalar pvInvert (scalar p) const
 
void readIfPresent (const dictionary &dict)
 
template<class Func >
void readIfPresent (Func &f, const word &name, const dictionary &dict)
 
template<class Liquid >
void readIfPresent (Liquid &l, const dictionary &dict)
 
template<class Liquid >
void writeData (const Liquid &l, Ostream &os) const
 
- Public Member Functions inherited from thermophysicalProperties
 TypeName ("thermophysicalProperties")
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalProperties,,(),())
 
 declareRunTimeSelectionTable (autoPtr, thermophysicalProperties, dictionary,(const dictionary &dict),(dict))
 
 thermophysicalProperties (scalar W)
 
 thermophysicalProperties (const dictionary &dict)
 
virtual ~thermophysicalProperties ()=default
 
scalar W () const
 
scalar limit (const scalar T) const
 
void readIfPresent (const dictionary &dict)
 

Friends

class liquidProperties
 
Ostreamoperator<< (Ostream &os, const IDEA &l)
 

Additional Inherited Members

- Static Public Member Functions inherited from liquidProperties
static autoPtr< liquidPropertiesNew (const word &name)
 
static autoPtr< liquidPropertiesNew (const dictionary &dict)
 
- Static Public Member Functions inherited from thermophysicalProperties
static autoPtr< thermophysicalPropertiesNew (const word &name)
 
static autoPtr< thermophysicalPropertiesNew (const dictionary &dict)
 
- Static Public Attributes inherited from liquidProperties
static const bool incompressible = true
 
static const bool isochoric = false
 

Detailed Description

The IDEA fuel is constructed by adding 30% alphaMethylNaphthalene with 70% n-decane.

The new properties have been calculated by adding the values in these proportions and making a least square fit, using the same NSRDS-eq. so that Y = 0.3*Y_naphthalene + 0.7*Y_decane

The valid Temperature range for n-decane is normally 243.51 - 617.70 K and for the naphthalene it is 242.67 - 772.04 K The least square fit was done in the interval 244 - 617 K

The critical temperature was taken to be 618.074 K, since this is the 'c'-value in the rho-equation, which corresponds to Tcrit, This value was then used in the fit for the NSRDS6-eq, which uses Tcrit. (important for the latent heat and surface tension)

The molecular weights are 142.20 and 142.285 and for the IDEA fuel it is thus 142.26 ( approximately 0.3*142.2 + 0.7*142.285 )

Critical pressure was set to the lowest one (n-Decane)

Critical volume... also the lowest one (naphthalene) 0.523 m^3/kmol

Second Virial Coefficient is n-Decane

Source files

Definition at line 78 of file IDEA.H.

Constructor & Destructor Documentation

◆ IDEA() [1/3]

IDEA ( )

Definition at line 35 of file IDEA.C.

◆ IDEA() [2/3]

IDEA ( const liquidProperties l,
const NSRDSfunc5 density,
const NSRDSfunc1 vapourPressure,
const NSRDSfunc6 heatOfVapourisation,
const NSRDSfunc0 heatCapacity,
const NSRDSfunc0 enthalpy,
const NSRDSfunc7 idealGasHeatCapacity,
const NSRDSfunc4 secondVirialCoeff,
const NSRDSfunc1 dynamicViscosity,
const NSRDSfunc2 vapourDynamicViscosity,
const NSRDSfunc0 thermalConductivity,
const NSRDSfunc2 vapourThermalConductivity,
const NSRDSfunc6 surfaceTension,
const APIdiffCoefFunc vapourDiffussivity 
)

Definition at line 111 of file IDEA.C.

◆ IDEA() [3/3]

IDEA ( const dictionary dict)

Definition at line 145 of file IDEA.C.

References dict, and liquidProperties::readIfPresent().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "IDEA"  )

◆ clone()

virtual autoPtr<liquidProperties> clone ( ) const
inlinevirtual

Implements liquidProperties.

Definition at line 135 of file IDEA.H.

◆ rho()

Foam::scalar rho ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements thermophysicalProperties.

Definition at line 21 of file IDEAI.H.

References NSRDSfunc5::f(), p, and Foam::T().

Here is the call graph for this function:

◆ pv()

Foam::scalar pv ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 27 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ hl()

Foam::scalar hl ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 33 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cp()

Foam::scalar Cp ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements thermophysicalProperties.

Definition at line 39 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ h()

Foam::scalar h ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 45 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cpg()

Foam::scalar Cpg ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 51 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ B()

Foam::scalar B ( scalar  p,
scalar  T 
) const
inline

Definition at line 57 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ mu()

Foam::scalar mu ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 63 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ mug()

Foam::scalar mug ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 69 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ kappa()

Foam::scalar kappa ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 75 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ kappag()

Foam::scalar kappag ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 81 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ sigma()

Foam::scalar sigma ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 87 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ D() [1/2]

Foam::scalar D ( scalar  p,
scalar  T 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 93 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ D() [2/2]

Foam::scalar D ( scalar  p,
scalar  T,
scalar  Wb 
) const
inlinevirtual

Implements liquidProperties.

Definition at line 99 of file IDEAI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ writeData()

void writeData ( Ostream os) const
virtual

Implements liquidProperties.

Definition at line 155 of file IDEA.C.

References os(), and liquidProperties::writeData().

Referenced by Foam::operator<<().

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ liquidProperties

friend class liquidProperties
friend

Definition at line 101 of file IDEA.H.

◆ operator<<

Ostream& operator<< ( Ostream os,
const IDEA l 
)
friend

The documentation for this class was generated from the following files: