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

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

Include dependency graph for cttrans.cpp:

Detailed Description

CTTRANS - Generated CLib Cantera interface library.

Generated CLib API for Cantera's Transport 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 cttrans.cpp.

Go to the source code of this file.

Functions

int32_t trans_transportModel (int32_t handle, int32_t bufLen, char *buf)
 Identifies the model represented by this Transport object.
 
double trans_viscosity (int32_t handle)
 Get the dynamic viscosity [Pa·s].
 
double trans_thermalConductivity (int32_t handle)
 Get the mixture thermal conductivity [W/m/K].
 
double trans_electricalConductivity (int32_t handle)
 Get the electrical conductivity [siemens/m].
 
int32_t trans_getThermalDiffCoeffs (int32_t handle, int32_t dtLen, double *dt)
 Return a vector of thermal diffusion coefficients [kg/m/s].
 
int32_t trans_getMixDiffCoeffs (int32_t handle, int32_t dLen, double *d)
 Return a vector of mixture averaged diffusion coefficients [m²/s].
 
int32_t trans_getBinaryDiffCoeffs (int32_t handle, const int32_t ld, int32_t dLen, double *d)
 Returns the matrix of binary diffusion coefficients [m²/s].
 
int32_t trans_getMultiDiffCoeffs (int32_t handle, const int32_t ld, int32_t dLen, double *d)
 Return the multicomponent diffusion coefficients [m²/s].
 
int32_t trans_getMolarFluxes (int32_t handle, int32_t state1Len, const double *state1, int32_t state2Len, const double *state2, const double delta, int32_t cfluxesLen, double *cfluxes)
 Get the molar fluxes [kmol/m²/s], given the thermodynamic state at two nearby points.
 
int32_t trans_getMassFluxes (int32_t handle, int32_t state1Len, const double *state1, int32_t state2Len, const double *state2, double delta, int32_t mfluxesLen, double *mfluxes)
 Get the mass fluxes [kg/m²/s], given the thermodynamic state at two nearby points.
 
int32_t trans_del (int32_t handle)
 Destructor; required by some APIs although object is managed by Solution.
 
int32_t trans_cabinetSize ()
 Return size of Transport storage.
 
int32_t trans_parentHandle (int32_t handle)
 Return handle to parent of Transport object.