Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VCPP to modify a software

Status
Not open for further replies.

medef

Programmer
May 23, 2007
3
FR

Hi, I would like to get some advices concerning the way of using Visual c++ in order to modify already-existing software: CHEMKIN, which is used in the modeling of chemical Kinetic, and more specifically AURORA, the heterogeneous chemical module.

In AURORA, we must enter certain input files (one containing the homogeneous reactions and their rate-constant, one containing the heterogeneous reactions, an other the thermodynamic dates of the implied species and another the boundary conditions)
Aurora lies itself upon a windows with a toolbars and a open-bar with the possibility of loading the desired files.
All these files are generally nothing more than texts.
We must on a button in order to launch the compilation, afterwards we obtain the results of the simulation, which are not very interesting in their form, so that it's necessary to go through a "post-processing" step, which allows to plot certain parameters as a function of others ( for example the concentration of a product as a function of time).
The “post-processing process” window has the following aspect:
- a list of the variables which could be selected for the x-axis (example concentration of O2, N2, NO2, CH4 and so on, mass, temperature, time, position etc….)
- a similar list of the variables which could be selected for the y-axis
- a button which create the plot of y as a function of x
All I want to do is to plot the evolution of the concentrations of several products as a function of the temperature, and I would like to get such plots automatically, i.e. without being forced to adjust the post-processing parameters for each trials. This would avoid a considerable loss of time.
I would like to create a button in the aurora-window which would allow getting directly after a compilation a plot representing the evolution of fixed species concentrations with temperatures.
This would avoid going through the post-processing windows.
For this purpose, I think it's appropriated to work with visual c++, but my knowledge of this development environment is very limited, so that I need a piece of advices.
Do you think that I could access to the users-interface of Chemkin-Aurora with such very intuitive tools like MFC Appwizard.exe, which don't require to be accustomed with coding in C++ ?
Do you think that I could create my button with “Visual c++” without having to do much coding?

I thank you ahead of time for your responses!

 
Do you have the source code for the programs you want to modify?
 
Thank you for your advice, but I have now rejected this possibility, I have posted an other thread.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top