<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Hassan Kassem (OpenFOAM)</title><link>http://hassankassem.me/</link><description></description><atom:link type="application/rss+xml" rel="self" href="http://hassankassem.me/categories/openfoam.xml"></atom:link><language>en</language><lastBuildDate>Sun, 28 Oct 2018 14:46:51 GMT</lastBuildDate><generator>https://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>How to add a new turbulence model, revisited</title><link>http://hassankassem.me/posts/newturbulencemodel6/</link><dc:creator>Hassan Kassem</dc:creator><description>&lt;div&gt;&lt;div class="figure"&gt;
&lt;a class="reference external image-reference" href="http://hassankassem.me/images/template6.png"&gt;&lt;img alt="/images/template6.png" src="http://hassankassem.me/images/template6.png"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div class="line-block"&gt;
&lt;div class="line"&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In this post, &lt;a class="reference external" href="http://hassankassem.me/posts/newturbulencemodel/"&gt;my old tutorial&lt;/a&gt; on how to implement a new turbulence model in OpenFOAM-3.0 is revisited.
The old post is over two years old and since then a lot of changes in OpenFOAM
have been introduced by OpenFOAM foundation.
Fortunately, implementing a new model in OpenFOAM-5.0 upwards is much easier now.
Therefore, this will be a very short post since all the basics has been covered
in the previous post.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://hassankassem.me/posts/newturbulencemodel6/"&gt; click to read the rest of the article …&lt;/a&gt; (2 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>C++</category><category>OpenFOAM</category><category>template</category><category>turbulenceModels</category><guid>http://hassankassem.me/posts/newturbulencemodel6/</guid><pubDate>Sun, 28 Oct 2018 11:55:47 GMT</pubDate></item><item><title>How to add a turbulence model in OpenFOAM-3.0.0</title><link>http://hassankassem.me/posts/newturbulencemodel/</link><dc:creator>Hassan Kassem</dc:creator><description>&lt;div&gt;&lt;div class="figure"&gt;
&lt;a class="reference external image-reference" href="http://hassankassem.me/images/template.png"&gt;&lt;img alt="/images/template.png" src="http://hassankassem.me/images/template.png"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div class="line-block"&gt;
&lt;div class="line"&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In OpenFOAM-3.0.0 &lt;a class="footnote-reference" href="http://hassankassem.me/posts/newturbulencemodel/#id11" id="id1"&gt;[1]&lt;/a&gt;, the turbulence models library had major facelift. Actually, it had major operation not just a facelift. Now, all models are based on one base template class including RANS, LES, incompressible and compressible. Therefore, if you followed most of the available tutorials on how to modify/implement turbulence model, it will not work. You will face many compiler errors from the first step. This post shows how to overcome this problem step-by-step. Moreover, it discusses briefly the reasons causing these errors.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://hassankassem.me/posts/newturbulencemodel/"&gt; click to read the rest of the article …&lt;/a&gt; (6 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>C++</category><category>OpenFOAM</category><category>template</category><category>turbulenceModels</category><guid>http://hassankassem.me/posts/newturbulencemodel/</guid><pubDate>Sat, 25 Jun 2016 17:42:41 GMT</pubDate></item><item><title>How to solve ODE in OpenFOAM</title><link>http://hassankassem.me/posts/ode/</link><dc:creator>Hassan Kassem</dc:creator><description>&lt;figure&gt;&lt;img src="http://hassankassem.me/images/results.png"&gt;&lt;/figure&gt; &lt;div&gt;&lt;!-- How to solve ODE in OpenFOAM --&gt;
&lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;
&lt;p&gt;OpenFOAM &lt;a class="footnote-reference" href="http://hassankassem.me/posts/ode/#id6" id="id1"&gt;[1]&lt;/a&gt; has a library designed to solve ordinary differential equations (ODEs).
It is widely used for solving chemistry in OpenFOAM. This post focuses on
how to solve any ODE in OpenFOAM. it is not intended to be a complete review or
explaining every ODE solver, however, this post shows step-by-step how to define
an ODE and how to write a small program to solve it. Finally, the results will be
compared and plotted aginst the extract solution using Gnuplot.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://hassankassem.me/posts/ode/"&gt; click to read the rest of the article …&lt;/a&gt; (8 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>C++</category><category>gnuplot</category><category>mathjax</category><category>ODE</category><category>OpenFOAM</category><guid>http://hassankassem.me/posts/ode/</guid><pubDate>Sun, 19 Jun 2016 09:21:19 GMT</pubDate></item></channel></rss>