


{"id":364760,"date":"2024-04-29T18:58:49","date_gmt":"2024-04-29T18:58:49","guid":{"rendered":"\/forum\/forums\/reply\/364760\/"},"modified":"2024-04-29T18:58:49","modified_gmt":"2024-04-29T18:58:49","slug":"364760","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/","title":{"rendered":"Reply To: question regarding molar concentration"},"content":{"rendered":"<p>&lt;p&gt;Hi Oscar:&lt;\/p&gt;&lt;p&gt;A&nbsp; simple flux is something with a numerical value.&nbsp; Fluxes that introduce dependencies on other species are unsupported because linearisation is required to keep these kinds of specifications from resulting in overconsumption\/overshoot of species.&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;You are right that Fluent sources are volumetric only.&nbsp; A surface source can be emulated by adding inflation to that surface and then splitting one or more of the inflation layers off to create to a new cell zone in Fluent.&lt;\/p&gt;&lt;p&gt;To assign an inflation layer to a new zone in Fluent, you can follow the steps outlined below:&lt;\/p&gt;&lt;p&gt;&nbsp;If you are dealing with a constant number of elements in the inflation layer, you can use the following method:&lt;\/p&gt;<\/p>\n<ol>\n<li>Go to Adapt &gt; Boundary &gt; Option = Cell Distance &gt; Number of Cells = inflation layers &gt; Boundary Zone = [wall boundary with inflation] &gt; Mark<\/li>\n<li>&nbsp;Then proceed to Mesh &gt; Separate &gt; Cells &gt; Mark &gt; Registers = Marked Zone &gt; Separate.<\/li>\n<\/ol>\n<p>&lt;p&gt;<img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416136-mceclip0.png\" \/>&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416300-mceclip1.png\" \/>&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416356-mceclip2.png\" \/>&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;You should get a message like:&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416402-mceclip3.png\" \/>&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;And possibly others, depending on what that wall is connected to.&lt;\/p&gt;&lt;p&gt;This process will allow you to separate the inflation layer into a separate cell zone, which will allow you to apply a volumetric source\/sink.&lt;\/p&gt;&lt;p&gt;Note that for a source of H2o based on H2 concentration (or mass fraction), ie: 0.001*molconH2, there MUST be a corresponding equal and opposite &#8220;source&#8221; of H2 -0.001*molconH2. (This was not the case in your implementation.)&nbsp; Note that species source terms may have to be linearized if the source depends on the mass fraction of the specie it is being applied to.&nbsp; Linearization will require the source term to be described via UDF as in this example for momentum source terms:&lt;\/p&gt;&lt;p&gt;https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/corp\/v241\/en\/flu_udf\/flu_udf_DetailedExampleUDFs.html%23flu_udf_udf_mom_source&lt;\/p&gt;&lt;p&gt;The source linearization coefficient is typically the derivative of the source term w.r.t. the solved specie.&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;Best Regards,&lt;\/p&gt;&lt;p&gt;Judy&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-364760","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi Oscar:A simple flux is something with a numerical value. Fluxes that introduce dependencies on other species are unsupported because linearisation is required to keep these kinds of specifications from resulting in overconsumption\/overshoot of species. You are right that Fluent sources are volumetric only. A surface source can be emulated by adding inflation to that surface\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Reply To: question regarding molar concentration | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi Oscar:A simple flux is something with a numerical value. Fluxes that introduce dependencies on other species are unsupported because linearisation is required to keep these kinds of specifications from resulting in overconsumption\/overshoot of species. You are right that Fluent sources are volumetric only. A surface source can be emulated by adding inflation to that surface\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416136-mceclip0.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416136-mceclip0.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-04-29T18:58:49+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-04-29T18:58:49+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Reply To: question regarding molar concentration | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi Oscar:A simple flux is something with a numerical value. Fluxes that introduce dependencies on other species are unsupported because linearisation is required to keep these kinds of specifications from resulting in overconsumption\/overshoot of species. You are right that Fluent sources are volumetric only. A surface source can be emulated by adding inflation to that surface\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416136-mceclip0.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/364760\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/364760\\\/#listItem\",\"name\":\"Reply To: question regarding molar concentration\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/364760\\\/#listItem\",\"position\":2,\"name\":\"Reply To: question regarding molar concentration\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/364760\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/364760\\\/\",\"name\":\"Reply To: question regarding molar concentration | Ansys Learning Forum\",\"description\":\"Hi Oscar:A simple flux is something with a numerical value. Fluxes that introduce dependencies on other species are unsupported because linearisation is required to keep these kinds of specifications from resulting in overconsumption\\\/overshoot of species. You are right that Fluent sources are volumetric only. A surface source can be emulated by adding inflation to that surface\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/364760\\\/#breadcrumblist\"},\"datePublished\":\"2024-04-29T18:58:49+00:00\",\"dateModified\":\"2024-04-29T18:58:49+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Reply To: question regarding molar concentration | Ansys Learning Forum","description":"Hi Oscar:A simple flux is something with a numerical value. Fluxes that introduce dependencies on other species are unsupported because linearisation is required to keep these kinds of specifications from resulting in overconsumption\/overshoot of species. You are right that Fluent sources are volumetric only. A surface source can be emulated by adding inflation to that surface","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/#listItem","name":"Reply To: question regarding molar concentration"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/#listItem","position":2,"name":"Reply To: question regarding molar concentration","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/","name":"Reply To: question regarding molar concentration | Ansys Learning Forum","description":"Hi Oscar:A simple flux is something with a numerical value. Fluxes that introduce dependencies on other species are unsupported because linearisation is required to keep these kinds of specifications from resulting in overconsumption\/overshoot of species. You are right that Fluent sources are volumetric only. A surface source can be emulated by adding inflation to that surface","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/#breadcrumblist"},"datePublished":"2024-04-29T18:58:49+00:00","dateModified":"2024-04-29T18:58:49+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Reply To: question regarding molar concentration | Ansys Learning Forum","og:description":"Hi Oscar:A simple flux is something with a numerical value. Fluxes that introduce dependencies on other species are unsupported because linearisation is required to keep these kinds of specifications from resulting in overconsumption\/overshoot of species. You are right that Fluent sources are volumetric only. A surface source can be emulated by adding inflation to that surface","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/","og:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416136-mceclip0.png","og:image:secure_url":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416136-mceclip0.png","article:published_time":"2024-04-29T18:58:49+00:00","article:modified_time":"2024-04-29T18:58:49+00:00","twitter:card":"summary_large_image","twitter:title":"Reply To: question regarding molar concentration | Ansys Learning Forum","twitter:description":"Hi Oscar:A simple flux is something with a numerical value. Fluxes that introduce dependencies on other species are unsupported because linearisation is required to keep these kinds of specifications from resulting in overconsumption\/overshoot of species. You are right that Fluent sources are volumetric only. A surface source can be emulated by adding inflation to that surface","twitter:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2024\/04\/29-04-2024-1714416136-mceclip0.png"},"aioseo_meta_data":{"post_id":"364760","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 16:44:36","updated":"2026-08-19 09:52:51","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tReply To: question regarding molar concentration\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Reply To: question regarding molar concentration","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/364760\/"}],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/364760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/364760\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=364760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}