


{"id":45354,"date":"2020-06-22T17:21:01","date_gmt":"2020-06-22T17:21:01","guid":{"rendered":"\/forum\/forums\/topic\/floating-point-error-solidificaiton-melting-with-pcm-2d\/"},"modified":"2020-06-22T17:21:01","modified_gmt":"2020-06-22T17:21:01","slug":"floating-point-error-solidificaiton-melting-with-pcm-2d","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/floating-point-error-solidificaiton-melting-with-pcm-2d\/","title":{"rendered":"Floating Point Error: Solidificaiton\/Melting with PCM 2D"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>MESH DETAILS:<\/strong><\/span><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/f191033b-5622-4fc0-8d52-abe20118a039_mesh.jpg?width=690&amp;upscale=false\" alt=\"Mesh\"><\/p>\n<p><\/p>\n<p>The inlet is the rectangle located on the top right corner of the mesh with the outlet right beside it as the smaller rectangle.<\/p>\n<p><\/p>\n<p>the left most side is a cut out where two copper fins would be that wall will be set up as copper later on.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/a218bfb5-0e33-4357-8cad-abe20118c4b6_mesh-quality.jpg?width=690&amp;upscale=false\" alt=\"Mesh Quality\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/237259b1-95b6-43b5-8244-abe201199889_skewness.jpg?width=690&amp;upscale=false\" alt=\"Skewness\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/7b48131c-e6f1-4c72-9002-abe20118d678_edge1.jpg?width=690&amp;upscale=false\" alt=\"Edge1\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/5674105b-2e82-445b-9986-abe20118e931_edge-sizing-1.jpg?width=690&amp;upscale=false\" alt=\"Edge sizing 1\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/b5cbb10f-cd27-4c19-969e-abe20118f6dc_edge2.jpg?width=690&amp;upscale=false\" alt=\"Edge2\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/1f18d7ea-51f2-49b7-b48e-abe201190649_edge-sizing-2.jpg?width=690&amp;upscale=false\" alt=\"Edge sizing 2\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/a4f5acaf-79a2-49c8-a98d-abe2011910b9_face1.jpg?width=690&amp;upscale=false\" alt=\"Face 1\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/ae9b83d1-8b98-43e3-94a1-abe201191cdc_face-sizing-1.jpg?width=690&amp;upscale=false\" alt=\"Face sizing 1\"><\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>SETUP:<\/strong><\/span><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/5dee7b0b-42db-4bb2-a814-abe2011afadd_viscous-model.jpg?width=690&amp;upscale=false\" alt=\"Viscous Model\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/f17a46c4-b236-4c11-aad7-abe2011b0e08_solid-melt.jpg?width=690&amp;upscale=false\" alt=\"Solidification\"><\/p>\n<p><\/p>\n<p>Energy is also enabled.<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>My fluid is a PCM with 3 piecewise-linear points for Density, Specific heat, and thermal conductivity.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/a488669e-6a46-4beb-85d5-abe2011b75e9_pcm.jpg?width=690&amp;upscale=false\" alt=\"pcm\"><\/p>\n<p><\/p>\n<p>I am using standard initialization at 273.15k no other inputs modified.<br \/>I am running the calculation using adaptive time stepping method with the following parameters:<\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/3e6f9352-64ef-4567-ba9a-abe2011caff2_time-step.jpg?width=690&amp;upscale=false\" alt=\"Time step\"><\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>The floating point error occurs withing 10 iterations of the start of the calculation, with the following output:<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/4d5c3856-7a52-494a-9731-abe2011d2e21_error-a.jpg?width=690&amp;upscale=false\" alt=\"part a\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/ece9f740-dd20-4bcc-a904-abe2011d845e_error-b.jpg?width=690&amp;upscale=false\" alt=\"part b\"><\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/77384bc9-b4d5-4a94-a05e-a79c0159af76\/281093f4-624d-46b5-80d0-abe2011d91de_error-c.jpg?width=690&amp;upscale=false\" alt=\"part c\"><\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p>I am not too sure what else I need to do to fix this error. I&#8217;ve tried the time step size and changing mesh stats. <\/p>\n<p>Please let me know if you have any ideas or require any more information.<\/p>\n<p>Sincerely,<\/p>\n<p><\/p>\n<p>Ryan<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-45354","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["17535"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[null],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0"],"_btv_view_count":["557"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["45354"],"_bbp_forum_id":["27792"],"_bbp_engagement":["118","154181"],"_bbp_voice_count":["2"],"_bbp_reply_count":["4"],"_bbp_last_reply_id":["118675"],"_bbp_last_active_id":["118675"],"_bbp_last_active_time":["2020-06-23 15:08:34"]},"test":"rlester5"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/45354","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\/45354\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=45354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}