Project 1 - Parsing NASA thermodynamic data
Project 1 - Parsing NASA thermodynamic data
Aim :- Write a code in matlab to parse the NASA thermodynamics data file and calculate the thermodynamic properties of various species.
Objective
- write a function that extracts the 14 co- efficients nad calculate.
- We have calculate the entrophy, specific heat for all species in the data.
- to calculate molecular weight of each species and display the commond windows.
- finally we have plot the enthalphy, entrophy, specific heat for the local temprature range.
- we have calculate the low temprature and high temprature.
- the main program we have save as 'THEMO.dat' file.
- Input generate Cp, H, S.
- Plots for O2,O,N2,CO2 species.
File parsing :-
the file parsing is the process of anlyzing a string of symbols in natural language. the term parasing come pars means parts spreach.
some parsing alogrithm may generate parsing in front of its list of parse trees of syntallically.
NASA thermo data files:-
where,
R = Univesal Gas constant 8.314
T = Temprature
Cp = Specific Heat[KJ]
S = Entropy[KJ/mol]
H = Enthaphy
a(i) = co- efficients
Whare i = 1 to 14

here i will show data files some parts

important definitions of specific heat, enthaphy, entropy is below
Specfic Heat :-
the quantity of heat required to raise the temprature of one gram of a substance by one celsius degree. The units of specific heat are usually calories or joules per gram per Celsius degree.
Specific heat capacity is a measure of the amount of heat energy required to change the temperature of 1 kg of a material by 1 K. Hence it is important as it will give an indication of how much energy will be required to heat or cool an object of a given mass by a given amount.
- It is represented by S but in the standard state, it is represented by S°.
- Its SI unit is J/Kmol.
- Its CGS unit is cal/Kmol.
- thermo.dat file (input parameter)
- fgetl ( we read temprature and split the temprature)
- strsplit (convert into cell array)
- str2num ( to find lower temprature and higher temprature)
- mkdir ( to create the file folder)
- cd (change into the directory)
Finding of NASA thermpodynamics data
- Local tempratures and higher tempratures.
- enthalpy, entropy, specific heat.
- molecular weight.
Main program of file parsing NASA thermodynamic
outputs errors













