mission

CAPE-OPEN
COCO
Excel Thermo Import
Excel Unit Operation
Matlab Unit Operation
Matlab Thermo Import
» 
Help
OO Calc Thermo Import
REFPROP PPM
SciLab Unit Operation
SciLab Thermo Import
Python Thermo Import
FlowExchange
ThermoSystemAdapter

ScanIt

downloads

services

links

about us

contact us

capeOpenSetBasis

Sets the basis to 'mole' or 'mass'. Affects all properties that have a molar or mass basis. Generally, these are fractions, phase fractions, all extensive properties and densities.

Syntax

capeOpenSetBasis(basis)

Arguments

basis: string; valid values are 'mole' (default) or 'mass'

Returns

None

Example


» capeOpenPropUnit('fraction')

ans =

mole fraction

» capeOpenPropUnit('phaseFraction')

ans =

mole fraction

» capeOpenPropUnit('vaporFraction')

ans =

mole fraction

» capeOpenPropUnit('density')

ans =

mol / m3

» capeOpenPropUnit('enthalpy')

ans =

J / mol

» capeOpenSetBasis('mass')
» capeOpenPropUnit('fraction')

ans =

mass fraction

» capeOpenPropUnit('phaseFraction')

ans =

mass fraction

» capeOpenPropUnit('vaporFraction')

ans =

mass fraction

» capeOpenPropUnit('density')

ans =

kg / m3

» capeOpenPropUnit('enthalpy')

ans =

J / kg

INDEX
CONTENT