• Deutsch (Deutschland)
  • English (United Kingdom)

Cosilab

  • Home
  • Applications
    • Cosilab Startpage
    • Standard Tasks
      • Chemical Equilibrium
      • Homogeous Ignition, Batchreactor
      • Perfectly Stirred Reactors
      • Plugflow Reactors
      • Flamespeeds & Premixed Flames
      • Counterflow Flames & Flamestretch
      • Reactor Networks
    • More Complex Areas
      • Engine Combustion & Knocking
      • Plugflow Catalytic Converters
      • Partially Stirred Reactors
      • Spherical Flames and Reactors
      • Spray and Two-Phase Flames
    • Own Coding
      • Cosilab User Functions
      • Own Combustion Codes
  • Licences etc
    • Operating Systems
    • Licenses
  • Contact
You are here: Home Applications Own Coding Cosilab User Functions

Cosilab User Functions

There are two ways in which a Cosilab user can bring in his or her own programming, namely by self-written user functions that are used by the Cosilab application or by writing own combustion codes that use the Cosilab API library for combustion-specific tasks. Here we describe user functions -- for the use of the API library see Own Combustion Codes.

 

In Cosilab the use of user functions is optional, not compulsory. Cosilab is completely self contained and ready for use. However, a user may wish to override default models employed in Cosilab. For instance, he or she may want to use a non-standard model for combustion chemistry such as a reduced mechansism that employs rate data in a non-standard form. In this case, the user provides a small function written in either Fortran or C++ in which the rates of production of the chemical species are formulated as functions of temperature, pressure and composition. This function is then linked to Cosilab in order to override Cosilab's built-in mode to handle combustion chemistry.

 

In Cosilab user-function interfaces are provided for

  • combustion chemistry,
  • thermodynamic data,
  • molecular or transport data,
  • data printout,
  • data input,
  • pressure evaluation
  • temperature evaluation,
  • and other default provisions.
  • Legal Notice
  • Data Privacy Statement
  • Disclaimer