next up previous contents
Next: Equation of state Up: Fluid data Previous: Fluid Data Input Files   Contents


Components

For fluid calculations, the transported components may be lumped together or split up into a different set of components. Each type of fluid calculation; equation of state, viscosity, and enthalpy, may use a separate set of components. For a given type of calculation, the code word regroup FALSE indicate that the components used in flow calculations should be used, while the code word regroup TRUE indicate that a separate set of components should be used. The names, and properties, of the components are given between the code word pair BeginComponents...EndComponents. If a separate set of components are used all components, and the component specific properties used in the method, must be specified. If the original components are used, their properties are inherited. New values may, however, be given to any parameter. Due to implementation specific reasons some input files might require these codewords even if a component specification gives no meaning. An empty specification of components with Regroup set to FALSE will suffice. In the case of a separate set of components for the method, the input following the code word grouping indicate how the grouping/splitting of components is done.

  Regroup TRUE

  BeginComponents

    component water 
	Mw = 0.018;
    component oil   
	Mw = 0.100 ;
    component gas  
	Mw = 0.025 ;

  EndComponents

  Grouping
  water = H2O ;
  oil   = C3 + C4 +  Cplus ;
  gas   = C2 + C1 ;

Weighted grouping is also allowed. Ex. gas = 0.5 C2 + 0.5 C1 is a valid syntax regarded that the other components are weighted accordingly.

In the file specified by codeword ComponentsFile the flow components are specified (Section 10). All other specification of components are either local respecification of the flow components, or specification of regrouped components. Variables to be specified for components are Mw for molecular weight, pc for critical pressure, Vc for critical volume and Tc for critical temperature. Molecular weight is mandatory whereas pc, Vc, and Tc is currently only required for the LBC viscosity calculations.


next up previous contents
Next: Equation of state Up: Fluid data Previous: Fluid Data Input Files   Contents
Erlend Oeian 2002-08-21