|
|
|||
![]() |
Department of Engineering |
| University of Cambridge > Engineering Department > computing help |
*.db, *.db.jou Example : plate1.db, plate1.db.jouThese are the essential files. First is the patran database. The second is the journal file which can be used to re-create the database in most cases.
The following session files can also be kept. These can be used to run demos.
patran.ses.*
The following are the patran message files :
*.msg.*Unlike a single journal file there are one session file per patran session. The following are the additional ABAQUS files :
*.inp *.msg *.dat *.fil *.log *.comNone of the ABAQUS files need to be kept.
To check use a separate X-term window and go to the directory from which you are running patran from (this is listed in the top of the "Read Results" form. Type ls -l *.fil and this will list all the files with the extension fil in that directory. If the *.fil file exists then go back to Patran and click on the "filter" button again. If it does not list the *.fil file in question then type in the fil file name (including the full path name) in the box marked "Selected Results File" and click on the "OK" button. This hopefully should read the results from that *.fil file.
For example if you are a first time user you may have a created a separate directory but forgetting to change to that directory before invoking Patran is a common mistake.
Go to your HOME directory using cd and then use the following command to search for the patran database.
find ./ -name "*.db"
The other Patran files will be found in the directory from which you invoked PATRAN. If necessary move these files to the desired directory using the mv command (make sure you are NOT running PATRAN while you are doing this).
If not you can use the corresponding journal file *.db.jou to re-build the database. For example if you have deleted the database plate1.db then look for the plate1.db.jou. If this file exists then start patran and then choose File / Utilities / Rebuild... and then choose the plate1.db.jou file and click on OK. This should re-create the database in most cases.
If the plate1.db.jou does not exist then you could try using the patran.ses.* file. This time choose File / Session / Play... and then choose the patran.ses.* file and click on OK. This is more likely to work if there was a single session file for the *.db in question ie all the work in creating the database was done in a single patran session.
If the work was carried out in several patran sessions then there will be one session file per session. Then these session files after minor edits to remove opening and closing of the said database can be run is sequence. However this method is frought with problems and the re-creation of the database may not be completely successful.
If not then you have to move the database into a temporary directory. Use the following commands to create a directory and move the database into it.
cd /tmp mkdir uid ( Example : mkdir 94abc ) mv plate1.db /tmp/uid/. ( Example : mv plate1.db /tmp/94abc/. )
Then use the commands mentioned above. Once the database has been compacted quit from Patran and then move the database back to your home directory.
cd (this should take it to your home directory) cd p3 (if you are working on a separate directory called p3). mv /tmp/94abc/plate1.db .
Exit from whatever window manager you were running and run the dtwm window manager and then open the PATRAN database in question. This should restore the database for use by the heartbeat turning to a steady green. However if this does not happen then the database is corrupt.
Then it might be possible to delete the database and then use the journal file (*.db.jou) to re-create the database. Under File... choose Utilities... and Rebuild and then choose the appropriate journal file.
Action : Analyze Object : Entire Model Method : Full Run
Click on Restart Parameters... . In the new form that pops up set
Restart Type : Write
Also set the parameter Increment between writing data to the appropriate number. Then click on the APPLY button.
The same applies when loading and boundary conditions are to be specified that these are also given meaningful names. Then these can be combined into one or more load cases.
If there are more than one step in the analysis then there should be one loadcase (and a job step) for each of the step. The loadcase name is used for identifying the results after the ABAQUS job has run and the results have been read into the PATRAN database ie during post processing.
The job name by default is the same as that of the PATRAN database. It is the name of the ABAQUS input file that will be created. For example if one is working on the database plate.db then the ABAQUS input file will be called plate.inp by default. However it need not be the same. For example if you are planning to run a number of analyses (say) for the purposes of a parametric study then the job name can be modified to represent this. Here "plate-a", "plate-b" are variants that can be used to represent different files but which is still associated with the riginal "plate" database.
| | Computing Help |[Finite Elements] | [Engineering Packages] |