AGI AgGator 11 Send comments on this topic.
SetThrustAndMassFlowRate Method (IAgGatorPluginResultEvalEngineModel)
See Also 
Thrust
Must be positive
MassFlowRate
Mass loss rate. May be entered as positive or negative number, but is always considered a mass loss, not a mass gain.





Description

Sets the current thrust(N) and mass flow rate (kg/sec). Computes the isp using the rocket equation. Returns false on an error.

Syntax

[Visual Basic .NET]
Public Function SetThrustAndMassFlowRate( _
   ByVal Thrust As Double, _
   ByVal MassFlowRate As Double _
) As Boolean

[C#]
public bool SetThrustAndMassFlowRate(
double Thrust,
double MassFlowRate
);

[Managed C++]
public: bool SetThrustAndMassFlowRate(
double Thrust,
double MassFlowRate
);

[Java]
public bool setThrustAndMassFlowRate(
double Thrust,
double MassFlowRate
);

[Unmanaged C++]
public: HRESULT SetThrustAndMassFlowRate(
double Thrust,
double MassFlowRate,
VARIANT_BOOL * ReturnValue
);

Parameters

Thrust
Must be positive
MassFlowRate
Mass loss rate. May be entered as positive or negative number, but is always considered a mass loss, not a mass gain.

Return Type

Returns false if thrust is not positive

Remarks

Computes Isp from the rocket equation

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1