TWQ_View

TWQ_ViewTWQ_View is a handy ©MS Windows freeware for viewing and basic work with diagrams generated by the TWQ package of R.G. Berman, T.H. Brown, E.H. Perkins and J. Ellwood. You can run either DOS version of INTERSX via the program interface or winTERSX in the batch mode separately. You can also run 16-bit DOS version of INTERSX under 64-bit OS (like Windows Vista, 7 and 8) due to implemented support of the DOSBox emulator (which should be loaded and installed by yourself).
 With TWQ_View you can:

  • display diagrams;
  • adjust their design;
  • colorize curves and find specific equilibria (by clicking on curves as well as by selecting from the list);
  • zoom;
  • scroll;
  • show / hide specified curves and sets of equilibria containing specified components;
  • combine diagrams;
  • browse diagrams by moving through the list of plot-files;
  • plot compositions of phases (mole fractions of components/elements) for the list of compositional files;
  • run INTERSX.EXE from the program for selected plot-files or for all plot-files in the directory (using complicated cyclic batch mode process for handling frequent fatal terminations of the program) – this feature is available only for DOS versions of the TWQ package;
  • display averaged values (with deviations) on diagrams together with equilibria;
  • search plot-files with best convergence of intersections using sorted lists of averages;
  • change pressure units (bar→kbar) and activity scale (Log(α)α);
  • replace abbreviations automatically by a commonly accepted ones (taken from the editable list);
  • copy diagrams to the clipboard as a vector Windows Meta-Files (WMF) with following pasting to any editor of vector graphics (like ©CorelDraw) or to a text processor (like ©MS Word).
TWQ_View windows

 You can associate TWQ_View with desired extensions of plot-files (e.g. *.PLT, *.P1) and view diagrams simply by clicking on their files in the file explorer.
TWQ_View is used together with the TWQ_Comb program.

TWQ_View demos


Calculation of average P-T values:

Calculation of water activity:


Comments

Hi
Thank you for this very nice program.
I have a small problem

I am trying to calculate P-T of the following mineral assemblage (cd g fsp bi q sill H2O). Assuming water activity is 1.
I went to the parameters and entered the aH2O=1 and the aCO2=0. Then I started the calculation -- the THERMOCALC was stopped the calculation with an error message. In the tc-log file, I found this error
"
specification of PT window:
PT window: 5.0 <=> 25.0 kbar; 100 <=> 1500¡C (from script)
T window : 100 <-> 1500¡C :T interval = 100 (from script)
for cordierite activity calculation
fixed a(CO2), a(H2O) : y
: y
y not a real: replace with : n
n not a real: replace with : (nothing input)
: (nothing input)
:
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
not a real: replace with :
"
It seem to be there is a conflict between the cd and the activity of H2O and CO2.

Could you please help in this point??

Tamer

DimaDD's picture

Hello,

It seems that this is the problem in TC_Comb, not TWQ_View...;)

Anyway, yes: this is due to cordierite! This mineral requires input of H2O and CO2 activities in Thermocalc even if the system is "dry" (doesn't contain explicit fluid components in the tc-ax.txt file). Therefore the keyboard macro "Default" is not suitable in this case and you should try another one. Press the "Kbd.lib" button in TC_Comb, select the macro named "Cordierite (aH2O & aCO2)" in the opened window and press the "Use" button.

BTW, you can double-click on any record in the "Results" window (even with failed calculations) and look at the Thermocalc screen output in the separate window. Type of calculations (avPT or Rct) can be selected in the main TC_Comb window. This way may be more convenient than checking of tc-log.txt.

Cheers,
Dmitry

ttmuedi's picture

Guys i need help, ive got electron microprobe results and cannot paste them in this software, says ID number is absent always, why?

DimaDD's picture

Hello,
Do you mean TWQ_Comb? Input files for TWQ_View are only plot-files generated by TWQ.exe...
Tables for TWQ_Comb should contain columns with mineral abbreviations and with IDs (numbers) of analyses. These identifiers are required to know which analysis of some mineral is used in particular combination. TWQ_Comb determines the column with IDs of analyses by its header. You can find list of possible headers in TWQ_Comb.ini, at the end of this file:

Spot=SPOT;POINT;PROBE;ANALYSIS;AN

You can freely edit this list and add more headers, but make sure that it is not intersected with the other lists (with headers for mineral abbreviations, sample ID, Area ID, Selection).

I have some queries regarding installation of wintwq ver 2.64. I have installed ww_icl_redist_intel64_2019.3.203.msi on my windows PC as suggested in readme file. However when I run the exe. files, two system error files pop up, libifcoremd.dll and VCRUNTIME140.dll was not found, please try reinstalling the program. I have tried that but without any success. I am a new user and it will be very helpful if you can suggest a possible solution. Thanking you.

DimaDD's picture

Hi!
Thank you for information about ver. 2.64 of winTWQ, I've just found it on the new TWQ site and tried to install run. Yes, required libifcoremd.dll is missing. After a very quick Google search, I've downloaded this Intel Visual FORTRAN library from this site to the winTWQ folder - and now winTWQ executables work as expected.
I think that issue with VCRUNTIME140.dll (Microsoft Visual Studio library) can be solved by the same way. I already have this library.

Hi Prof. Dmitry,
Many thanks for your helpful suggestions, it worked! I was able to plot a simple alumino-silicate phase diagram and used TWQ_View to open the plot file. The program is very user friendly. Thanks again. I wanted to use this software to calculate chlorite-phengite equilibration temperature, using the models of Para et al. (2002) and Vidal et al. (2001). However, I could not find these models in the downloaded program. Any idea where I can download these models to use it in winTWQ? Any help will be much appreciated. Thank you.

DimaDD's picture

As far as I understand, that series of works devoted to chlorites by O. Vidal, T. Parra et al. is an independent research which just use TWQ and its datafiles as a convenient calculation tool, it is not connected with development of (win)TWQ and its original database. I don't know where you can find this modified database with additional thermodynamic data on chlorite endmemebers and solution models. I think you can contact with authors (Olivier Vidal and/or Teddy Parra) and ask them.

Thank you, Prof. Dmitry, for your helpful comments and suggestions. I will try to contact the authors regarding this.
Thanks and regards,