Skip to content

Commit 65a459c

Browse files
committed
Volume Blocks v1.1.3.45
This commit introduces sets of volume blocks that allow 1-D calculations to be executed within T-MATS. It includes a flow start, pipe, and Volume blocks. These blocks require thermo information to be included within a structure format. Examples of this format and a sample model are included in the examples folder.
1 parent f5a4876 commit 65a459c

25 files changed

+1277
-3
lines changed

Trunk/BlockGuide.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ <h3>T-MATS Simulink Block Sets</h3>
118118
<ol>
119119
<li><a href="TMATS_Library/TMATS_Support/TurboC_TMATSC_Amb.html">Ambient</a></li>
120120
<li><a href="TMATS_Library/TMATS_Support/ThermoC_TMATSC_FA.html">Flow add </a></li>
121+
<li><a href="TMATS_Library/TMATS_Support/ThermoC_TMATSC_FC.html">Flow bus convert </a></li>
121122
<li><a href="TMATS_Library/TMATS_Support/TurboC_TMATSC_FS.html">Flow start</a></li>
122123
<li><a href="TMATS_Library/TMATS_Support/ThermoC_TMATSC_shP.html">Set total by total enthalpy (ht) and pressure (Pt)</a></li>
123124
<li><a href="TMATS_Library/TMATS_Support/ThermoC_TMATSC_sMN1.html">Set static by Mach number equals 1</a></li>
@@ -168,6 +169,17 @@ <h3>T-MATS Simulink Block Sets</h3>
168169
<li><a href="TMATS_Library/TMATS_Support/TurboC_TMATSC_Trb.html">Turbine</a></li>
169170
</ol>
170171
</li>
172+
<li>Volume Blocks
173+
<ol>
174+
<li><a href="TMATS_Library/TMATS_Support/Vol_TMATS_FlowStart.html">Flow start</a></li>
175+
<li><a href="TMATS_Library/TMATS_Support/Vol_TMATS_pipe.html">Pipe</a></li>
176+
<li><a href="TMATS_Library/TMATS_Support/Vol_TMATS_pipeCd.html">Pipe Cd</a></li>
177+
<li><a href="TMATS_Library/TMATS_Support/Vol_TMATS_PropLookup.html">Prop lookup</a></li>
178+
<li><a href="TMATS_Library/TMATS_Support/Vol_TMATS_Valve.html">Valve</a></li>
179+
<li><a href="TMATS_Library/TMATS_Support/Vol_TMATS_Vol.html">Volume</a></li>
180+
<li><a href="TMATS_Library/TMATS_Support/Vol_TMATS_VolVar.html">Variable area volume</a></li>
181+
</ol>
182+
</li>
171183
</ol>
172184
</body>
173185
</html>

Trunk/Install_TMATS.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ function Install_TMATS()
33

44
% TMATSver and date must remain in the listed form for the ver command to work
55
% properly.
6-
TMATSver = '1.1.3.44';
7-
TMATSdate = 'Sept-28-2017';
6+
TMATSver = '1.1.3.45';
7+
TMATSdate = 'Nov-03-2017';
88

99
error = 0;
1010
TMATSInstallmsg = 'Install T-MATS matlab toolbox? Note: Installation will add MATLAB paths and generate MEX files.';
27.6 KB
Binary file not shown.
1.62 MB
Binary file not shown.

Trunk/TMATS_Examples/TMATS_Run_Example.m

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
InpMsg{7} = '6) Steady State JT9D, Cantera';
2222
InpMsg{8} = '7) Cycle Model';
2323
InpMsg{9} = '8) Linearization Examples';
24-
InpMsg{10} = '9) Cancel Setup';
24+
InpMsg{10} = '9) Volume Example';
25+
InpMsg{11} = '10) Cancel Setup';
2526
InpMsgFinal = '';
2627

2728
for i = 1: length(InpMsg)
@@ -144,6 +145,13 @@
144145
end
145146

146147
case '9'
148+
disp(strcat('Loading Simulation from: ', TMATS.P ,TMATS.POp,'Example_Volumes'))
149+
cd Example_Volumes
150+
load('Properties.mat')
151+
open_system('Dyn_Vol_Line.slx');
152+
cd ..
153+
154+
case '10'
147155
disp('Example Setup Canceled');
148156
otherwise,
149157
disp('Selection Invalid')
17.5 KB
Binary file not shown.
13.8 KB
Binary file not shown.
16.3 KB
Binary file not shown.
21.1 KB
Binary file not shown.
19 KB
Binary file not shown.

0 commit comments

Comments
 (0)