{"id":164641,"date":"2023-03-17T08:58:16","date_gmt":"2023-03-17T08:58:16","guid":{"rendered":"\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/"},"modified":"2023-07-31T12:25:58","modified_gmt":"2023-07-31T12:25:58","slug":"how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/","title":{"rendered":"How to obtain a list of domain names, when using batch session files in CFD-Post?"},"content":{"rendered":"<p>The list of domains and the names of single domains can be extracted automatically in batch session files in CFD-Post, using the following commands:  CFD-Post 12: ==========  ! my $current_case_list = getValue(&#8220;DATA READER&#8221;, &#8220;Current Case List&#8221;); ! my @current_case_list = split \/s*,s*\/, $current_case_list; ! print &#8220;Current Cases: $current_case_listn&#8221;;  ! my $current_case_name = getValue(&#8220;DATA READER&#8221;, &#8220;Active Case Name&#8221;);  ! my $doms = getChildren(&#8220;$current_case_name&#8221;,&#8221;DOMAIN&#8221;); ! $doms =~ s\/DOMAIN:\/\/g; ! @row_names = sort @row_names; ! my $row_no = 0;  ! my @row_names = split(\/,\/, $doms );   ! print &#8220;Domains in current Case: $domsn&#8221;; ! print &#8220;@row_names: @row_namesn&#8221;; ! print &#8220;$row_names[1]n&#8221;;    CFX-Post 11: =========  In CFX-Post 11, the method for extracting domain lists and names is different than in CFD-Post 12, as CFX-Post 11 handles multiple cases loaded to Post differently   ! $doms = getChildren(&#8220;&#8221;, &#8220;DOMAIN&#8221;); ! $doms =~ s\/DOMAIN:\/\/g; ! @row_names = split(\/,\/, $doms ); $row_no = 0;  ! @row_names = sort @row_names; ! print &#8220;Domains: $domsn&#8221;; ! print &#8220;@row_names: @row_namesn&#8221;;<\/p>\n","protected":false},"template":"","class_list":["post-164641","topic","type-topic","status-publish","hentry","topic-tag-4663","topic-tag-cfd-post","topic-tag-fluid-dynamics","topic-tag-general","topic-tag-post-processing","topic-tag-rotating-machinery"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"The list of domains and the names of single domains can be extracted automatically in batch session files in CFD-Post, using the following commands: CFD-Post 12: ========== ! my $current_case_list = getValue(&quot;DATA READER&quot;, &quot;Current Case List&quot;); ! my @current_case_list = split \/s*,s*\/, $current_case_list; ! print &quot;Current Cases: $current_case_listn&quot;; ! my $current_case_name = getValue(&quot;DATA READER&quot;, &quot;Active\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/\" \/>\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 Knowledge | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to obtain a list of domain names, when using batch session files in CFD-Post? | Ansys Knowledge\" \/>\n\t\t<meta property=\"og:description\" content=\"The list of domains and the names of single domains can be extracted automatically in batch session files in CFD-Post, using the following commands: CFD-Post 12: ========== ! my $current_case_list = getValue(&quot;DATA READER&quot;, &quot;Current Case List&quot;); ! my @current_case_list = split \/s*,s*\/, $current_case_list; ! print &quot;Current Cases: $current_case_listn&quot;; ! my $current_case_name = getValue(&quot;DATA READER&quot;, &quot;Active\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-03-17T08:58:16+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-07-31T12:25:58+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to obtain a list of domain names, when using batch session files in CFD-Post? | Ansys Knowledge\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The list of domains and the names of single domains can be extracted automatically in batch session files in CFD-Post, using the following commands: CFD-Post 12: ========== ! my $current_case_list = getValue(&quot;DATA READER&quot;, &quot;Current Case List&quot;); ! my @current_case_list = split \/s*,s*\/, $current_case_list; ! print &quot;Current Cases: $current_case_listn&quot;; ! my $current_case_name = getValue(&quot;DATA READER&quot;, &quot;Active\" \/>\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\\\/knowledge\\\/forums\\\/topic\\\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/cfd-post\\\/#listItem\",\"name\":\"cfd-post\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/cfd-post\\\/#listItem\",\"position\":3,\"name\":\"cfd-post\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/cfd-post\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\\\/#listItem\",\"name\":\"How to obtain a list of domain names, when using batch session files in CFD-Post?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\\\/#listItem\",\"position\":4,\"name\":\"How to obtain a list of domain names, when using batch session files in CFD-Post?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/cfd-post\\\/#listItem\",\"name\":\"cfd-post\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#organization\",\"name\":\"Ansys Knowledge\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\\\/\",\"name\":\"How to obtain a list of domain names, when using batch session files in CFD-Post? | Ansys Knowledge\",\"description\":\"The list of domains and the names of single domains can be extracted automatically in batch session files in CFD-Post, using the following commands: CFD-Post 12: ========== ! my $current_case_list = getValue(\\\"DATA READER\\\", \\\"Current Case List\\\"); ! my @current_case_list = split \\\/s*,s*\\\/, $current_case_list; ! print \\\"Current Cases: $current_case_listn\\\"; ! my $current_case_name = getValue(\\\"DATA READER\\\", \\\"Active\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\\\/#breadcrumblist\"},\"datePublished\":\"2023-03-17T08:58:16+00:00\",\"dateModified\":\"2023-07-31T12:25:58+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/\",\"name\":\"Ansys Knowledge\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to obtain a list of domain names, when using batch session files in CFD-Post? | Ansys Knowledge","description":"The list of domains and the names of single domains can be extracted automatically in batch session files in CFD-Post, using the following commands: CFD-Post 12: ========== ! my $current_case_list = getValue(\"DATA READER\", \"Current Case List\"); ! my @current_case_list = split \/s*,s*\/, $current_case_list; ! print \"Current Cases: $current_case_listn\"; ! my $current_case_name = getValue(\"DATA READER\", \"Active","canonical_url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/knowledge","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/cfd-post\/#listItem","name":"cfd-post"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/cfd-post\/#listItem","position":3,"name":"cfd-post","item":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/cfd-post\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/#listItem","name":"How to obtain a list of domain names, when using batch session files in CFD-Post?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/#listItem","position":4,"name":"How to obtain a list of domain names, when using batch session files in CFD-Post?","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/cfd-post\/#listItem","name":"cfd-post"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#organization","name":"Ansys Knowledge","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/knowledge\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/#webpage","url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/","name":"How to obtain a list of domain names, when using batch session files in CFD-Post? | Ansys Knowledge","description":"The list of domains and the names of single domains can be extracted automatically in batch session files in CFD-Post, using the following commands: CFD-Post 12: ========== ! my $current_case_list = getValue(\"DATA READER\", \"Current Case List\"); ! my @current_case_list = split \/s*,s*\/, $current_case_list; ! print \"Current Cases: $current_case_listn\"; ! my $current_case_name = getValue(\"DATA READER\", \"Active","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/#breadcrumblist"},"datePublished":"2023-03-17T08:58:16+00:00","dateModified":"2023-07-31T12:25:58+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#website","url":"https:\/\/innovationspace.ansys.com\/knowledge\/","name":"Ansys Knowledge","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Knowledge | Ansys Innovation Space","og:type":"article","og:title":"How to obtain a list of domain names, when using batch session files in CFD-Post? | Ansys Knowledge","og:description":"The list of domains and the names of single domains can be extracted automatically in batch session files in CFD-Post, using the following commands: CFD-Post 12: ========== ! my $current_case_list = getValue(&quot;DATA READER&quot;, &quot;Current Case List&quot;); ! my @current_case_list = split \/s*,s*\/, $current_case_list; ! print &quot;Current Cases: $current_case_listn&quot;; ! my $current_case_name = getValue(&quot;DATA READER&quot;, &quot;Active","og:url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/","article:published_time":"2023-03-17T08:58:16+00:00","article:modified_time":"2023-07-31T12:25:58+00:00","twitter:card":"summary_large_image","twitter:title":"How to obtain a list of domain names, when using batch session files in CFD-Post? | Ansys Knowledge","twitter:description":"The list of domains and the names of single domains can be extracted automatically in batch session files in CFD-Post, using the following commands: CFD-Post 12: ========== ! my $current_case_list = getValue(&quot;DATA READER&quot;, &quot;Current Case List&quot;); ! my @current_case_list = split \/s*,s*\/, $current_case_list; ! print &quot;Current Cases: $current_case_listn&quot;; ! my $current_case_name = getValue(&quot;DATA READER&quot;, &quot;Active"},"aioseo_meta_data":{"post_id":"164641","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":"default","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":false,"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":"2025-10-17 21:30:31","updated":"2026-07-29 14:20:25","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\/knowledge\" 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\/knowledge\/topics\/\" title=\"Topics\">Topics<\/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\/knowledge\/forums\/topic-tag\/cfd-post\/\" title=\"cfd-post\">cfd-post<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to obtain a list of domain names, when using batch session files in CFD-Post?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/knowledge"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/knowledge\/topics\/"},{"label":"cfd-post","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/cfd-post\/"},{"label":"How to obtain a list of domain names, when using batch session files in CFD-Post?","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-obtain-a-list-of-domain-names-when-using-batch-session-files-in-cfd-post\/"}],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["3-15-2023  20:20:28"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["23.56.168.180"],"_btv_view_count":["1420"],"siebel_km_number":["839923"],"product_version":["12"],"km_published_date":["2008-12-12T00:00:00.000Z"],"family":["Fluid Dynamics"],"application_name":["CFD-Post"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/164641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/164641\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=164641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}