{"id":156443,"date":"2010-01-08T12:23:10","date_gmt":"2010-01-08T17:23:10","guid":{"rendered":"tag:www.mentor.com:\/\/e6b0a32b7a0884b7eead2d4181915730"},"modified":"2010-01-08T12:23:10","modified_gmt":"2010-01-08T17:23:10","slug":"blog-postflotherm-and-its-new-xml-neutral-file-format","status":"publish","type":"post","link":"https:\/\/mereja.media\/index\/156443","title":{"rendered":"blog post:FloTHERM and its new XML neutral file format"},"content":{"rendered":"<p>We have recently published a new xml schema and associated xml reader for FloTHERM that offers some exciting new possibilities. Unlicensed and freely available it\u2019s well worth checking out. Introducing my first guest blogger, my colleague Byron Blackmore explains more\u2026<!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-746\" src=\"http:\/\/s3-blogs.mentor.com\/robinbornoff\/files\/2010\/01\/byron-picture.jpg\" alt=\"byron-picture\" width=\"51\" height=\"75\" \/><\/p>\n<p>Byron is also a product manager for the electronics cooling line of business in the mechanical analysis division based in Canada. I\u2019ve worked with him for the last 10 years and look forward to the next 10!<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>I\u2019ve been working with application specific simulation tools for a long time now and I\u2019ve gained a strong appreciation for how much productivity one can gain by having access to application specific \u2018widgets\u2019 within the software.\u00a0 The FloTHERM users reading this know these widgets as SmartParts.\u00a0 For FloTHERM these SmartParts come in many different flavours (heat sinks, PCBs, fans, etc) and support the majority of electronics cooling objects you\u2019ll need to use.<\/p>\n<p><!--content--><\/p>\n<p>However, due to the wide range of electronics cooling applications that could be modeled with FloTHERM, it is entirely possible that you will need to build a part that falls outside the intended scope of the available SmartParts.\u00a0 The FloTHERM community has traditionally handled this by sketching the part manually in FloTHERM with simpler objects (with many small solid blocks to create a customized heat sink for example) or by importing a solid model from an MCAD tool.\u00a0 Fine for a one-off calculation, but not so efficient when having to follow this path a dozen times for a dozen variants of the object in question.\u00a0 A common request then is to provide some capability to automate the geometry creation for those non-SmartPart objects that arise periodically, but not with enough frequency to justify adding a new SmartPart to FloTHERM.<\/p>\n<p>To address this, the ability to read XML files has been added to FloTHERM via the recently announced Productivity Toolkit (http:\/\/supportnet.mentor.com\/downloads\/related\/flotherm-productivity-tools.cfm).\u00a0 For the uninitiated, XML stands for eXtensible Markup Language, and the format is described by a variety of tags (very similar to HTML) and expected inputs.\u00a0 The collection of tags and inputs is formally known as an XML schema.\u00a0 When you\u2019re whipping up an XML schema the tags can be whatever you\u2019d like, meaning there\u2019s literally thousands of different, but valid, XML formats out there.\u00a0 For FloTHERM, we\u2019ve defined tags to match the inputs the user would see when working directly in the software.\u00a0 A simple example of an aluminum block is shown below to give you an idea of what it looks like.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-758\" src=\"http:\/\/s3-blogs.mentor.com\/robinbornoff\/files\/2010\/01\/xml-example-and-result2.jpg\" alt=\"xml-example-and-result2\" width=\"534\" height=\"383\" \/>A user can now create these XML files, and as long as they adhere to the published FloTHERM XML schema, they can be imported either into the model directly or into the library for future use.\u00a0 The simplicity of the FloTHERM XML schema, as well as the prevalence of XML authoring tools today, means it\u2019s an enjoyable coding experience (basic scripting experience required however) to get from idea to functioning script\/macro\/widget.\u00a0 My personal favorite way to work is to use Microsoft Excel macro scripting as you can use spreadsheet data to form the macro inputs\u2026keeps things neat.\u00a0 Here\u2019s an example [http:\/\/supportnet.mentor.com\/reference\/technotes\/assets\/public\/files\/MG501244\/folded_fin_heat_sink.xls] of a spreadsheet that will output a FloTHERM friendly XML file of a folded fin heat sink.\u00a0 My stopwatch tells me I get my heat sinks ready ~100x faster this way (compared to manual creation in FloTHERM).\u00a0 The hour required to write the macro was time well spent in my book!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-762\" src=\"http:\/\/s3-blogs.mentor.com\/robinbornoff\/files\/2010\/01\/heatsinks1.jpg\" alt=\"heatsinks1\" width=\"598\" height=\"603\" \/><\/p>\n<p>What\u2019s really exciting is the range of applications that are now possible; building up customized heat sinks, cold plates, detailed venting, data center layouts, rack or card cage auto-population, fan trays, and more.\u00a0 I\u2019m looking forward to hearing about how our community leverages this new capability in their work!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/mgc_mechanical\/~4\/GD7xG2EL_ng\" height=\"1\" width=\"1\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have recently published a new xml schema and associated xml reader for FloTHERM that offers some exciting new possibilities. Unlicensed and freely available it\u2019s well worth checking out. Introducing my first guest blogger, my colleague Byron Blackmore explains more\u2026<\/p>\n","protected":false},"author":2981,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-156443","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/156443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/users\/2981"}],"replies":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/comments?post=156443"}],"version-history":[{"count":0,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/156443\/revisions"}],"wp:attachment":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/media?parent=156443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/categories?post=156443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/tags?post=156443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}