Search found 2 matches

by ccrause
21 August 2013, 15:12
Forum: COCO (AmsterCHEM)
Topic: Using Object Pascal
Replies: 6
Views: 17162

Re: Using Object Pascal

A method to read component molecular weights is implemented in the TCapeUnitPort class to do this: function TCapeUnitPort.FGetMolecularWeigths: TDoubleDynArray; var v: variant; begin v := VarArrayCreate([0,0], varOleStr); v[0] := 'molecularWeight'; v := FConnectedStream.GetComponentConstant(v, Unass...
by ccrause
18 August 2013, 08:59
Forum: COCO (AmsterCHEM)
Topic: Using Object Pascal
Replies: 6
Views: 17162

Re: Using Object Pascal

Henk, When I inserted your code for getting viscosity COFE gave the follwoing error: warning: Material object error in GetProp: no values set for viscosity, phase vapor, CalcType mixture This means that the simulator did not calculate the property and therefore there isn't a value to return. One sho...

Go to advanced search