Cantera  3.2.0a2
Loading...
Searching...
No Matches
ctconnector.cpp File Reference

CTCONNECTOR - Generated CLib Cantera interface library. More...

Include dependency graph for ctconnector.cpp:

Detailed Description

CTCONNECTOR - Generated CLib Cantera interface library.

Generated CLib API for Cantera's ConnectorNode class.

This file was generated by sourcegen. It will be re-generated by the Cantera build process. Do not manually edit.

Warning
This module is an experimental part of the Cantera API and may be changed without notice.

Definition in file ctconnector.cpp.

Go to the source code of this file.

Functions

int32_t connector_new (const char *model, int32_t r0, int32_t r1, const char *name)
 Create a ConnectorNode object of the specified type.
 
int32_t connector_type (int32_t handle, int32_t bufLen, char *buf)
 String indicating the connector implemented.
 
int32_t connector_name (int32_t handle, int32_t bufLen, char *buf)
 Retrieve connector name.
 
int32_t connector_setName (int32_t handle, const char *name)
 Set connector name.
 
int32_t flowdev_setPrimary (int32_t handle, int32_t primary)
 Set the primary mass flow controller.
 
double flowdev_massFlowRate (int32_t handle)
 Mass flow rate (kg/s).
 
double flowdev_deviceCoefficient (int32_t handle)
 Get the device coefficient (defined by derived class).
 
int32_t flowdev_setDeviceCoefficient (int32_t handle, double c)
 Set the device coefficient (defined by derived class).
 
int32_t flowdev_setPressureFunction (int32_t handle, int32_t f)
 Set a function of pressure to modify the pressure response.
 
int32_t flowdev_setTimeFunction (int32_t handle, int32_t g)
 Set a function of time to modulate the mass flow rate.
 
double wall_expansionRate (int32_t handle)
 Rate of volume change (m^3/s) for the adjacent reactors at current reactor network time.
 
double wall_heatRate (int32_t handle)
 Heat flow rate through the wall (W) at current reactor network time.
 
double wall_area (int32_t handle)
 Area in (m^2).
 
int32_t wall_setArea (int32_t handle, double a)
 Set the area [m^2].
 
int32_t wall_setThermalResistance (int32_t handle, double Rth)
 Set the thermal resistance of the wall [K*m^2/W].
 
int32_t wall_setHeatTransferCoeff (int32_t handle, double U)
 Set the overall heat transfer coefficient [W/m^2/K].
 
int32_t wall_setHeatFlux (int32_t handle, int32_t q)
 Specify the heat flux function.
 
int32_t wall_setExpansionRateCoeff (int32_t handle, double k)
 Set the expansion rate coefficient.
 
int32_t wall_setVelocity (int32_t handle, int32_t f)
 Set the wall velocity to a specified function of time,.
 
int32_t wall_setEmissivity (int32_t handle, double epsilon)
 Set the emissivity.
 
int32_t connector_del (int32_t handle)
 Delete ConnectorNode object.
 
int32_t connector_cabinetSize ()
 Return size of ConnectorNode storage.
 
int32_t connector_parentHandle (int32_t handle)
 Return handle to parent of ConnectorNode object.