<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/nature/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/nature/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 11 May 2013 13:57:16 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nature/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Alexey Evlampiev</title><link>https://sourceforge.net/p/nature/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,7 @@
-Welcome to your wiki!
+Nature is an open source library for computing thermochemical and kinetic properties of complex gas mixtures. The library supports the CHEMKIN data format and a native script for defining complex gas mixtures. Nature is written in C# and does not depend on any third party tool or library. Nature interoperates natively with any .NET language including the FTN95: Fortran 95 compiler.

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+The primary goal of the project is to deliver the open source that provides the foundation for potentially complex CFD solutions capable of carrying computing in the distributed environment and particularly the Cloud computing.

-The wiki uses [Markdown](/p/nature/wiki/markdown_syntax/) syntax.
-
+[[project_screenshots]]
 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey Evlampiev</dc:creator><pubDate>Sat, 11 May 2013 13:57:16 -0000</pubDate><guid>https://sourceforge.netdbb89356a5360a5476eec53d9cd60cf22477230c</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/nature/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;What is Nature&lt;/strong&gt;&lt;br /&gt;
Nature is a lightweight .NET library for computing thermo chemical properties of individual chemical species and complex multi-component mixtures. In its core, the library takes away the concern of utilizing extensive sets of parameters required when working with realistic physical models, thus resulting in tremendous reduction of the efforts required for building numerical simulators. &lt;br /&gt;
&lt;strong&gt;Walkthrough&lt;/strong&gt;&lt;br /&gt;
Using Nature in practice means &lt;br /&gt;
-   importing the required data&lt;br /&gt;
-   accessing the computed values via the class properties&lt;br /&gt;
The following describes both steps and the two main classes involved, namely ModelObject and IdealGasMixture.&lt;br /&gt;
&lt;strong&gt;Importing data&lt;/strong&gt;&lt;br /&gt;
The key type representing the physical/thermo-chemical model in Nature is the ModelObject class located in the Nature namespace. This class encapsulates a number of settings defining the model aspects as well as the set of the required parameters.&lt;br /&gt;
Using Nature in the code starts from building an instance of this class from a set of input data and, if necessary, from additional configuration settings. &lt;br /&gt;
In its core Nature is designed to be extendable towards supporting any kind of data source whether it is Web Service,  Relational Database or a well formed markup language. However, due to its wide acceptance, the CHEMKIN data format is chosen to be the default type of data import used with Nature. &lt;br /&gt;
A new instance of the ModelObject class constructed from a given CHEMKIN formatted data, can be obtained using the CkUtil utility class found in the Nature.Data namespace. The following example demonstrates creating the ModelObject instance using the thermodynamic and molecular transport data URIs of the GRI3 model.&lt;/p&gt;
&lt;p&gt;ModelObject model = CkUtil.LoadModel(&lt;br /&gt;
"http://www.me.berkeley.edu/gri_mech/version30/files30/thermo30.dat",&lt;br /&gt;
"http://www.me.berkeley.edu/gri_mech/version30/files30/transport.dat");&lt;/p&gt;
&lt;p&gt;Note that if the model files are stored on the local file system, the file paths can be supplied instead. When required, the model data can be reduced with the lambda expression operators as shown below&lt;/p&gt;
&lt;p&gt;string[] speciesIDs = new string[] { "ch4", "o2", "co2", "h2o" };&lt;br /&gt;
ModelSetupInfo setupInfo = new ModelSetupInfo()&lt;br /&gt;
{&lt;br /&gt;
   ChemicalSpeciesFilter = (species) =&amp;gt; speciesIDs.Contains(species.SpeciesID)&lt;br /&gt;
 };&lt;br /&gt;
ModelObject model = CkUtil.LoadModel(setupInfo,&lt;br /&gt;
   "http://www.me.berkeley.edu/gri_mech/version30/files30/thermo30.dat",&lt;br /&gt;
   "http://www.me.berkeley.edu/gri_mech/version30/files30/transport.dat");&lt;/p&gt;
&lt;p&gt;In this example the GRI3 model is filtered such that only  the specified four chemical species are included into the materialized ModelObject.&lt;br /&gt;
Once an instance of the ModelObject is available, the actual computing can be started.&lt;br /&gt;
&lt;strong&gt;Computing thermo-chemical properties&lt;/strong&gt;&lt;br /&gt;
The second most important type in Nature is IdealGasMixture. Objects of this type represent a particular state of the ideal gas mixture. In Nature the state is not limited to only the thermodynamic characteristics like temperature, pressure, molar concentration etc., but it includes all other (secondary) gas properties such as thermodynamic potentials (e.g. entropy, enthalpy etc), molecular transport properties (e.g. individual species and mixture averaged viscosities, diffusivities etc.) and more. The following example demonstrates creating a new object of the IdealGasMixture type by calling the CreateIdealGasMixture method of the ModelObject class.&lt;/p&gt;
&lt;p&gt;IdealGasMixture mixture = model.CreateIdealGasMixture(@"&lt;br /&gt;
   ch4 = 0.5&lt;br /&gt;
    o2  = ?&lt;br /&gt;
");&lt;/p&gt;
&lt;p&gt;Here the gas composition (50% if methane and 50% of oxygen at the default temperature and pressure of 300K and 1atm respectively) is defined with the string given in the GMix format (for more information see &lt;span&gt;[examples of creating the IdealGasMixture]&lt;/span&gt;).&lt;br /&gt;
Once the ideal gas mixture object is obtained, any property of the mixture can be obtained by simply accessing the corresponding C# property. For example the following code&lt;/p&gt;
&lt;p&gt;double diffusivity = mixture.Diffusivity;&lt;br /&gt;
double speedOfSound = mixture.SpeedOfSound;&lt;/p&gt;
&lt;p&gt;gets computed values of the mixture diffusivity and the speed of sound. Note that there is no need to call a method computing these properties. The get property accessor takes care that the requested value will be computed if it is not yet. The computing is triggered only once on the first call to the C# property. All the following accesses will simple return the cached result. &lt;br /&gt;
By employing the Lazy Loading pattern in Nature, the library API is simplified such that there is no learning curve involved to start using Nature in practical modeling.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey Evlampiev</dc:creator><pubDate>Sat, 11 May 2013 13:39:41 -0000</pubDate><guid>https://sourceforge.net3227c8cebd6aa2690ef53f070dadd1b563c5f4e5</guid></item><item><title>Home modified by Alexey Evlampiev</title><link>https://sourceforge.net/p/nature/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/nature/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;&lt;ul class="md-users-list"&gt;&lt;li&gt;&lt;a href="/u/evlampiev/"&gt;Alexey Evlampiev&lt;/a&gt; (admin)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-51812a845fcbc9797b15b0ef" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey Evlampiev</dc:creator><pubDate>Wed, 01 May 2013 14:45:26 -0000</pubDate><guid>https://sourceforge.net2c2bff5e5a3dc653374ae20cfb0c6dd86a72c7bb</guid></item></channel></rss>