{"id":1963,"date":"2019-02-12T01:48:23","date_gmt":"2019-02-12T01:48:23","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/16-fluid-composition-and-properties\/"},"modified":"2026-01-12T14:58:57","modified_gmt":"2026-01-12T19:58:57","slug":"20-fluid-composition-and-properties","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/20-fluid-composition-and-properties\/","title":{"rendered":"20: Fluid Composition and Properties"},"content":{"rendered":"<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<th style=\"width: 24.1546%;\">Command<\/th>\n<th style=\"width: 74.7182%;\">Purpose<\/th>\n<\/tr>\n<tr>\n<td style=\"width: 24.1546%;\"><a href=\"add_water\">add_water<\/a><\/td>\n<td style=\"width: 74.7182%;\">Compute the mole fractions of a composition variable to include ambient water vapor pressure. The computation is done on a continuous basis.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.1546%;\"><a href=\"gas_prop\">gas_prop<\/a><\/td>\n<td style=\"width: 74.7182%;\">Compute and update gas properties based on input variables in a continuous manner.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.1546%;\"><a href=\"init_composition\">init_composition<\/a><\/td>\n<td style=\"width: 74.7182%;\">Initialize gas composition for the test cell by reading specification files and updating shared memory.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.1546%;\"><a href=\"init_properties\">init_properties<\/a><\/td>\n<td style=\"width: 74.7182%;\">Initialize properties data in shared memory for CyFlex, including setting default values and processing thermodynamic data.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.1546%;\"><a href=\"set_composition\">set_composition<\/a><\/td>\n<td style=\"width: 74.7182%;\">\n<p>Update a composition variable by reading concentrations from specified real variables and transmitting the information via an event message at a defined process interval.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 24.1546%;\"><a href=\"update_composition\">update_composition<\/a><\/td>\n<td style=\"width: 74.7182%;\">Update gas composition data based on received events, calculate molar mass, and write to files when specified conditions are met.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Command Purpose add_water Compute the mole fractions of a composition variable to include ambient water vapor pressure. The computation is done on a continuous basis. gas_prop Compute and update gas properties based on input variables in a continuous manner. init_composition Initialize gas composition for the test cell by reading specification files and updating shared memory. [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":557,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1963","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=1963"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1963\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/557"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=1963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}