{"id":178843,"date":"2023-08-25T12:15:28","date_gmt":"2023-08-25T12:15:28","guid":{"rendered":"\/knowledge\/forums\/topic\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/"},"modified":"2023-08-25T12:15:28","modified_gmt":"2023-08-25T12:15:28","slug":"how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/","title":{"rendered":"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis?"},"content":{"rendered":"<p>As an example the second derivation of the velocity component u in respect to the x-coordinate axis should be calculated:  1.)Define two expressions in the \u201cExpression\u201d tab: \u2022my ux = u.grad_x \u2022my uxx = ux.grad_x  2.)Define two additional variables of scalar type: \u2022ux [s^-1] \u2022uxx [m^-1 s^-1]  3.)Assign the defined expressions as definitions of the additional variables in the \u201cFluid Models\u201d tab of a domain. Therefor you have to choose the option \u201cAlgebraic Equation\u201d to define the additional variables. \u2022ux = my ux \u2022uxx = my uxx  For further information please have a look in attached PDF-document and CFX example file.<\/p>\n<p>Attachments:<br \/>\n1. <a href=https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Phase-3\/2040475\/2040475.zip>2040475.zip<\/a><br \/>\n2. <a href= https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Phase-3\/2040475\/Definition_of_Second_Derivation_of_a_Variable_in_CFX_Pre.pdf>Definition_of_Second_Derivation_of_a_Variable_in_CFX_Pre.pdf<\/a><\/p>\n","protected":false},"template":"","class_list":["post-178843","topic","type-topic","status-publish","hentry","topic-tag-4422","topic-tag-additional-variable","topic-tag-cfx","topic-tag-fluid-dynamics","topic-tag-general-cfx","topic-tag-second-derivation"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"As an example the second derivation of the velocity component u in respect to the x-coordinate axis should be calculated: 1.)Define two expressions in the \u201cExpression\u201d tab: \u2022my ux = u.grad_x \u2022my uxx = ux.grad_x 2.)Define two additional variables of scalar type: \u2022ux [s^-1] \u2022uxx [m^-1 s^-1] 3.)Assign the defined expressions as definitions of the\" \/>\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-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/\" \/>\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 define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis? | Ansys Knowledge\" \/>\n\t\t<meta property=\"og:description\" content=\"As an example the second derivation of the velocity component u in respect to the x-coordinate axis should be calculated: 1.)Define two expressions in the \u201cExpression\u201d tab: \u2022my ux = u.grad_x \u2022my uxx = ux.grad_x 2.)Define two additional variables of scalar type: \u2022ux [s^-1] \u2022uxx [m^-1 s^-1] 3.)Assign the defined expressions as definitions of the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-08-25T12:15:28+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-08-25T12:15:28+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis? | Ansys Knowledge\" \/>\n\t\t<meta name=\"twitter:description\" content=\"As an example the second derivation of the velocity component u in respect to the x-coordinate axis should be calculated: 1.)Define two expressions in the \u201cExpression\u201d tab: \u2022my ux = u.grad_x \u2022my uxx = ux.grad_x 2.)Define two additional variables of scalar type: \u2022ux [s^-1] \u2022uxx [m^-1 s^-1] 3.)Assign the defined expressions as definitions of the\" \/>\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-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\\\/#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\\\/cfx\\\/#listItem\",\"name\":\"cfx\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/cfx\\\/#listItem\",\"position\":3,\"name\":\"cfx\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/cfx\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\\\/#listItem\",\"name\":\"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis?\"},\"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-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\\\/#listItem\",\"position\":4,\"name\":\"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic-tag\\\/cfx\\\/#listItem\",\"name\":\"cfx\"}}]},{\"@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-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\\\/\",\"name\":\"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis? | Ansys Knowledge\",\"description\":\"As an example the second derivation of the velocity component u in respect to the x-coordinate axis should be calculated: 1.)Define two expressions in the \\u201cExpression\\u201d tab: \\u2022my ux = u.grad_x \\u2022my uxx = ux.grad_x 2.)Define two additional variables of scalar type: \\u2022ux [s^-1] \\u2022uxx [m^-1 s^-1] 3.)Assign the defined expressions as definitions of the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/knowledge\\\/forums\\\/topic\\\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\\\/#breadcrumblist\"},\"datePublished\":\"2023-08-25T12:15:28+00:00\",\"dateModified\":\"2023-08-25T12:15:28+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 define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis? | Ansys Knowledge","description":"As an example the second derivation of the velocity component u in respect to the x-coordinate axis should be calculated: 1.)Define two expressions in the \u201cExpression\u201d tab: \u2022my ux = u.grad_x \u2022my uxx = ux.grad_x 2.)Define two additional variables of scalar type: \u2022ux [s^-1] \u2022uxx [m^-1 s^-1] 3.)Assign the defined expressions as definitions of the","canonical_url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/","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-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/#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\/cfx\/#listItem","name":"cfx"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/cfx\/#listItem","position":3,"name":"cfx","item":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/cfx\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/#listItem","name":"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis?"},"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-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/#listItem","position":4,"name":"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis?","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/cfx\/#listItem","name":"cfx"}}]},{"@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-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/#webpage","url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/","name":"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis? | Ansys Knowledge","description":"As an example the second derivation of the velocity component u in respect to the x-coordinate axis should be calculated: 1.)Define two expressions in the \u201cExpression\u201d tab: \u2022my ux = u.grad_x \u2022my uxx = ux.grad_x 2.)Define two additional variables of scalar type: \u2022ux [s^-1] \u2022uxx [m^-1 s^-1] 3.)Assign the defined expressions as definitions of the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/#breadcrumblist"},"datePublished":"2023-08-25T12:15:28+00:00","dateModified":"2023-08-25T12:15:28+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 define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis? | Ansys Knowledge","og:description":"As an example the second derivation of the velocity component u in respect to the x-coordinate axis should be calculated: 1.)Define two expressions in the \u201cExpression\u201d tab: \u2022my ux = u.grad_x \u2022my uxx = ux.grad_x 2.)Define two additional variables of scalar type: \u2022ux [s^-1] \u2022uxx [m^-1 s^-1] 3.)Assign the defined expressions as definitions of the","og:url":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/","article:published_time":"2023-08-25T12:15:28+00:00","article:modified_time":"2023-08-25T12:15:28+00:00","twitter:card":"summary_large_image","twitter:title":"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis? | Ansys Knowledge","twitter:description":"As an example the second derivation of the velocity component u in respect to the x-coordinate axis should be calculated: 1.)Define two expressions in the \u201cExpression\u201d tab: \u2022my ux = u.grad_x \u2022my uxx = ux.grad_x 2.)Define two additional variables of scalar type: \u2022ux [s^-1] \u2022uxx [m^-1 s^-1] 3.)Assign the defined expressions as definitions of the"},"aioseo_meta_data":{"post_id":"178843","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-18 02:02:56","updated":"2026-07-31 00:13:03","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\/cfx\/\" title=\"cfx\">cfx<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis?\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":"cfx","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic-tag\/cfx\/"},{"label":"How to define a field variable in CFX-Pre, which is specified as the second derivation of another variable in respect to a coordinate axis?","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-define-a-field-variable-in-cfx-pre-which-is-specified-as-the-second-derivation-of-another-variable-in-respect-to-a-coordinate-axis\/"}],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"siebel_km_number":["2040475"],"_bbp_last_active_time":["8\/25\/2023 20:20"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["23.56.168.180"],"application_name":["CFX"],"family":["Fluid Dynamics"],"km_published_date":["2015-11-02T00:00:00.000Z"],"product_version":["18"],"_btv_view_count":["2112"]},"test":"solution"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/178843","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\/178843\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=178843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}