Skip to content

Commit 83d94b3

Browse files
Started documentation on tabulation methods
1 parent 4421142 commit 83d94b3

4 files changed

Lines changed: 110 additions & 0 deletions

File tree

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
.. _NICFD_LUT:
2+
3+
.. sectionauthor:: Evert Bunschoten
4+
5+
Table Generation for NICFD Applications
6+
=======================================
7+
8+
SU2 DataMiner supports the creation of look-up table methods for thermophyscial state evaluations in NICFD simulations in SU2.
9+
This tutorial demonstrates how to generate thermophyisical tables for NICFD applications in SU2.
10+
11+
To get started, you will need to have installed SU2 DataMiner according to the :ref:`installation instructions <label_setup>`.
12+
13+
14+
.. contents:: :depth: 2
15+
16+
17+
1. Config Generation
18+
--------------------
19+
20+
As for any process within the SU2 DataMiner workflow, all settings regarding the setup of the fluid data generation and tabulation are stored in an SU2 DataMiner :ref:`configuration object <NICFD>`.
21+
The tutorial for setting up a generic SU2 DataMiner configuration can be found :ref:`here <tutorialconfigs>`.
22+
23+
In this example, a look-up table will be created for the application of modeling fluid properties of carbondioxide in supercritical conditions.
24+
The following Python code snippet shows the initial set-up.
25+
26+
27+
.. code-block::
28+
29+
#!/usr/bin/env python3
30+
from su2dataminer.config import Config_NICFD
31+
32+
config = Config_NICFD()
33+
config.SetFluid("CarbonDioxide")
34+
config.SetEquationOfState("HEOS")
35+
36+
37+
38+
39+
40+
41+
Step 2:
42+
-------
43+
44+
45+
46+
.. image:: /Tutorials/SU2DataMiner_logo.png
47+
:height: 200 px
48+
:width: 200 px
49+
:scale: 50 %
50+
:alt: this is a detailed caption of the image
51+
:align: left
52+
:loading: embed
53+
54+
55+
and some text here
56+
57+
Step 3:
58+
-------
59+
60+
61+
.. _literature_link_1:
62+
63+
64+
.. _literature_link_2:

Documentation/source/documentation/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ Documentation
66
datageneration/index.rst
77
datamining/index.rst
88
machinelearning/index.rst
9+
tabulation/index.rst
910
:maxdepth: 1
1011

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.. _doc_nicfd_tabulation:
2+
3+
.. sectionauthor:: Evert Bunschoten
4+
5+
Tabulation methods for NICFD applications
6+
=========================================
7+
8+
9+
This page documents the tabulation methods for NICFD applications in *SU2 DataMiner*
10+
11+
.. contents:: :depth: 2
12+
13+
14+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.__init__
15+
16+
17+
Refinement settings
18+
-------------------
19+
20+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.SetTableDiscretization
21+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.SetCellSize_Coarse
22+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.SetCellSize_Refined
23+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.SetRefinement_Radius
24+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.AddRefinementCriterion
25+
26+
Table Generation
27+
----------------
28+
29+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.SetTableVars
30+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.GenerateTable
31+
32+
Output of tabulation files
33+
--------------------------
34+
35+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.WriteTableFile
36+
37+
.. autofunction:: Manifold_Generation.LUT.LUTGenerators.SU2TableGenerator_NICFD.WriteOutParaview
38+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Tabulation Methods
2+
==================
3+
4+
.. toctree::
5+
NICFD
6+
:caption: Tabulation Methods
7+
:maxdepth: 1

0 commit comments

Comments
 (0)