<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Abdullah Karimi on Medium]]></title>
        <description><![CDATA[Stories by Abdullah Karimi on Medium]]></description>
        <link>https://medium.com/@akarimi?source=rss-60e5800a10a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JUwjrIld1CALITJHchEx7w.jpeg</url>
            <title>Stories by Abdullah Karimi on Medium</title>
            <link>https://medium.com/@akarimi?source=rss-60e5800a10a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 13:15:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akarimi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[6 CFD Post-Processing Tips You Must Know: How to Improve Visualization Productivity and Quality 10X]]></title>
            <link>https://medium.com/@akarimi/6-cfd-post-processing-tips-you-must-know-how-to-improve-visualization-productivity-and-quality-10x-a19fc9ae7ff?source=rss-60e5800a10a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a19fc9ae7ff</guid>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[simulation]]></category>
            <category><![CDATA[post-processing]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[cfd]]></category>
            <dc:creator><![CDATA[Abdullah Karimi]]></dc:creator>
            <pubDate>Tue, 15 Aug 2017 14:04:01 GMT</pubDate>
            <atom:updated>2017-08-15T14:40:55.722Z</atom:updated>
            <content:encoded><![CDATA[<p>Post-processing CFD data is the most vital step in deriving right conclusions from modeling, presenting the results to decision-makers and ensuring best product designs. Output files generated by CFD are often huge, making it a daunting task to efficiently create effective visualizations. Product decisions require optimization studies which, in turn, means a large number of individual CFD simulations. In addition, generating images, animations, and playing with colors have never been the forte of CFD folks.</p><blockquote>Years of experience using many popular CFD visualization tools, for a wide range of industries, made me realize that certain ‘best practices’ should always be applied.</blockquote><p>In this article, I discuss six tips that will make post-processing more productive, and produce impressive presentations for your meetings. The illustrations and examples are based on ParaView, a powerful visualization tool, but the tips can be applied to most other tools as well.</p><p><strong>1. Use ‘state’ files to automatically generate pipeline</strong></p><p>Absolutely must-know. You should never re-generate all the post-processing steps (contours, streamlines, vectors, slices, filters etc.) again and again for cases with identical/similar geometry. Save and reuse the ‘state’ file and load it anytime you want to perform post-processing pipeline on a similar CFD model. This is also extremely powerful for design explorations where differences in modeling scenarios are small or none.</p><blockquote><strong>‘State’</strong> files are light-weight in size and therefore you can save them at regular intervals, without worrying about storage capacity. Such a feature is available in most of the stand-alone post-processing tools.</blockquote><p><strong>2. Group surfaces, extract zones</strong></p><p>This is a big time-saver when your model has a large number of surfaces/zones. Grouping similar geometric entities will allow you to efficiently change colors, transparency, display/hide scenarios, light effects, and visuals. To illustrate it further, look at the post-processing model below where the similar parts have been extracted and grouped together.</p><p>Moreover, you should also extract zones that your analysis is most focused on, making your file easier to handle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8lAyNCQyZaQ0toy8.png" /></figure><p><em>Example of ParaView ‘pipeline’ with surface groupings and block extracts</em></p><p><strong>3. Don’t misuse streamlines</strong></p><p>Flow streamlines (pathlines, stream tracers are some other names) are a great way to visualize and understand the flow patterns. They are also, probably, the most misused visualization method. Too many streamlines, seed points not appropriately chosen, colored by random scalars are some of the problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G0mIcJ-p3amM5QmW.png" /></figure><p><em>How not to misuse streamlines</em></p><p><strong>4. Save what you NEED</strong></p><p>This tip is very important when your CFD simulations are generating huge amounts of data. In most situation, we know the quantities that are needed for the analysis. By default, CFD solvers save many primary and derived scalars/vectors in output files. This implies that your CFD simulations are saving data, for each point of your computational mesh, for a large number of quantities. Think about it, how many times have you used flow variables other than temperature, velocity, and pressure in your reports?</p><p><strong>5. Camera, views, lights</strong></p><p>Believe it or not, I have seen people trying to manually adjust the 3D camera view to get images with the exact same view for different CFD cases. The resulting comparison images from such effort look ugly, to say the least. In ParaView, you can save/load views, undo them and even sync camera for multiple cases. Also, use lights in a way that enhances your CFD and makes life easy for people looking at your reports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NfznBabTJodE0jCz.png" /></figure><p><em>Two different cases with fixed camera view</em></p><p><strong>6. Start with gray scale, and transparency</strong></p><p>So many times, CFD engineers create images with a myriad of colors. Having access to the whole color spectrum does not mean we should use all of them. Using too many colors does not add any value and instead distracts the viewer from focusing on the message. This is not only true for CFD visualizations but any other visuals and even UI design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NnVZBwcH3Zv9MfQF.png" /></figure><p><em>Let’s use all the colors we have got!</em></p><p>Do you have a tip that post-processing engineers must know?</p><p>There are many other features/tips for better CFD post-processing and visualizations and one post cannot do justice to them all. And that’s why I am working on articles/tutorials that will focus on major methods of CFD post-processing, one at a time.</p><p><strong>Don’t want to miss articles like this? Click </strong><a href="https://www.linkedin.com/in/abdullah-karimi-cfd/"><strong>FOLLOW here on my LinkedIn </strong></a><strong>to get more such articles and posts.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a19fc9ae7ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How not to Mesh It Up? Six Mistakes You Should Never Make Generating CFD Grids]]></title>
            <link>https://medium.com/@akarimi/how-not-to-mesh-it-up-six-mistakes-you-should-never-make-generating-cfd-grids-df0250159ded?source=rss-60e5800a10a------2</link>
            <guid isPermaLink="false">https://medium.com/p/df0250159ded</guid>
            <category><![CDATA[cae]]></category>
            <category><![CDATA[cfd]]></category>
            <category><![CDATA[meshing]]></category>
            <category><![CDATA[fluid-dynamics]]></category>
            <dc:creator><![CDATA[Abdullah Karimi]]></dc:creator>
            <pubDate>Tue, 04 Jul 2017 21:47:32 GMT</pubDate>
            <atom:updated>2017-07-04T23:41:56.052Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Meshing is one of the biggest bottlenecks and remains mostly a manual process in the CFD workflow. This article covers some of the major mistakes to avoid during CFD mesh generation.</blockquote><p>Every CFD engineer has spent, at some point, painful hours trying to achieve a mesh that the solver will eventually like. This happens more often if you are not following the unwritten rules of meshing. Over the last 10 years, I worked with a wide range of the CFD meshing tools (both commercial and open source). Based on this experience, I believe that efficient CFD meshing requires knowing the tools/strategies as much as understanding the solver requirements/robustness downstream the workflow. I have seen same mistakes committed, during the meshing process, time and time again.</p><blockquote><em>This blog post will not teach you how to mesh or what meshing tool/strategy you should adopt. Instead, I want to highlight some of the mistakes you should avoid if you want your solver to be happy and simulation report to be ready for the next meeting.</em></blockquote><p><strong>1.</strong> <strong>Never use the first iteration of automatically-generated mesh:</strong></p><p>Many of the meshing tools today provide you the capability to automatically generate CFD mesh without much manual intervention like sizing specifications. However, the first iteration of such a mesh is often complete garbage for any meaningful CFD simulation. In fact, in many cases, your simulation would diverge immediately. The problem should not and cannot be addressed by fine-tuning solver parameters/settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZoUifjdFss2jrkXf2qM97Q.png" /><figcaption><em>Grids shown from automatic-generator (left) and fine-tuned (right)</em></figcaption></figure><p><strong>2.</strong> <strong>Don’t fill the domain with a ridiculous number of tetrahedrons:</strong></p><p>So many times, I see meshing engineers filling up their CFD domains with a large number of tetrahedrons (tets) and then struggling to get simulation results on time. Understanding mesh density requirement is essential for solution accuracy and computational time minimization. This, in turn, needs an understanding of the flow physics.</p><blockquote>In general, using structured hexahedrons (hex) reduces the cell count and is more solver-friendly.</blockquote><p>Multi-block strategies, creating hex in simpler geometric regions and tets in geometrically complex regions, are beneficial as well. Many meshing tools can generate such combination of structured and unstructured meshes (also called hybrid meshing strategy).</p><p>And one last thing, if your solver/mesher comes with the capability, converting tets into polyhedrons gives some significant advantages too. For node-centered solvers, tetrahedral mesh is already solving on polyhedrons. For more, see the <a href="https://www.linkedin.com/feed/update/urn:li:activity:6269906721473335296">discussion here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NAP_69komz2REaLQqxZQtw.png" /><figcaption><em>Hybrid mesh for wind study in an urban area</em></figcaption></figure><p><strong>3 Don’t forget cartesian mesh also exists:</strong></p><p>It would not be an exaggeration if I say cartesian mesh is highly under-used in CFD community. There are many benefits of cartesian meshing. Most solvers support them (some call them cut-cells, trimmed etc.). Cartesian meshes are easy and fast to generate. In addition, they are efficient for the solution stage and data storage because of a simpler octree-type structure. Mesh refinement at run-time can also be achieved efficiently with cartesian cells.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*ZfyFBrUel9FkB_m2jQmRvA.png" /><figcaption><em>Grids showing non-uniform cartesian mesh</em></figcaption></figure><p><strong>4.</strong> <strong>Don’t underestimate the importance of grid-convergence:</strong></p><p>This is controversial. I have been told many times, even by veterans of CFD, that grid-independence studies belong to academia. Really? So, don’t we want accurate results for industrial CFD? Of course, we do, and that’s why you should not skip this vital step in CFD workflow.</p><blockquote>Experience-based judgment on mesh refinements is good but not sufficient to ensure the reliability of simulation output.</blockquote><p>It is possible, with many CFD tools, to automate the whole grid-convergence process. If your CFD results are not grid-independent, your design decisions are based on misleading information.</p><p><strong>5.</strong> <strong>Don’t move to solver without mesh quality inspection:</strong></p><p>This one should be obvious. However, in a hurry to get results faster, CFD folks forget to check mesh quality. Depending on the robustness of the solver, this could cause serious issues like straightaway divergence of the solution. How many times CFDers miss this and then go back to mesh spending more time? There are several quality metrics that need attention depending on mesh type and flow problem. Some of these metrics include skewness, aspect ratio, orthogonality, negative volume etc.</p><p><strong>6.</strong> <strong>And the last one, Don’t let AMR go wild:</strong></p><p>Adaptive mesh refinement (dynamic mesh adaption, gradient-based run-time refinement, and many other names) is still not very widespread in general industrial CFD community. However, some users may be using it quite often. Not many popular CFD codes offer this capability but if you use this in your CFD workflow, be aware of some tricky things involved here. Don’t forget to put a limit to the maximum number of cells, refinement levels, and refinement zones. The total cell count may go crazy if you don’t ensure the limits are reasonable for your problem and hardware infrastructure.</p><p>The list is definitely not exhaustive and the discussion above is primarily focused on the general state of CFD meshing technology without going into details of specific workflows and capabilities of the various software.</p><p><strong><em>What are the mistakes you think meshing engineers must avoid? How do you ensure your mesh works in perfect harmony with the solver? I would love to hear your thoughts and experiences.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df0250159ded" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CFD visualization needs upgrade, time to move beyond blue-red images]]></title>
            <link>https://medium.com/@akarimi/cfd-visualization-needs-upgrade-time-to-move-beyond-blue-red-images-ee2867402645?source=rss-60e5800a10a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee2867402645</guid>
            <category><![CDATA[fluid-mechanics]]></category>
            <category><![CDATA[cfd]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[colormaps]]></category>
            <category><![CDATA[cae]]></category>
            <dc:creator><![CDATA[Abdullah Karimi]]></dc:creator>
            <pubDate>Thu, 16 Mar 2017 15:28:36 GMT</pubDate>
            <atom:updated>2017-04-04T01:53:41.909Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently posted a status update on LinkedIn on the topic of CFD visualization to elicit reactions from fellow CFDers. There were many interesting comments and some of them shared the same frustrations I am going to elaborate here in this post. Below is the photo I shared from google image search results for ‘cfd’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jXqIzsh8yVgtuXlJ.png" /><figcaption>Google image search result for ‘cfd’</figcaption></figure><blockquote>The visualization techniques employed by vast majority of CFD users are mundane, oldish, repetitive, and needs desperate catching up with the huge amount of progress that have taken place in visualization technology.</blockquote><p>To give an example; when CFD results are shown for combustion simulation, would not it be more realistic, sensually pleasing, and easier to deduce conclusions for non-experts if the color scheme is matched with the typical flame color in an actual combustion process?</p><p>I cannot stress it enough that the amount of confusion this dull and ‘non-scientific’ visualization creates among the non-experts who need to derive conclusions based on these blue-red color-mapped images.</p><p>For example in HVAC industry where I currently work, people have become used to seeing much more aesthetically pleasing images generated by tools like Revit and others. Even basic rendering techniques make the images much more realistic and pleasing. Now, I understand the purpose of CFD has never been aligned with focus on generating great visuals or animations. But it does not mean we should not focus on this aspect and keep the visuals look like it is from 1970s.</p><blockquote>It should also be noted here that the blame cannot be entirely put, if at all, on the users of the CFD software (specially commercial software users).</blockquote><p>The other day I was doing some post-processing in a software specifically developed for this purpose, from one of the largest CFD vendors, and no surprise the only color schemes available were Rainbow and Grey. This is the state of art visualization for most major CFD codes that I know of.</p><p>It’s true that in the world of open source tools like ParaView there is a bit more of options and there is even possibility to develop your own additional capabilities. You can even use free tools like Blender to convert your dull CFD images into aesthetically pleasing visuals by using renderings, shades and lights. However, a typical CFD user does not have time and resource to use multiple tools for CFD results post-processing and definitely not for developing custom visualization techniques as add-ins.</p><p>This is the reason that I believe that the CFD providers should move forward in time in terms of the post-processing capabilities integrated into their solvers. It’s a cliché but no harm to mention here that CFD does not stand for Colorful Fluid Dynamics. That also entails, I would argue, CFD results should be presented in a way that’s more than blue-red images all over the places.</p><p>With the current state of visualization, I would not be surprised if takes another decade for CFD software companies to move toward AR/AR support (It’s worth mentioning here that there are already such attempts in this area like ParaView has recently added support for VR devices).</p><p>I would love to hear from folks from commercial or open source CFD providers if they think they have got something that stands out in terms of post-processing capabilities.</p><p><em>But for now, I just wish there was a better choice for CFD results visualization.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee2867402645" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>