


{"id":338819,"date":"2023-12-15T20:47:21","date_gmt":"2023-12-15T20:47:21","guid":{"rendered":"\/forum\/?post_type=topic&#038;p=338819"},"modified":"2023-12-18T10:49:57","modified_gmt":"2023-12-18T10:49:57","slug":"expression-for-droplet-location-monitoring","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/","title":{"rendered":"Expression for droplet location monitoring"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>for tracking a droplet on a flat surface, I am going to write an expression for each direction (x, y, z) then using three different monitors<\/p>\n<p>this is the top view of the problem, a flat solid surface and an initial blue droplet on that<\/p>\n<p><a class=\"wp-colorbox-image cboxElement\" href=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702670864-mceclip3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702670864-mceclip3.png\" width=\"507\" height=\"431\"><\/a><\/p>\n<p>first defined three separate monitors based on this expression, only ask about one of them as the others would be likewise if I can solve the problem<\/p>\n<p class=\"MsoNormal\"><strong>Average(IF(Volumefraction(phase=&#8217;liquid&#8217;)==0.5, x, x), [&#8216;int_fluid&#8217;])<\/strong><\/p>\n<p class=\"MsoNormal\">the coordinate system origin is in the middle of the domain set at 0, 0, 0<\/p>\n<p class=\"MsoNormal\">1)what should I do for the false condition of the above expression? I do not want to have the postions of the non-interface positions in the point pools that the averaging would be done on all of them,<\/p>\n<p class=\"MsoNormal\">now if I am not mistaken this expression, does average over all of the domain location cells as the pools of positions are filled with the droplet interface and the other points, even if I use mass weight still this is not a true expression, as includes the positions of the air (surrounded points)<\/p>\n<p class=\"MsoNormal\">2) I thought maybe I can shift the domain as below<\/p>\n<p class=\"MsoNormal\"><a class=\"wp-colorbox-image cboxElement\" href=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702671793-mceclip4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702671793-mceclip4.png\" width=\"553\" height=\"516\"><\/a><\/p>\n<p class=\"MsoNormal\">and use this expression<\/p>\n<p class=\"MsoNormal\"><strong>Average(IF(Volumefraction(phase=&#8217;liquid&#8217;)==0.5, x, 0 [mm]), [&#8216;int_fluid&#8217;])<\/strong><\/p>\n<p class=\"MsoNormal\">still not true,<\/p>\n<p class=\"MsoNormal\">I wonder if somebody help me about this problem.<\/p>\n<p class=\"MsoNormal\">&nbsp;<\/p>\n<p class=\"MsoNormal\">Regards,<\/p>\n<p class=\"MsoNormal\">Amir<\/p>\n","protected":false},"template":"","class_list":["post-338819","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi there,for tracking a droplet on a flat surface, I am going to write an expression for each direction (x, y, z) then using three different monitorsthis is the top view of the problem, a flat solid surface and an initial blue droplet on thatfirst defined three separate monitors based on this expression, only ask\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/\" \/>\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=\"Expression for droplet location monitoring | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi there,for tracking a droplet on a flat surface, I am going to write an expression for each direction (x, y, z) then using three different monitorsthis is the top view of the problem, a flat solid surface and an initial blue droplet on thatfirst defined three separate monitors based on this expression, only ask\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702670864-mceclip3.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702670864-mceclip3.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-12-15T20:47:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-12-18T10:49:57+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Expression for droplet location monitoring | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi there,for tracking a droplet on a flat surface, I am going to write an expression for each direction (x, y, z) then using three different monitorsthis is the top view of the problem, a flat solid surface and an initial blue droplet on thatfirst defined three separate monitors based on this expression, only ask\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702670864-mceclip3.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\\\/topic\\\/expression-for-droplet-location-monitoring\\\/#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\\\/expression-for-droplet-location-monitoring\\\/#listItem\",\"name\":\"Expression for droplet location monitoring\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/expression-for-droplet-location-monitoring\\\/#listItem\",\"position\":3,\"name\":\"Expression for droplet location monitoring\",\"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\\\/expression-for-droplet-location-monitoring\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/expression-for-droplet-location-monitoring\\\/\",\"name\":\"Expression for droplet location monitoring | Ansys Learning Forum\",\"description\":\"Hi there,for tracking a droplet on a flat surface, I am going to write an expression for each direction (x, y, z) then using three different monitorsthis is the top view of the problem, a flat solid surface and an initial blue droplet on thatfirst defined three separate monitors based on this expression, only ask\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/expression-for-droplet-location-monitoring\\\/#breadcrumblist\"},\"datePublished\":\"2023-12-15T20:47:21+00:00\",\"dateModified\":\"2023-12-18T10:49:57+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":"Expression for droplet location monitoring | Ansys Learning Forum","description":"Hi there,for tracking a droplet on a flat surface, I am going to write an expression for each direction (x, y, z) then using three different monitorsthis is the top view of the problem, a flat solid surface and an initial blue droplet on thatfirst defined three separate monitors based on this expression, only ask","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/#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\/expression-for-droplet-location-monitoring\/#listItem","name":"Expression for droplet location monitoring"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/#listItem","position":3,"name":"Expression for droplet location monitoring","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\/expression-for-droplet-location-monitoring\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/","name":"Expression for droplet location monitoring | Ansys Learning Forum","description":"Hi there,for tracking a droplet on a flat surface, I am going to write an expression for each direction (x, y, z) then using three different monitorsthis is the top view of the problem, a flat solid surface and an initial blue droplet on thatfirst defined three separate monitors based on this expression, only ask","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/#breadcrumblist"},"datePublished":"2023-12-15T20:47:21+00:00","dateModified":"2023-12-18T10:49:57+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":"Expression for droplet location monitoring | Ansys Learning Forum","og:description":"Hi there,for tracking a droplet on a flat surface, I am going to write an expression for each direction (x, y, z) then using three different monitorsthis is the top view of the problem, a flat solid surface and an initial blue droplet on thatfirst defined three separate monitors based on this expression, only ask","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/","og:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702670864-mceclip3.png","og:image:secure_url":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702670864-mceclip3.png","article:published_time":"2023-12-15T20:47:21+00:00","article:modified_time":"2023-12-18T10:49:57+00:00","twitter:card":"summary_large_image","twitter:title":"Expression for droplet location monitoring | Ansys Learning Forum","twitter:description":"Hi there,for tracking a droplet on a flat surface, I am going to write an expression for each direction (x, y, z) then using three different monitorsthis is the top view of the problem, a flat solid surface and an initial blue droplet on thatfirst defined three separate monitors based on this expression, only ask","twitter:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/12\/15-12-2023-1702670864-mceclip3.png"},"aioseo_meta_data":{"post_id":"338819","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 17:11:24","updated":"2024-10-28 17:11:24","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\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\tExpression for droplet location monitoring\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":"Expression for droplet location monitoring","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/expression-for-droplet-location-monitoring\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_author_ip":["23.206.193.59"],"_bbp_subscription":["265142","52934","15476"],"_btv_view_count":["208"],"_bbp_topic_status":["unanswered"],"_edit_lock":["1702896500:193838"],"_bbp_status":["publish"],"_bbp_topic_id":["338819"],"_bbp_forum_id":["27796"],"_bbp_engagement":["15476","265142"],"_bbp_voice_count":["2"],"_bbp_reply_count":["5"],"_bbp_reply_count_hidden":["1"],"_bbp_last_reply_id":["343394"],"_bbp_last_active_id":["343394"],"_bbp_last_active_time":["2024-01-05 11:27:32"]},"test":"abolfazl-amiri-hezavehopen-ac-uk"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/338819","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\/338819\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=338819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}