FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

IDEA Class Reference

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

#include <liquids/IDEA.H>


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 81 of file IDEA.H.

Inheritance diagram for IDEA:
Collaboration diagram for IDEA:

List of all members.

Public Member Functions

 TypeName ("IDEA")
 Runtime type information.
 IDEA ()
 Construct null.
 IDEA (const liquid &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 (Istream &is)
 Construct from Istream.
scalar  rho (scalar p, scalar T) const
 Liquid density [kg/m^3].
scalar  pv (scalar p, scalar T) const
 Vapour pressure [Pa].
scalar  hl (scalar p, scalar T) const
 Heat of vapourisation [J/kg].
scalar  cp (scalar p, scalar T) const
 Liquid heat capacity [J/(kg K)].
scalar  h (scalar p, scalar T) const
 Liquid Enthalpy [J/(kg)].
scalar  cpg (scalar p, scalar T) const
 Ideal gas heat capacity [J/(kg K)].
scalar  B (scalar p, scalar T) const
 Second Virial Coefficient [m^3/kg].
scalar  mu (scalar p, scalar T) const
 Liquid viscosity [Pa s].
scalar  mug (scalar p, scalar T) const
 Vapour viscosity [Pa s].
scalar  K (scalar p, scalar T) const
 Liquid thermal conductivity [W/(m K)].
scalar  Kg (scalar p, scalar T) const
 Vapour thermal conductivity [W/(m K)].
scalar  sigma (scalar p, scalar T) const
 Surface tension [N/m].
scalar  D (scalar p, scalar T) const
 Vapour diffussivity [m2/s].
scalar  D (scalar p, scalar T, scalar Wb) const
 Vapour diffussivity [m2/s] with specified binary pair.
void  writeData (Ostream &os) const
 Write the function coefficients.

Friends

Ostream &  operator<< (Ostream &os, const IDEA &l)
 Ostream Operator.

Constructor & Destructor Documentation

IDEA (  )

Construct null.

Definition at line 40 of file IDEA.C.

IDEA ( const liquid &   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 116 of file IDEA.C.

IDEA ( Istream &   is  )

Construct from Istream.

Definition at line 150 of file IDEA.C.


Member Function Documentation

TypeName ( "IDEA"    )

Runtime type information.

Foam::scalar rho ( scalar   p,
scalar   T  
) const [inline, virtual]

Liquid density [kg/m^3].

Implements liquid.

Definition at line 26 of file IDEAI.H.

References NSRDSfunc5::f().

Foam::scalar pv ( scalar   p,
scalar   T  
) const [inline, virtual]

Vapour pressure [Pa].

Implements liquid.

Definition at line 32 of file IDEAI.H.

Foam::scalar hl ( scalar   p,
scalar   T  
) const [inline, virtual]

Heat of vapourisation [J/kg].

Implements liquid.

Definition at line 38 of file IDEAI.H.

Foam::scalar cp ( scalar   p,
scalar   T  
) const [inline, virtual]

Liquid heat capacity [J/(kg K)].

Implements liquid.

Definition at line 44 of file IDEAI.H.

Foam::scalar h ( scalar   p,
scalar   T  
) const [inline, virtual]

Liquid Enthalpy [J/(kg)].

Implements liquid.

Definition at line 50 of file IDEAI.H.

Foam::scalar cpg ( scalar   p,
scalar   T  
) const [inline, virtual]

Ideal gas heat capacity [J/(kg K)].

Implements liquid.

Definition at line 56 of file IDEAI.H.

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

Second Virial Coefficient [m^3/kg].

Definition at line 62 of file IDEAI.H.

Foam::scalar mu ( scalar   p,
scalar   T  
) const [inline, virtual]

Liquid viscosity [Pa s].

Implements liquid.

Definition at line 68 of file IDEAI.H.

Foam::scalar mug ( scalar   p,
scalar   T  
) const [inline, virtual]

Vapour viscosity [Pa s].

Implements liquid.

Definition at line 74 of file IDEAI.H.

Foam::scalar K ( scalar   p,
scalar   T  
) const [inline, virtual]

Liquid thermal conductivity [W/(m K)].

Implements liquid.

Definition at line 80 of file IDEAI.H.

Foam::scalar Kg ( scalar   p,
scalar   T  
) const [inline, virtual]

Vapour thermal conductivity [W/(m K)].

Implements liquid.

Definition at line 86 of file IDEAI.H.

Foam::scalar sigma ( scalar   p,
scalar   T  
) const [inline, virtual]

Surface tension [N/m].

Implements liquid.

Definition at line 92 of file IDEAI.H.

Foam::scalar D ( scalar   p,
scalar   T  
) const [inline, virtual]

Vapour diffussivity [m2/s].

Implements liquid.

Definition at line 98 of file IDEAI.H.

Foam::scalar D ( scalar   p,
scalar   T,
scalar   Wb  
) const [inline, virtual]

Vapour diffussivity [m2/s] with specified binary pair.

Implements liquid.

Definition at line 104 of file IDEAI.H.

void writeData ( Ostream &   os  ) const [inline, virtual]

Friends And Related Function Documentation

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

Ostream Operator.

Definition at line 201 of file IDEA.H.


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/liquids/IDEA/IDEA.H
  • src/thermophysicalModels/liquids/IDEA/IDEA.C
  • src/thermophysicalModels/liquids/IDEA/IDEAI.H