{"id":4968,"date":"2017-07-18T12:48:45","date_gmt":"2017-07-18T09:48:45","guid":{"rendered":"http:\/\/blog.aku.edu.tr\/abaydir\/?p=4968"},"modified":"2017-07-18T12:48:45","modified_gmt":"2017-07-18T09:48:45","slug":"windows-10-da-openfoam","status":"publish","type":"post","link":"https:\/\/blog.aku.edu.tr\/abaydir\/2017\/07\/18\/windows-10-da-openfoam\/","title":{"rendered":"Windows 10 da OpenFOAM"},"content":{"rendered":"<p>\t\t\t\t<strong>1-Windows 10\u2019da Geli\u015ftirici Modunu Etkinle\u015ftirmek Gerekli<\/strong><\/p>\n<blockquote><p>Yeni bir Windows s\u00fcr\u00fcm\u00fc \u00e7al\u0131\u015ft\u0131r\u0131yorsan\u0131z 10 Insider \u00f6nizleme, Yap\u0131 10122 ya da daha kesin olarak, o zaman yeni bir fark olabilir \u201cGeli\u015ftiriciler i\u00e7in\u201d i\u015fletim sistem ayarlar\u0131(settings) se\u00e7ene\u011finde.<\/p>\n<p>Geli\u015ftirme i\u00e7in ama\u00e7lanan modlar\u0131n\u0131 etkinle\u015ftirmek bu yap\u0131land\u0131rma se\u00e7ene\u011fi sa\u011flar, \u00d6rne\u011fin d\u00fczg\u00fcn \u00e7al\u0131\u015ft\u0131\u011f\u0131ndan emin olmak i\u00e7in canl\u0131 bir sistem geli\u015ftiriyoruz test uygulamalar\u0131 i\u00e7in.<\/p>\n<p><strong>Geli\u015ftirici se\u00e7eneklerini etkinle\u015ftirme<\/strong><\/p>\n<p><a class=\"ext-link\" title=\"\" href=\"http:\/\/cdn.ghacks.net\/wp-content\/uploads\/2015\/06\/developer-features.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-114274 ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed ed lazyloaded\" src=\"https:\/\/cdn.ghacks.net\/wp-content\/uploads\/2015\/06\/developer-features.jpg\" alt=\"Geli\u015ftirici \u00f6zellikleri\" width=\"833\" height=\"431\" \/><\/a><\/p>\n<p>Yeni geli\u015ftirici \u00f6zelliklerini etkinle\u015ftirmek i\u00e7in,<\/p>\n<ul>\n<li>\u00dczerinde Windows tu\u015funa dokunun, Ayarlar (Settings) yaz\u0131n ve y\u00fck ayarlar\u0131 \u2013 Arama sonu\u00e7lar\u0131n\u0131n g\u00f6r\u00fcnt\u00fclendi\u011fi zaman Modern uygulama.<\/li>\n<li>G\u00fcncelle\u015ftirme moduna ge\u00e7ebilirsiniz &amp; G\u00fcvenlik &gt; Geli\u015ftiriciler i\u00e7in yeni \u00f6zellikler g\u00f6r\u00fcnt\u00fclemek i\u00e7in.<\/li>\n<li>Orada ya da etkinle\u015ftirme olabilirsiniz \u201ccihazlar\u0131n\u0131zdaki apps\u201d veya \u201cgeli\u015ftirici modu\u201d.<\/li>\n<\/ul>\n<\/blockquote>\n<p>Kaynak: <a href=\"https:\/\/websetnet.com\/tr\/enable-developer-mode-in-windows-10-to-sideload-apps\/\" target=\"_blank\" rel=\"noopener\">https:\/\/websetnet.com\/tr\/enable-developer-mode-in-windows-10-to-sideload-apps\/<\/a><\/p>\n<hr \/>\n<hr \/>\n<p>2-<span id=\"eow-title\" class=\"watch-title\" dir=\"ltr\" title=\"How to run Linux on Windows 10 with &quot;Bash on Ubuntu on Windows!&quot; - Windows 10 Anniversary Edition\">How to run Linux on Windows 10 with &#8220;Bash on Ubuntu on Windows!&#8221; &#8211; Windows 10 Anniversary Edition <\/span><\/p>\n<div class=\"embed-container\"><iframe loading=\"lazy\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/DmsJHocTt84?feature=oembed\" frameborder=\"0\" gesture=\"media\" allow=\"encrypted-media\" allowfullscreen><\/iframe><\/div>\n<hr \/>\n<hr \/>\n<blockquote>\n<article class=\"column span-8\">\n<header class=\"section-title large\">\n<h1 class=\"heading\">OpenFOAM for Windows 10<\/h1>\n<\/header>\n<div class=\"story\">The packaged distributions of <a href=\"https:\/\/openfoam.org\/version\/ubuntu\/\" target=\"_blank\" rel=\"noopener\">OpenFOAM for Ubuntu 14.04LTS<\/a> can now be installed directly on Microsoft Windows 10 using <a href=\"https:\/\/msdn.microsoft.com\/en-gb\/commandline\/wsl\/about\" target=\"_blank\" rel=\"noopener\">Bash on Ubuntu on Windows<\/a>. <em>Bash on Ubuntu on Windows<\/em> provides a full compatibility layer for running Linux applications on Windows through the <em>Windows Subsystem for Linux (WSL)<\/em>, which performs real-time translation of Linux system calls into Windows OS system calls.\u00a0 The system can support graphical Linux\u00a0applications, such as the version of <em>ParaView<\/em> that includes the OpenFOAM reader module, with additional X server software (see below).\u00a0 Running OpenFOAM applications in parallel using WSL is reported to work effectively.<\/p>\n<h3>Install Windows 10 Anniversary Update<\/h3>\n<p>The user first needs to install the <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/12387\/windows-10-update-history\" target=\"_blank\" rel=\"noopener\">Windows 10 Anniversary Update<\/a> in a 64-bit Windows 10 OS in order to access the <em>WSL<\/em>.<\/p>\n<ul>\n<li>Open the <em>Settings<\/em> application and select <em>Updates &amp; Security<\/em> \u2192 <em>Windows Update.<\/em><\/li>\n<li>In <em>Windows Update<\/em>, click <em>Check for Updates.<\/em><\/li>\n<li>The <em>Anniversary Update<\/em> appears as <em>Feature update to Windows 10, version 1607<\/em>.\u00a0 Click <em>Update<\/em>\u00a0and the software will download and install.<\/li>\n<li>For full instructions, see <a href=\"https:\/\/blogs.windows.com\/windowsexperience\/2016\/08\/02\/how-to-get-the-windows-10-anniversary-update\/\" target=\"_blank\" rel=\"noopener\">How to Get the Windows 10 Anniversary Update.<\/a><\/li>\n<\/ul>\n<h3>Activate Windows Subsystem for Linux<\/h3>\n<p>The user then needs to to activate the <em>WSL.<\/em><\/p>\n<ul>\n<li>Open the <em>Settings<\/em> application and select <em>Updates &amp; Security<\/em>\u00a0\u2192 <em>For Developers<\/em>.<\/li>\n<li>In <em>For Developers<\/em>, click <em>Developer Mode<\/em> (below right).<\/li>\n<li>Open the <em>Control Panel<\/em> and select <em>Programs \u2192 Turn Windows Features On or Off<\/em><\/li>\n<li>Enable the <em>Windows Subsystem for Linux (Beta)<\/em> option from the list and click <em>OK<\/em> (below left).<\/li>\n<li>You will be prompted to reboot your computer. Click <em>Restart Now<\/em> and wait for the the computer to reboot.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2976\" src=\"https:\/\/cdn.openfoam.org\/wp-content\/uploads\/2016\/12\/windows-bash-setup.png\" alt=\"windows-bash-setup\" width=\"650\" height=\"623\" \/><\/p>\n<h3>Run Bash on Ubuntu on Windows<\/h3>\n<p>After the computer restarts, the user can launch <em>Bash<\/em>.<\/p>\n<ul>\n<li>Click the <em>Start<\/em> button, type <code>bash<\/code>, and press <em>Enter<\/em>.<\/li>\n<li>The first time <em>bash.exe<\/em> is run, the user must accept the terms of service to install <em>Bash on Ubuntu on Windows<\/em>.<\/li>\n<li>When prompted, create a user account and password for use in the <em>Bash<\/em> environment.<\/li>\n<\/ul>\n<h3>Installing OpenFOAM<\/h3>\n<p>The packaged distributions of OpenFOAM on Ubuntu Linux can now be installed from within the\u00a0<em>Bash<\/em> environment.\u00a0 We recommend users install the <a href=\"https:\/\/openfoam.org\/download\/4-1-ubuntu\/\" target=\"_blank\" rel=\"noopener\">Ubuntu pack of OpenFOAM v4.1<\/a> or the <a href=\"https:\/\/openfoam.org\/download\/dev-ubuntu\/\" target=\"_blank\" rel=\"noopener\">current development version<\/a> (or both).<\/p>\n<ul>\n<li>Installing OpenFOAM 4.1\n<pre class=\"lang:c++ decode:true\">sudo add-apt-repository http:\/\/dl.openfoam.org\/ubuntu\nsudo sh -c \"wget -O - http:\/\/dl.openfoam.org\/gpg.key | apt-key add -\"\nsudo apt-get update\nsudo apt-get install openfoam4<\/pre>\n<\/li>\n<\/ul>\n<\/div>\n<\/article>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<hr \/>\n<hr \/>\n<blockquote>\n<h1><a class=\"question-hyperlink\" href=\"https:\/\/superuser.com\/questions\/1110633\/unable-to-resolve-host-windows-bash\"><strong><span style=\"color: #ff0000\">Unable to resolve Host<\/span><\/strong> &#8211; Windows Bash hatas\u0131nda<\/a><\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4972\" src=\"https:\/\/blog.aku.edu.tr\/abaydir\/abaydir\/files\/2017\/07\/Unable-to-resolve-Host-Screenshot-2017-07-18-12.02.32.png\" alt=\"\" width=\"995\" height=\"571\" \/><\/p>\n<p>I&#8217;m using Windows Bash and I&#8217;m getting the error <code>fox@FOX:\/etc$ sudo true<br \/>\n<span style=\"font-size: 12pt\">sudo: <span style=\"color: #ff0000\">unable to resolve host<\/span> FOX<\/span><\/code><\/p>\n<p>I&#8217;ve seen people say I&#8217;m suppose to edit <code>etc\/hosts<\/code>, but I don&#8217;t know what to put in the file. Can someone tell me what I&#8217;m suppose to put to fix this?<\/p>\n<h2>Answer | \u00c7\u00f6z\u00fcm<\/h2>\n<p>You can fix this by adding an entry to your <code>\/etc\/hosts<\/code> for your machine&#8217;s hostname.<\/p>\n<p>If you want a one-liner, something like this will do it:<\/p><\/blockquote>\n<pre class=\"lang:c++ decode:true\">printf \"\\n127.0.0.1   $HOSTNAME\\n\" | sudo tee -a \/etc\/hosts\n<\/pre>\n<p>Kaynak: <a href=\"https:\/\/superuser.com\/questions\/1110633\/unable-to-resolve-host-windows-bash\" target=\"_blank\" rel=\"noopener\">https:\/\/superuser.com\/questions\/1110633\/unable-to-resolve-host-windows-bash<\/a><\/p>\n<hr \/>\n<hr \/>\n<p>Kuruluma devam&#8230;<\/p>\n<blockquote>\n<article class=\"column span-8\">\n<div class=\"story\">\n<ul>\n<li>Installing OpenFOAM-dev\n<pre class=\"lang:c++ decode:true\">sudo add-apt-repository \"http:\/\/dl.openfoam.org\/ubuntu dev\"\nsudo sh -c \"wget -O - http:\/\/dl.openfoam.org\/gpg.key | apt-key add -\"\nsudo apt-get update\nsudo apt-get install openfoam-dev<\/pre>\n<\/li>\n<\/ul>\n<h3 id=\"user-configuration\">User Configuration<\/h3>\n<p>In order to use the installed OpenFOAM package, the user needs to set their environment for OpenFOAM as follows.<\/p>\n<ul>\n<li><strong>One Time Only<\/strong>: At the bottom of the user\u2019s <code>.bashrc<\/code> file, source the <code>bashrc<\/code> file in the OpenFOAM installation which contains the environment settings.\u00a0 For <code>openfoam4<\/code>, the following command avoids the need to open an editor (for OpenFOAM-dev, replace <code>openfoam4<\/code> with <code>openfoam-dev<\/code>):\n<pre class=\"lang:c++ decode:true\">echo \"source \/opt\/openfoam4\/etc\/bashrc\" &gt;&gt; .bashrc<\/pre>\n<\/li>\n<li><strong>One Time Only<\/strong>: register the change to the <code>.bashrc<\/code> file by typing at the terminal prompt (note the dots):\n<pre>source $HOME\/.bashrc<\/pre>\n<\/li>\n<li>Test that the <code>simpleFoam<\/code> application, from the OpenFOAM package, is working by typing\n<pre class=\"lang:c++ decode:true\">simpleFoam -help\n<\/pre>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4973\" src=\"https:\/\/blog.aku.edu.tr\/abaydir\/abaydir\/files\/2017\/07\/kurulum-test-Screenshot-2017-07-18-12.36.21.png\" alt=\"\" width=\"1029\" height=\"720\" \/><\/p>\n<ul>\n<li>A \u201cUsage\u201d message should appear. Your installation and user configuration is complete.<\/li>\n<\/ul>\n<p>If more than one OpenFOAM package is installed, e.g. both <code>openfoam4<\/code> and <code>openfoam-dev<\/code>, the user\u2019s <code>.bashrc<\/code> file should contain only the <code>source...<\/code> command for the version they currently wish to use.<\/p>\n<h3>Enabling Graphical Applications<\/h3>\n<p>To run graphical Linux applications, such as\u00a0<em>ParaView<\/em> or the\u00a0<em>gedit<\/em> editor, requires the installation of X server software.\u00a0 The most popular X server software for Windows is <a href=\"https:\/\/sourceforge.net\/projects\/xming\/\" target=\"_blank\" rel=\"noopener\">Xming<\/a>, which can be installed as follows:<\/p>\n<ul>\n<li><a href=\"https:\/\/openfoam.org\/download\/windows\/xming-download\" target=\"_blank\" rel=\"noopener\">Download the Xming installer<\/a>.<\/li>\n<li>Run the Xming installer using the default settings.<\/li>\n<li>Launch Xming and it runs in the background, visible in the system tray, waiting for a graphical Linux application to be launched.<\/li>\n<\/ul>\n<p>When a <code>bash<\/code> shell is opened, the <code>DISPLAY<\/code> environment variable needs to point to the X server that is running.\u00a0 To make this addition permanent, set the <code>DISPLAY<\/code> in the user\u2019s <code>.bashrc<\/code> file and source it again, i.e. execute <strong>one time only<\/strong>:<\/p>\n<pre class=\"lang:c++ decode:true\">echo \"export DISPLAY=:0\" &gt;&gt; .bashrc\nsource $HOME\/.bashrc<\/pre>\n<p>With graphics enabled, users may wish to install other useful supporting graphical applications for OpenFOAM, such as the\u00a0<em>gedit<\/em> file editor, the <em>GnuPlot<\/em> graph drawing package, and <em>mplayer <\/em>video player (and <em>mencoder <\/em>encoder) software, e.g.<\/p>\n<pre class=\"lang:c++ decode:true\">sudo apt-get install gedit gedit-plugins\nsudo apt-get install gnuplot gnuplot-x11 gnuplot-doc libgd-tools\nsudo apt-get install mplayer mencoder<\/pre>\n<h3>Next Steps<\/h3>\n<p>See <a href=\"https:\/\/openfoam.org\/download\/4-1-ubuntu\/#getting-started\" target=\"_blank\" rel=\"noopener\">OpenFOAM 4.1 on Ubuntu: Getting Started<\/a>.\u00a0 If the user has enabled graphical applications, they can open the <em>gedit<\/em> editor in the background (<code>&amp;<\/code>) with<\/p>\n<pre class=\"lang:c++ decode:true\">gedit &amp;<\/pre>\n<p>Otherwise without graphical support, 3 popular editors which can work through a terminal are:<\/p>\n<ul>\n<li><code>nano<\/code>: the easiest of the 3 editors for the purpose, see <a href=\"https:\/\/wiki.gentoo.org\/wiki\/Nano\/Basics_Guide\" target=\"_blank\" rel=\"noopener\"><code>nano<\/code> basics guide<\/a>;<\/li>\n<li><a href=\"http:\/\/www.gnu.org\/software\/emacs\/emacs.html\" target=\"_blank\" rel=\"noopener\"><code>emacs<\/code><\/a>: powerful editor that uses a more complex set of key commands, <a href=\"http:\/\/ocean.stanford.edu\/research\/quick_emacs.html\" target=\"_blank\" rel=\"noopener\"><code>emacs<\/code> basics<\/a>;<\/li>\n<li><code>vim<\/code>: another editor with arguably a less familiar set of key commands, see <a href=\"http:\/\/www.engadget.com\/2012\/07\/10\/vim-how-to\/\" target=\"_blank\" rel=\"noopener\"><code>vim<\/code> quick guide<\/a>.<\/li>\n<\/ul>\n<p>It is worth knowing the command to exit the editor you use in case a problem arises:<\/p>\n<ul>\n<li><code>nano<\/code> exits with <code>C-x<\/code> (<code>C<\/code>=Control key)<\/li>\n<li><code>emacs<\/code> exits with <code>C-x C-c<\/code> (preceded by <code>C-g<\/code>, if needed)<\/li>\n<li><code>vim<\/code> exits with <code>ESC :q!<\/code><\/li>\n<\/ul>\n<p><em>Thanks to Dongyue Li (from the <a href=\"https:\/\/openfoam.org\/dev\/contributors\/\" target=\"_blank\" rel=\"noopener\">Contributors to OpenFOAM<\/a>) for testing and reporting his experience with OpenFOAM using Bash on Ubuntu on Windows 10.<\/em><\/p>\n<\/div>\n<\/article>\n<\/blockquote>\n<p>Kaynak: <a href=\"https:\/\/openfoam.org\/download\/windows-10\/\" target=\"_blank\" rel=\"noopener\">https:\/\/openfoam.org\/download\/windows-10\/<\/a><\/p>\n<hr \/>\n<hr \/>\n<blockquote>\n<h2 id=\"getting-started\">Getting Started<\/h2>\n<p>Create a project directory within the <code>$HOME\/OpenFOAM<\/code> directory named <code>&lt;USER&gt;-4.1<\/code> (e.g. <code>chris-4.1<\/code> for user <code>chris<\/code> and OpenFOAM version 4.1) and create a directory named <code>run<\/code> within it, e.g. by typing:<\/p>\n<pre class=\"lang:c++ decode:true\">mkdir -p $FOAM_RUN<\/pre>\n<p>Copy across the backward facing step example, generate the mesh with <em>blockMesh<\/em> and run the steady flow, incompressible solver <em>simpleFoam<\/em><\/p>\n<pre class=\"lang:c++ decode:true\">cd $FOAM_RUN\ncp -r $FOAM_TUTORIALS\/incompressible\/simpleFoam\/pitzDaily .\ncd pitzDaily\nblockMesh\nsimpleFoam\nparaFoam\n<\/pre>\n<p>Refer to the <a href=\"http:\/\/cfd.direct\/openfoam\/user-guide\">OpenFOAM User Guide<\/a> to get started.<\/p><\/blockquote>\n<p>Kaynak: <a href=\"https:\/\/openfoam.org\/download\/4-1-ubuntu\/\" target=\"_blank\" rel=\"noopener\">https:\/\/openfoam.org\/download\/4-1-ubuntu\/<\/a><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-4979\" src=\"https:\/\/blog.aku.edu.tr\/abaydir\/abaydir\/files\/2017\/07\/son-kontrol-Screenshot-2017-07-18-12.57.28.png\" alt=\"\" width=\"1035\" height=\"647\" \/><br \/>\nNerde bu dosyalar?<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-4978\" src=\"https:\/\/blog.aku.edu.tr\/abaydir\/abaydir\/files\/2017\/07\/nerde-bu-dosyalar-Screenshot-2017-07-18-13.06.42.png\" alt=\"\" width=\"1027\" height=\"392\" \/>\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1-Windows 10\u2019da Geli\u015ftirici Modunu Etkinle\u015ftirmek Gerekli Yeni bir Windows s\u00fcr\u00fcm\u00fc \u00e7al\u0131\u015ft\u0131r\u0131yorsan\u0131z 10 Insider \u00f6nizleme, Yap\u0131 10122 ya da daha kesin olarak, o zaman yeni bir fark olabilir \u201cGeli\u015ftiriciler i\u00e7in\u201d i\u015fletim sistem ayarlar\u0131(settings) se\u00e7ene\u011finde. Geli\u015ftirme i\u00e7in ama\u00e7lanan modlar\u0131n\u0131 etkinle\u015ftirmek bu yap\u0131land\u0131rma se\u00e7ene\u011fi sa\u011flar, \u00d6rne\u011fin d\u00fczg\u00fcn \u00e7al\u0131\u015ft\u0131\u011f\u0131ndan emin olmak i\u00e7in canl\u0131 bir sistem geli\u015ftiriyoruz test uygulamalar\u0131 i\u00e7in. &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/blog.aku.edu.tr\/abaydir\/2017\/07\/18\/windows-10-da-openfoam\/\">Devam\u0131n\u0131 oku<\/a><\/p>\n","protected":false},"author":8,"featured_media":4979,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,33],"tags":[105],"class_list":["post-4968","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-genel","category-openfoam-cozuculer-solvers","tag-openfoam","item-wrap"],"_links":{"self":[{"href":"https:\/\/blog.aku.edu.tr\/abaydir\/wp-json\/wp\/v2\/posts\/4968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.aku.edu.tr\/abaydir\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.aku.edu.tr\/abaydir\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.aku.edu.tr\/abaydir\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.aku.edu.tr\/abaydir\/wp-json\/wp\/v2\/comments?post=4968"}],"version-history":[{"count":0,"href":"https:\/\/blog.aku.edu.tr\/abaydir\/wp-json\/wp\/v2\/posts\/4968\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.aku.edu.tr\/abaydir\/wp-json\/wp\/v2\/media?parent=4968"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.aku.edu.tr\/abaydir\/wp-json\/wp\/v2\/categories?post=4968"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.aku.edu.tr\/abaydir\/wp-json\/wp\/v2\/tags?post=4968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}