<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to UserGuide</title><link>https://sourceforge.net/p/bluecfd-sc/wiki/UserGuide/</link><description>Recent changes to UserGuide</description><atom:link href="https://sourceforge.net/p/bluecfd-sc/wiki/UserGuide/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 25 Mar 2015 23:10:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/bluecfd-sc/wiki/UserGuide/feed" rel="self" type="application/rss+xml"/><item><title>UserGuide modified by Bruno Santos</title><link>https://sourceforge.net/p/bluecfd-sc/wiki/UserGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,17 +1,17 @@
 Table of Contents:

-  * Quick Start
-  * Installation
-    * ParaView
-  * Usage Notes
-    * Using Windows Command Line (CMD)
-    * Adapting simulation cases from Linux to Windows
-    * Working with OpenFOAM text files
-      * Installing Notepad2 manually
-    * Using advanced features
-      * Changing running options
-        * Disabling stack tracing
-        * Adding/Modifying Environment Variables
+  * [Quick Start](#quick-start)
+  * [Installation](#installation)
+    * [ParaView](#paraview)
+  * [Usage Notes](#usage-notes)
+    * [Using Windows Command Line (CMD)](#using-windows-command-line-cmd)
+    * [Adapting simulation cases from Linux to Windows](#adapting-simulation-cases-from-linux-to-windows)
+    * [Working with OpenFOAM text files](#working-with-openfoam-text-files)
+      * [Installing Notepad2 manually](#installing-notepad2-manually)
+    * [Using advanced features](#using-advanced-features)
+      * [Changing running options](#changing-running-options)
+        * [Disabling stack tracing](#disabling-stack-tracing)
+        * [Adding/Modifying Environment Variables](#addingmodifying-environment-variables)

@@ -80,14 +80,14 @@

     set PATH=%PATH%;C:\Program Files\ParaView 3.12.0\bin

-* Save and close the file `ParaView.bat`. 
+  6. Save and close the file `ParaView.bat`. 

 # Usage Notes

-In this chapter the reader is introduced to the basics of using blueCFD-SingleCore and a few tips on how to get around it. It examplifies the usage for blueCFD-SingleCore 2.0, but it should work with all versions. 
+In this chapter the reader is introduced to the basics of using blueCFD-SingleCore and a few tips on how to get around it. It exemplifies the usage for blueCFD-SingleCore 2.0, but it should work with all versions. 

 ## Using Windows Command Line (CMD)

@@ -117,16 +117,14 @@

   * Under CMD, only a few scripts are made available: 
     * `paraFoam.bat` \- will launch ParaView to show your local case. It does not provide the same options as the Linux version of `paraFoam` script. 
-    * `gompi.bat` \- does **not** work in **blueCFD-SingleCore**, but if you cross-compile the code yourself, you can type: 
-    
-    gompi &amp;lt;solver_application&amp;gt; &amp;lt;solver_options&amp;gt;
+    * `gompi.bat` \- does **not** work in **blueCFD-SingleCore**, but if you cross-compile the code yourself, you can type: &lt;br /&gt;
+    `gompi &amp;lt;solver_application&amp;gt; &amp;lt;solver_options&amp;gt;`
+    &lt;br /&gt;And it will launch the application using the selected MPI during start-up. 

-&amp;gt; And it will launch the application using the selected MPI during start-up. 
-
-* `codehelp.bat` \- it will launch the offline code help 
-* With CMD, the only editor usable from inside the command line window is `edit`. You can also use Notepad2, if you installed it yourself (see section Working with OpenFOAM text files). 
-* CMD terminal has limited auto-completion... it only auto-completes local file and folder names; in other words, it will only complete the path that you tell it to look at. Simply type part of the command you are looking for and for each time you press the `Tab` key, it will cycle through the names that fit the description. 
-* For more help, keep reading the OpenFOAM user manual, and/or programmers manual (both available at `Start-&amp;gt;Programs-&amp;gt;blueCFD-SingleCore-2.0-&amp;gt;OpenFOAM`) and/or see check the links at `Start-&amp;gt;Programs-&amp;gt;blueCFD-SingleCore-2.0-&amp;gt;Links`. 
+  * `codehelp.bat` \- it will launch the offline code help 
+  * With CMD, the only editor usable from inside the command line window is `edit`. You can also use Notepad2, if you installed it yourself (see section Working with OpenFOAM text files). 
+  * CMD terminal has limited auto-completion... it only auto-completes local file and folder names; in other words, it will only complete the path that you tell it to look at. Simply type part of the command you are looking for and for each time you press the `Tab` key, it will cycle through the names that fit the description. 
+  * For more help, keep reading the OpenFOAM user manual, and/or programmers manual (both available at `Start-&amp;gt;Programs-&amp;gt;blueCFD-SingleCore-2.0-&amp;gt;OpenFOAM`) and/or see check the links at `Start-&amp;gt;Programs-&amp;gt;blueCFD-SingleCore-2.0-&amp;gt;Links`. 

 ## Adapting simulation cases from Linux to Windows

@@ -197,4 +195,4 @@
   * `OpenFOAM-2.0/etc/config/settings.sh` \- Has additional settings for the OpenFOAM environment variables for usage in Linux, Cygwin and MSys. 
   * `OpenFOAM-2.0\etc\batchrc.bat` \- Has a subset of the environment variables from the previous two files, for usage in the Windows Command Line (CMD). 

-There is also an accessory folder for dynamically updating and loading additional variables for usage with blueCFD-SingleCore's installation structure. This folder is `OpenFOAM-2.0/etc/config.d/`, where files with the extension `.bat` are loaded in CMD. There you'll find several files, depending on the installation options. It's left to the reader to investigate how these can be modified and/or created for extending one's needs. 
+There is also an accessory folder for dynamically updating and loading additional variables for usage with blueCFD-SingleCore's installation structure. This folder is `OpenFOAM-2.0/etc/config.d/`, where files with the extension `.bat` are loaded in CMD. There you'll find several files, depending on the installation options. It's left to the reader to investigate how these can be modified and/or created for extending one's needs.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruno Santos</dc:creator><pubDate>Wed, 25 Mar 2015 23:10:50 -0000</pubDate><guid>https://sourceforge.net0c4c1bb6778c2c221a4e7fbba9338cfc606f5251</guid></item><item><title>UserGuide modified by Anonymous</title><link>https://sourceforge.net/p/bluecfd-sc/wiki/UserGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Table of Contents: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Quick Start&lt;/li&gt;
&lt;li&gt;Installation&lt;ul&gt;
&lt;li&gt;ParaView&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Usage Notes&lt;ul&gt;
&lt;li&gt;Using Windows Command Line (CMD)&lt;/li&gt;
&lt;li&gt;Adapting simulation cases from Linux to Windows&lt;/li&gt;
&lt;li&gt;Working with OpenFOAM text files&lt;/li&gt;
&lt;li&gt;Installing Notepad2 manually&lt;/li&gt;
&lt;li&gt;Using advanced features&lt;/li&gt;
&lt;li&gt;Changing running options&lt;ul&gt;
&lt;li&gt;Disabling stack tracing&lt;/li&gt;
&lt;li&gt;Adding/Modifying Environment Variables&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="quick-start"&gt;Quick Start&lt;/h1&gt;
&lt;p&gt;In case you already are already familiar with the Windows Command Line (CMD), here is a few brief instructions. &lt;/p&gt;
&lt;p&gt;To the left you should be able to find the &lt;strong&gt;blueCFD-SingleCore installers&lt;/strong&gt;. Summary of instructions on how to install blueCFD-SingleCore: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download and install blueCFD-SingleCore. It will in turn download and install the selected options. &lt;/li&gt;
&lt;li&gt;After installed, a new group named "blueCFD-SingleCore 2.x" (x=0,1) should be created in your Windows start menu. &lt;ul&gt;
&lt;li&gt;There you will find links for launching a Windows Command Line for a particular architecture. &lt;/li&gt;
&lt;li&gt;There you will also find several other useful links. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Follow the instructions for OpenFOAM's official online &lt;a class="" href="http://www.openfoam.com/docs/user" rel="nofollow"&gt;User Guide&lt;/a&gt;. You should take into account that some commands will have to be adapted to the Windows Command Line (CMD). For example: &lt;ul&gt;
&lt;li&gt;In Linux: &lt;code&gt;cp -r $FOAM_TUTORIALS $FOAM_RUN&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;In Windows: &lt;code&gt;xcopy /S /E %FOAM_TUTORIALS%\*.* %FOAM_RUN%\&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For more, continue reading. &lt;br /&gt;
&lt;/p&gt;
&lt;h1 id="installation"&gt;Installation&lt;/h1&gt;
&lt;p&gt;When running the installer &lt;code&gt;blueCFD-SingleCore-2.x-y-setup.exe&lt;/code&gt; (x&amp;gt;=0, y&amp;gt;=1), if a dialogue box pops up, it will read the following text: &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;You seem to be either an Administrator or a Power User of this machine, so you have two possible installation methods: &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Press the "Yes" button for installing blueCFD-SingleCore for all users.&lt;br /&gt;
Or Press the "No" button for installing for yourself only. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Be advised that when installing blueCFD-SingleCore for all users, you should install it in a permissive folder, such as "C:\blueCFD-SC-2.0". &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Here is what each option entails: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you answer &lt;strong&gt;Yes&lt;/strong&gt;: &lt;ol&gt;
&lt;li&gt;The setup application will try to install it in the &lt;code&gt;Program Files&lt;/code&gt; folder in the machine where the installer is being executed.&lt;br /&gt;
As a global installation, the following default folders will be used: &lt;/li&gt;
&lt;li&gt;Windows 32bit: &lt;code&gt;C:\Program Files&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Windows 64bit: &lt;code&gt;C:\Program Files (x86)&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;The global &lt;code&gt;Start Menu&lt;/code&gt; folder (on the Windows symbol button on the lower left corner) will be used for placing the links and shortcuts for the installed features of blueCFD-SingleCore. &lt;/li&gt;
&lt;li&gt;Nonetheless, the blueCFD-SingleCore installer currently does not take into account more complex installation folder structures. In other words, blueCFD-SingleCore is currently hard-coded for a single user named &lt;code&gt;ofuser&lt;/code&gt;, in order to avoid problems with spaces in user names. &lt;/li&gt;
&lt;li&gt;After choosing the installation mode (or custom options), you'll be presented with the list of options chosen to be installed. &lt;/li&gt;
&lt;li&gt;When using the downloadable version of blueCFD-SingleCore, most of those options will need to download the necessary packages to be installed along with it. In case the download fails, you'll be instructed that a list of files to be downloaded is provided on the respective downloads folder. Please download them manually in case the installer cannot download them on its own. &lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;If you answer &lt;strong&gt;No&lt;/strong&gt;: &lt;ol&gt;
&lt;li&gt;The setup application will try to install it in your personal working area.&lt;br /&gt;
By installing in your personal work area, the default folders to be used are as follows: &lt;/li&gt;
&lt;li&gt;The default target folder path will be based on your personal &lt;code&gt;Application Data&lt;/code&gt; folder. This will vary depending on your Windows version and said folder is sometimes hidden. The usual folder where blueCFD will ask to be installed at is: &lt;ul&gt;
&lt;li&gt;Windows XP: &lt;code&gt;C:\Documents and Settings\your user name here\Application Data\blueCFD-2.0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Windows Vista and 7: &lt;code&gt;C:\Users\your user name here\AppData\Roaming\blueCFD-2.0&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Your personal &lt;code&gt;Start Menu&lt;/code&gt; folder (on the Windows symbol button on the lower left corner) will be used for placing the links and shortcuts for the installed features of blueCFD-SingleCore. &lt;/li&gt;
&lt;li&gt;During installation you will be asked if those are in fact the folders where you want to place blueCFD-SingleCore, which you can change.&lt;br /&gt;
Keep in mind that if you install blueCFD-SingleCore in some other location, the links and shortcuts will only be accessible to your user on: &lt;/li&gt;
&lt;li&gt;the machine where you installed blueCFD-SingleCore; &lt;/li&gt;
&lt;li&gt;or in your transferable account, in case of a domain installation at your work office. Warning: This means that somewhere between 0.8 and 1.4GB of data will be copied to your roaming account on the domain server! Contact your systems administrator for more information. &lt;/li&gt;
&lt;li&gt;After choosing the installation mode (or custom options), you'll be presented with the list of options chosen to be installed. &lt;/li&gt;
&lt;li&gt;When using the downloadable version of blueCFD-SingleCore, most of those options will need to download the necessary packages to be installed along with it. In case the download fails, you'll be instructed that a list of files to be downloaded is provided on the respective downloads folder. Please download them manually in case the installer cannot download them on its own. &lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="paraview"&gt;ParaView&lt;/h2&gt;
&lt;p&gt;ParaView has to be installed manually: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download ParaView from here: &lt;a href="http://www.paraview.org" rel="nofollow"&gt;http://www.paraview.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Install it wherever you want to. &lt;/li&gt;
&lt;li&gt;Go to the blueCFD-SingleCore start menu and pick &lt;code&gt;Browse blueCFD-SingleCore folder&lt;/code&gt;. &lt;/li&gt;
&lt;li&gt;Go into the folder &lt;code&gt;OpenFOAM-*\etc\config.d&lt;/code&gt; and create a file named: &lt;code&gt;ParaView.bat&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Edit that file with Notepad or Notepad2 and place there a line of code similar to the following one: &lt;/p&gt;
&lt;p&gt;set PATH=%PATH%;C:\Program Files\ParaView 3.12.0\bin&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Save and close the file &lt;code&gt;ParaView.bat&lt;/code&gt;. &lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1 id="usage-notes"&gt;Usage Notes&lt;/h1&gt;
&lt;p&gt;In this chapter the reader is introduced to the basics of using blueCFD-SingleCore and a few tips on how to get around it. It examplifies the usage for blueCFD-SingleCore 2.0, but it should work with all versions. &lt;/p&gt;
&lt;h2 id="using-windows-command-line-cmd"&gt;Using Windows Command Line (CMD)&lt;/h2&gt;
&lt;p&gt;To start a Windows Command Line window with a desired architecture, go to the group at the &lt;code&gt;Start Menu&lt;/code&gt; entitled &lt;code&gt;blueCFD-SingleCore 2.0&lt;/code&gt; and select one of the following shortcuts (depends on installation options): &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Command Line with mingw-w32 DP &lt;/li&gt;
&lt;li&gt;Command Line with mingw-w32 SP &lt;/li&gt;
&lt;li&gt;Command Line with mingw-w64 DP &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When this is done, you will be given the prompt. Should be something like &lt;code&gt;C:\Program Files\blueCFD-SingleCore-2.0&amp;gt;&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;Next we will follow the initial steps of the official &lt;a class="" href="http://www.openfoam.com/docs/user" rel="nofollow"&gt;OpenFOAM User Guide&lt;/a&gt;. The usual work folder should be at &lt;code&gt;blueCFD-SingleCore-2.0\ofuser-2.0\&lt;/code&gt;. Run the following commands: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="n"&gt;ofuser&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;2.0&lt;/span&gt;
&lt;span class="n"&gt;mkdir&lt;/span&gt; &lt;span class="n"&gt;run&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This will create the &lt;code&gt;run&lt;/code&gt; folder, for running your OpenFOAM cases. In Windows, this folder will be at &lt;code&gt;blueCFD-SingleCore-2.0\ofuser-2.0\run&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;You can now make a full copy of the tutorials if you want to run them all! To make a full copy, do: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="n"&gt;run&lt;/span&gt;
&lt;span class="n"&gt;xcopy&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;S&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;E&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;FOAM_TUTORIALS&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;tutorials&lt;/span&gt;\
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Now you can follow the tutorial instructions available at the User Guide (see link inside &lt;code&gt;Start-&amp;gt;Programs-&amp;gt;blueCFD-SingleCore-2.0-&amp;gt;OpenFOAM&lt;/code&gt;), starting page &lt;code&gt;U-20&lt;/code&gt;, or online at &lt;a class="" href="http://www.openfoam.com/docs/user/cavity.php" rel="nofollow"&gt;Lid-driven cavity flow&lt;/a&gt;. You should be able to run most of the commands available there. &lt;/p&gt;
&lt;p&gt;Things to keep in mind: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Under CMD, only a few scripts are made available: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;paraFoam.bat&lt;/code&gt; - will launch ParaView to show your local case. It does not provide the same options as the Linux version of &lt;code&gt;paraFoam&lt;/code&gt; script. &lt;/li&gt;
&lt;li&gt;&lt;code&gt;gompi.bat&lt;/code&gt; - does &lt;strong&gt;not&lt;/strong&gt; work in &lt;strong&gt;blueCFD-SingleCore&lt;/strong&gt;, but if you cross-compile the code yourself, you can type: &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;gompi &amp;lt;solver_application&amp;gt; &amp;lt;solver_options&amp;gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;And it will launch the application using the selected MPI during start-up. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;codehelp.bat&lt;/code&gt; - it will launch the offline code help &lt;/li&gt;
&lt;li&gt;With CMD, the only editor usable from inside the command line window is &lt;code&gt;edit&lt;/code&gt;. You can also use Notepad2, if you installed it yourself (see section Working with OpenFOAM text files). &lt;/li&gt;
&lt;li&gt;CMD terminal has limited auto-completion... it only auto-completes local file and folder names; in other words, it will only complete the path that you tell it to look at. Simply type part of the command you are looking for and for each time you press the &lt;code&gt;Tab&lt;/code&gt; key, it will cycle through the names that fit the description. &lt;/li&gt;
&lt;li&gt;For more help, keep reading the OpenFOAM user manual, and/or programmers manual (both available at &lt;code&gt;Start-&amp;gt;Programs-&amp;gt;blueCFD-SingleCore-2.0-&amp;gt;OpenFOAM&lt;/code&gt;) and/or see check the links at &lt;code&gt;Start-&amp;gt;Programs-&amp;gt;blueCFD-SingleCore-2.0-&amp;gt;Links&lt;/code&gt;. &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="adapting-simulation-cases-from-linux-to-windows"&gt;Adapting simulation cases from Linux to Windows&lt;/h2&gt;
&lt;p&gt;There are several situations where the simulation cases that work in Linux, will not work in Windows without some additional modifications. In a nutshell, the documented situations are: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In &lt;code&gt;cht*MultiRegionFoam&lt;/code&gt; tutorials, the field variable &lt;code&gt;K&lt;/code&gt; has been renamed to &lt;code&gt;K_&lt;/code&gt;, but only file wise! It is still referenced as &lt;code&gt;K&lt;/code&gt; as a code object. This means that the &lt;code&gt;changeDictionaryDict&lt;/code&gt; files need to change &lt;code&gt;K&lt;/code&gt; to &lt;code&gt;K_&lt;/code&gt;. It might also affect the &lt;code&gt;fvSolution&lt;/code&gt; files as well, but only in references to the file name itself. The script &lt;code&gt;chtMultiRegionFixK&lt;/code&gt; should help fix these issues, although this has to be done in Linux/Cygwin/MSys: &lt;/p&gt;
&lt;p&gt;chtMultiRegionFixK folder/path/to/tutorial&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In &lt;code&gt;PDRFoam*&lt;/code&gt; tutorials, the field &lt;code&gt;B&lt;/code&gt; has been renamed &lt;code&gt;B_&lt;/code&gt;, similarly to the previous point. The script &lt;code&gt;PDRFoamFixB&lt;/code&gt; should help fix these issues: &lt;/p&gt;
&lt;p&gt;PDRFoamFixB folder/path/to/tutorial&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;STL files that have special characters should be have their &lt;code&gt;solid&lt;/code&gt; names modified to compatible names. Such example is the tutorial &lt;code&gt;incompressible/simpleFoam/motorBike&lt;/code&gt;, where the script &lt;code&gt;fixForWindows&lt;/code&gt; fixes these issues: &lt;/p&gt;
&lt;p&gt;./fixForWindows&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the Windows build, the solvers will create time folders with 3 digits in the base 10 exponent. For example, in Linux, a time folder named &lt;code&gt;1e-08&lt;/code&gt; will be named &lt;code&gt;1e-008&lt;/code&gt; in Windows. &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For more, see the script &lt;code&gt;prepareTutorials4Win&lt;/code&gt;: &lt;/p&gt;
&lt;p&gt;which prepareTutorials4Win&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="working-with-openfoam-text-files"&gt;Working with OpenFOAM text files&lt;/h2&gt;
&lt;p&gt;Windows Notepad is not capable of handling text files saved in Linux. This is because the characters for ending lines in Windows and in Linux are not exactly the same. &lt;/p&gt;
&lt;p&gt;Therefore, we at &lt;a class="" href="http://www.bluecape.com.pt" rel="nofollow"&gt;blueCAPE&lt;/a&gt; suggest users to use &lt;a class="" href="http://www.flos-freeware.ch/notepad2.html" rel="nofollow"&gt;Notepad2&lt;/a&gt; since it's one of the closest text editors to Windows Notepad as well as carrying very nice features with it. &lt;/p&gt;
&lt;h3 id="installing-notepad2-manually"&gt;Installing Notepad2 manually&lt;/h3&gt;
&lt;p&gt;If you wish to install it manually (or have already installed it), you can also associate Notepad2 to every file, making it available from the right-click menu on Windows Explorer. For that, create a file named something like &lt;code&gt;autoregNotepad.reg&lt;/code&gt; and put inside it the following code: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;Windows Registry Editor Version 5.00

&lt;span class="k"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;HKEY_CLASSES_ROOT&lt;/span&gt;&lt;span class="k"&gt;\*\shell]&lt;/span&gt;

&lt;span class="k"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;HKEY_CLASSES_ROOT&lt;/span&gt;&lt;span class="k"&gt;\*\shell\Notepad2]&lt;/span&gt;
&lt;span class="na"&gt;@&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"Open with &amp;amp;Notepad2"&lt;/span&gt;

&lt;span class="k"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;HKEY_CLASSES_ROOT&lt;/span&gt;&lt;span class="k"&gt;\*\shell\Notepad2\command]&lt;/span&gt;
&lt;span class="na"&gt;@&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"\"C:\\ProgramsFree\\notepad2\\Notepad2.exe\" \"%1\""&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;You should change the path for Notepad2 accordingly to where you installed it. &lt;/p&gt;
&lt;p&gt;Other suggestions for text editors, in increasing degree of complexity+features are: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Notepad++: &lt;a href="http://notepad-plus-plus.org" rel="nofollow"&gt;http://notepad-plus-plus.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Geany: &lt;a href="http://www.geany.org/Download/Releases" rel="nofollow"&gt;http://www.geany.org/Download/Releases&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Eclipse IDE (Classic): &lt;a href="http://www.eclipse.org/downloads" rel="nofollow"&gt;http://www.eclipse.org/downloads/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="using-advanced-features"&gt;Using advanced features&lt;/h2&gt;
&lt;h3 id="changing-running-options"&gt;Changing running options&lt;/h3&gt;
&lt;h4 id="disabling-stack-tracing"&gt;Disabling stack tracing&lt;/h4&gt;
&lt;p&gt;Stack tracing was a new introduction in blueCFD 2.0-1. It has been officially supported in OpenFOAM on POSIX system for years now, but only now has it been put into work in Windows by &lt;a class="" href="http://www.bluecape.com.pt" rel="nofollow"&gt;blueCAPE&lt;/a&gt;. Nonetheless, this feature has not yet been tested to the maximum extend, so there might still exist some quirks to sort out. &lt;/p&gt;
&lt;p&gt;So, in case the solver or utility crashes during the call to print stack, try disabling said tracer before running the solver/utility, by running: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;FOAM_STACKTRACE_DISABLE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id="addingmodifying-environment-variables"&gt;Adding/Modifying Environment Variables&lt;/h4&gt;
&lt;p&gt;There are 3 main files that have relevant environment variables, all defined for the core OpenFOAM functionality: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;OpenFOAM-2.0/etc/bashrc&lt;/code&gt; - Has the base OpenFOAM environment variables for usage in Linux, Cygwin and MSys. &lt;/li&gt;
&lt;li&gt;&lt;code&gt;OpenFOAM-2.0/etc/config/settings.sh&lt;/code&gt; - Has additional settings for the OpenFOAM environment variables for usage in Linux, Cygwin and MSys. &lt;/li&gt;
&lt;li&gt;&lt;code&gt;OpenFOAM-2.0\etc\batchrc.bat&lt;/code&gt; - Has a subset of the environment variables from the previous two files, for usage in the Windows Command Line (CMD). &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There is also an accessory folder for dynamically updating and loading additional variables for usage with blueCFD-SingleCore's installation structure. This folder is &lt;code&gt;OpenFOAM-2.0/etc/config.d/&lt;/code&gt;, where files with the extension &lt;code&gt;.bat&lt;/code&gt; are loaded in CMD. There you'll find several files, depending on the installation options. It's left to the reader to investigate how these can be modified and/or created for extending one's needs. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 25 Mar 2015 20:58:02 -0000</pubDate><guid>https://sourceforge.net40e69c15c9ed7d8b8bb7895d9de0ba971f0a2ee0</guid></item></channel></rss>