


{"id":463488,"date":"2026-09-14T12:29:02","date_gmt":"2026-09-14T12:29:02","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/"},"modified":"2026-09-14T12:29:02","modified_gmt":"2026-09-14T12:29:02","slug":"fluent-cannot-calculate-volume-of-custom-field-functions","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/","title":{"rendered":"FLUENT cannot calculate volume of &#8220;Custom Field Functions&#8221;?"},"content":{"rendered":"<p><span style=\"font-size: 11.0pt;font-family: &#039;DM Sans&#039;\">I defined a parameter using &ldquo;Custom Field Functions&rdquo;, and then a range of this parameter using &rdquo;Cell Registers&rdquo;. The target is to calculate the liquid volume of this parameter with the specified range.<\/span><\/p>\n<p class=\"xxmsonormal\"><span style=\"font-size: 11.0pt;font-family: &#039;DM Sans&#039;\">I first tried &ldquo;Volume Integrals&rdquo; of the &ldquo;Cell Registers&rdquo;, Fluent got frozen. <\/span><\/p>\n<p class=\"xxmsonormal\"><span style=\"font-size: 11.0pt;font-family: &#039;DM Sans&#039;\">I then tried &ldquo;Named Expressions&rdquo; using first <strong>Flag = IF(cell_register_0,1,0)<\/strong>,<strong> <\/strong>then <strong>VolumeInt(Flag,[&#8216;domain&#8217;])<\/strong>, Fluent still went frozen when compute. &nbsp;<\/span><\/p>\n<p class=\"xxmsonormal\"><span style=\"font-size: 11.0pt;font-family: &#039;DM Sans&#039;\"><span style=\"font-size: 11.0pt;font-family: &#039;DM Sans&#039;\">I know &ldquo;Mesh Separation&rdquo; will work, but I need to calculate multiple ranges for a plot (x axis: parameter, y axis: volume percentage). So it is not an option for me.<\/span><\/span><\/p>\n<p class=\"xxmsonormal\"><span style=\"font-size: 11.0pt;font-family: &#039;DM Sans&#039;\"><span style=\"font-size: 11.0pt;font-family: &#039;DM Sans&#039;\">Any solution to this problem? Thanks.<\/span><\/span><\/p>\n","protected":false},"template":"","class_list":["post-463488","topic","type-topic","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=\"I defined a parameter using \u201cCustom Field Functions\u201d, and then a range of this parameter using \u201dCell Registers\u201d. The target is to calculate the liquid volume of this parameter with the specified range. I first tried \u201cVolume Integrals\u201d of the \u201cCell Registers\u201d, Fluent got frozen. I then tried \u201cNamed Expressions\u201d using first Flag = IF(cell_register_0,1,0),\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/\" \/>\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=\"FLUENT cannot calculate volume of \u201cCustom Field Functions\u201d? | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"I defined a parameter using \u201cCustom Field Functions\u201d, and then a range of this parameter using \u201dCell Registers\u201d. The target is to calculate the liquid volume of this parameter with the specified range. I first tried \u201cVolume Integrals\u201d of the \u201cCell Registers\u201d, Fluent got frozen. I then tried \u201cNamed Expressions\u201d using first Flag = IF(cell_register_0,1,0),\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-09-14T12:29:02+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-09-14T12:29:02+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"FLUENT cannot calculate volume of \u201cCustom Field Functions\u201d? | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I defined a parameter using \u201cCustom Field Functions\u201d, and then a range of this parameter using \u201dCell Registers\u201d. The target is to calculate the liquid volume of this parameter with the specified range. I first tried \u201cVolume Integrals\u201d of the \u201cCell Registers\u201d, Fluent got frozen. I then tried \u201cNamed Expressions\u201d using first Flag = IF(cell_register_0,1,0),\" \/>\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\\\/topic\\\/fluent-cannot-calculate-volume-of-custom-field-functions\\\/#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\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fluent-cannot-calculate-volume-of-custom-field-functions\\\/#listItem\",\"name\":\"FLUENT cannot calculate volume of &#8220;Custom Field Functions&#8221;?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fluent-cannot-calculate-volume-of-custom-field-functions\\\/#listItem\",\"position\":3,\"name\":\"FLUENT cannot calculate volume of &#8220;Custom Field Functions&#8221;?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}}]},{\"@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\\\/topic\\\/fluent-cannot-calculate-volume-of-custom-field-functions\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fluent-cannot-calculate-volume-of-custom-field-functions\\\/\",\"name\":\"FLUENT cannot calculate volume of \\u201cCustom Field Functions\\u201d? | Ansys Learning Forum\",\"description\":\"I defined a parameter using \\u201cCustom Field Functions\\u201d, and then a range of this parameter using \\u201dCell Registers\\u201d. The target is to calculate the liquid volume of this parameter with the specified range. I first tried \\u201cVolume Integrals\\u201d of the \\u201cCell Registers\\u201d, Fluent got frozen. I then tried \\u201cNamed Expressions\\u201d using first Flag = IF(cell_register_0,1,0),\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/fluent-cannot-calculate-volume-of-custom-field-functions\\\/#breadcrumblist\"},\"datePublished\":\"2026-09-14T12:29:02+00:00\",\"dateModified\":\"2026-09-14T12:29:02+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":"FLUENT cannot calculate volume of \u201cCustom Field Functions\u201d? | Ansys Learning Forum","description":"I defined a parameter using \u201cCustom Field Functions\u201d, and then a range of this parameter using \u201dCell Registers\u201d. The target is to calculate the liquid volume of this parameter with the specified range. I first tried \u201cVolume Integrals\u201d of the \u201cCell Registers\u201d, Fluent got frozen. I then tried \u201cNamed Expressions\u201d using first Flag = IF(cell_register_0,1,0),","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/#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\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/#listItem","name":"FLUENT cannot calculate volume of &#8220;Custom Field Functions&#8221;?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/#listItem","position":3,"name":"FLUENT cannot calculate volume of &#8220;Custom Field Functions&#8221;?","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}}]},{"@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\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/","name":"FLUENT cannot calculate volume of \u201cCustom Field Functions\u201d? | Ansys Learning Forum","description":"I defined a parameter using \u201cCustom Field Functions\u201d, and then a range of this parameter using \u201dCell Registers\u201d. The target is to calculate the liquid volume of this parameter with the specified range. I first tried \u201cVolume Integrals\u201d of the \u201cCell Registers\u201d, Fluent got frozen. I then tried \u201cNamed Expressions\u201d using first Flag = IF(cell_register_0,1,0),","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/#breadcrumblist"},"datePublished":"2026-09-14T12:29:02+00:00","dateModified":"2026-09-14T12:29:02+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":"FLUENT cannot calculate volume of \u201cCustom Field Functions\u201d? | Ansys Learning Forum","og:description":"I defined a parameter using \u201cCustom Field Functions\u201d, and then a range of this parameter using \u201dCell Registers\u201d. The target is to calculate the liquid volume of this parameter with the specified range. I first tried \u201cVolume Integrals\u201d of the \u201cCell Registers\u201d, Fluent got frozen. I then tried \u201cNamed Expressions\u201d using first Flag = IF(cell_register_0,1,0),","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/","article:published_time":"2026-09-14T12:29:02+00:00","article:modified_time":"2026-09-14T12:29:02+00:00","twitter:card":"summary_large_image","twitter:title":"FLUENT cannot calculate volume of \u201cCustom Field Functions\u201d? | Ansys Learning Forum","twitter:description":"I defined a parameter using \u201cCustom Field Functions\u201d, and then a range of this parameter using \u201dCell Registers\u201d. The target is to calculate the liquid volume of this parameter with the specified range. I first tried \u201cVolume Integrals\u201d of the \u201cCell Registers\u201d, Fluent got frozen. I then tried \u201cNamed Expressions\u201d using first Flag = IF(cell_register_0,1,0),"},"aioseo_meta_data":[],"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\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tFLUENT cannot calculate volume of \u201cCustom Field Functions\u201d?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"FLUENT cannot calculate volume of &#8220;Custom Field Functions&#8221;?","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/fluent-cannot-calculate-volume-of-custom-field-functions\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27792"],"_bbp_topic_id":["463488"],"_bbp_subscription":["724039"],"_bbp_author_ip":[null],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["463488"],"_bbp_last_active_time":["2026-09-15 12:43:33"],"_bbp_reply_count":["3"],"_bbp_reply_count_hidden":["0"],"_bbp_engagement":["1"],"_bbp_likes_count":["0"],"_btv_view_count":["24"],"application":["FLUENT"],"emailnotification":[null],"_bbp_topic_status":["unanswered"]},"test":"jiangtao-ludsm-firmenich-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/463488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/463488\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=463488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}