STK AgPropagatorWrappersSend 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.
Windows





Windows & Linux

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
);
[Unmanaged C++]
public: HRESULT SetThrustAndMassFlowRate(
    double Thrust,
    double MassFlowRate,
    VARIANT_BOOL * pReturn
);
[Java]
public bool setThrustAndMassFlowRate(
    double Thrust,
    double MassFlowRate
);

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

© 2024 Analytical Graphics, Inc. All Rights Reserved.