PAT312, Section 47, December 2006 S47-3 Copyright 2007 MSC.Software Corporation MSC.PATRAN TO QTRAN TRANSLATOR PATQ Submitting a thermal job from MSC.Patran starts patq in background patq can also be invoked as an external executable Type patq at a command prompt Functions of patq Read the MSC.Patran model, boundary conditions, etc. translate into a resistor – capacitor (R-C) network Start the MSC.Thermal solver, QTRAN. Run patq utilities
PAT312, Section 47, December 2006 S47-4 Copyright 2007 MSC.Software Corporation PATQ When you start patq in a command window, you see the following menu: PATQ -- PATQ -- PATQ -- PATQ -- PATQ MSC.Patran QTRAN PViewfactor Version: Release Date: Fri Dec 9 00:34:06 PST 2005 Copyright: , MSC.Software Corp. Execution Node: NA-RICH0(000423a293ca) (Windows 5.0 (Build 2195: Service Pack 4)) Execution Date: 27-OCT-2006 Execution Time: 19:42:36 Please Enter the Desired Option: 1 --> Quit. 2 --> Read a MSC.Patran Neutral File and Generate QTRAN and PViewfactor Input Data Files. 3 --> Submit PViewfactor Job (if required). 4 --> Generate QTRAN Main Program. 5 --> Submit QTRAN for Compilation, Linkage, and Execution. 6 --> Select Additional PATQ Utility Options. 7 --> Submit EQTRAN for Execution of PreDefined Fixed Dimension qtran_lib.exe.
PAT312, Section 47, December 2006 S47-5 Copyright 2007 MSC.Software Corporation PATQ MAIN MENU 1. Quit, this option simply exits the patq Program. 2. Translate a MSC.Patran Neutral File in to QTRAN and P/VIEWFACTOR Input data files. This menu pick will also make patq read template.bin file in MSC.Thermal root directory as well as any local template.dat file that exists in the current directory. 3. Spawn Viewfactor Execution After MSC.Patran Neutral File has been translated, with Menu Pick 2 you can spawn a viewfactor run as a batch job to create radiosity nodes, radiation viewfactors, and radiation resistors. 4. QTRAN Main Program Generation. The purpose of patq Menu Pick 4 is to generate a new qtran.f main program source file. 5. Spawn QTRAN execution to batch. After qtran.f is created with Menu Pick 4, you can compile it, link it and run it as a batch job with Menu Pick Patq Main Menu 6 will serve you with additional patq utilities. 7. Run precompiled qtran.exe thus avoiding compilation. Since array dimensions are preset, there is a problem size limit.
PAT312, Section 47, December 2006 S47-6 Copyright 2007 MSC.Software Corporation MSC.THERMAL PATQ UTILITY MENU Selection 6 yields the following additional menu PATQ Utilities Menu Please Enter the Desired Option: 1 --> Return to Main Menu. 2 --> Access the Material Property Database Utilities. 3 --> Convert a QTRAN Output File to PATRAN Nodal Results File(s). 4 --> Convert a QTRAN Output File to PATRAN Neutral File(s). 5 --> Generate Temperature vs. Time Plot File(s). 6 --> Convert CONDUCDAT, VFRESDAT, CAPDAT or QPLOTDAT Files from Binary to Text. 7 --> Map Temperatures from one Neutral File to Another. 8 --> Convert a Nodal Results File to a Neutral File. 9 --> Lump QINDAT with the $INSERT Files to Create a Single Bulk Data File > Report Times of the Nodal Results Files > Create LCI Material Properties from other Material Types > Specify Memory Buffer Array Size for the Direct Solver > Convert Binary Nodal Results files to ASCII Nodal Results files > Redefine the Boundary Conditions > Create SINDA Input File from QTRAN Input Files > Create TRASYS Input File from vfin.dat File > Create P/Thermal Input from TRASYS output > Create NEVADA Input File from vfin.dat File > Create P/Thermal Input from NEVADA output.
PAT312, Section 47, December 2006 S47-7 Copyright 2007 MSC.Software Corporation MSC.THERMAL FILES When you select Analysis/Analyze/Apply jobname subdirectory is created Initial files written: filename.ntl.1: FEM neutral file, contains most LBC data mat.dat: Materials data file, MPID data and contents of mat.dat.apnd template.dat: LBC and MID templates and contents of template.dat.apnd qin.dat: Input data file read by qtran.exe at runtime initialization vf.ctl: Contains viewfactor filenames and parameters micro.dat: Contains microfunction statements
PAT312, Section 47, December 2006 S47-8 Copyright 2007 MSC.Software Corporation MSC.THERMAL FILES (Cont.) If "Between Regions" or Temperature "Coupled" LBC are used: gapconvec.dat: Direct Translation of convection with Between Regions option gaprad.dat: Direct translation of radiation with Between Regions Option tcouple.dat: Direct translation of temperature with Coupled Option
PAT312, Section 47, December 2006 S47-9 Copyright 2007 MSC.Software Corporation Next files written patq.inp: Scripted responses to a sequence of patq menu picks patq is run in batch mode and licenses are acquired patqb.log: System log file for patqb run patq.msg.x: Echo of patqb script, responses, status, and diagnostics patq.ses.x: Echo of patq.inp A blizzard of data files are created MSC.THERMAL FILES (Cont.)
PAT312, Section 47, December 2006 S47-10 Copyright 2007 MSC.Software Corporation MSC.THERMAL FILE CONTENTS Network data files, some are binary (convert with patq) conduc.datConductive resistor data (binary) convec.datConvective resistor file (binary) res.datAdvective resistors cap.datCapacitor data file (binary) node.datNode definition data temp.datNodal initial temperatures tfix.datNodal fixed temperatures fres.datflow network resistor data pnode.datFlow network node definitions pfix.datNode numbers of fixed pressure nodes press.datNodal fixed pressures
PAT312, Section 47, December 2006 S47-11 Copyright 2007 MSC.Software Corporation MSC.THERMAL FILE CONTENTS (Cont.) If viewfactor run is requested, patq runs vfcall: vfin.datMain input data file for the viewfactor run vfnode.datRadiosity nodes vf.msg.xxViewfactor run messages vfraw.datEnclosure viewfactor data (binary) vfdiag.datViewfactor run diagnostics vfres.datRadiation resistors
PAT312, Section 47, December 2006 S47-12 Copyright 2007 MSC.Software Corporation MSC.THERMAL FILE CONTENTS (Cont.) Files generated during compilation, linking and execution qtran.fContains FORTRAN declarations, calls crunch qtran.oObject file qtran.exeqtran executable stat.binContains iteration data, read by qstat command
PAT312, Section 47, December 2006 S47-13 Copyright 2007 MSC.Software Corporation Output files for a completed run qout.dat.xxGlobal ASCII output data for the run Energy balance, iterations, diagnostics, etc nrxx.nrf.xxThermal nodal results file (binary) nrxx.asc.xxThermal nodal results file (ASCII) Request ASCII results file or convert with patq utility npxx.nrf.xxHydraulic nodal results file (binary) npxx.asc.xxHydraulic nodal results file (ASCII) nhxx.nrf.xxElement hydraulic results (binary) nhxx.asc.xxElement hydraulic results (ASCII) qplot.datIf plot block data is requested MSC.THERMAL FILE CONTENTS (Cont.)