{"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":[],"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":["1977"]},"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}]}}