Apply the following procedure: first, go to the input file directory, create a text file and enter the command line “cmd.exe” (see figures 1 and 2). After renaming and saving the text file, close the file and change the file’s extension from “.txt” to “.bat.” Then double click the “.bat” file, and the command prompt window will pop up (see figure 3). Now you have set the command prompt into the input file directory.
Figure 1: Creating a text file into the input directory
Figure 2: Writing the “cmd.exe” command in a text file
Figure 3: Set the command prompt into the input file directory
Before you write the syntax check command into the command prompt window, you must learn your ABAQUS command to call it in this window. Each ABAQUS version has its own command. From ABAQUS 2016 onwards, their default command is “abqxxxhfy” with “y” the hotfix number and “xxx” the year of the ABAQUS release. For example, if you want to call the ABAQUS 2017 (general release), the command will be “abq2017”. ABAQUS versions before 2016 are referred to by version numbers. For example, the command for the ABAQUS 6.14-1 will be “abq6141”.
Now, run the syntax check command as illustrated in Figure 4 and click the enter button to run the syntax check. (abq2017 syntaxcheck j=your input file’s name)
Figure 4: Applying the syntax check command
After running the syntax check, some files will be generated in the directory (.dat, .log, .odb, and .sim). Open the log file; if it shows you the lines illustrated in figure 5, it means there are no flaws in the input file.
If the input file has any flaws, the log file will show the lines illustrated in figure 6.
Figure 5: The input file without flaws
Figure 6: The input file with flaws
Check the data (.dat) file for more information if you encounter errors. For example, as illustrated in figure 7, the input file has a flaw in missing the “S “letter in the keyword “Step.” After syntax check, the data file shows the error (see figure 8).
Figure 7: Defective line in the input file
Figure 8: Check data file for more information
When you check the errors and warnings, you have to review your file and model and take some actions if needed.
- You must login to post comments
Please login first to submit.