Hi again,
Im trying to run the A2M main script, but matlab keeps outputting an error that says
"Error using exploreFieldOdb (line 109) The file JoinLine_A2M.odb does not exist.
Error in (line59) out=xploreFieldOdb(odb_name)"
The original odb file does exist, however there isn't any odb file in the GUI output folder. Abaqus runs the analysis fine, and there are 0 errors in the .msg file. I have tried copying and pasting the odb file inside the a2M_GUI_Output folder, but the code deletes it when its run.
What could be the problem??
Many thanks,
Check the Abaqus output configuration:
Ensure the Abaqus job is properly set up to generate the output database (ODB) file.
Verify the Abaqus analysis step settings are configured to write the ODB file.
Verify the Abaqus output directory:
Confirm the Abaqus job is writing the ODB file to the expected directory.
By default, the ODB file is saved in the same directory as the Abaqus job input file.
Make sure the A2M main script is looking for the ODB file in the correct location.
Check permissions and access:
Ensure the MATLAB script has the necessary read permissions to access the ODB file.
Verify the user account running the MATLAB script has the required access to the ODB file.
https://caeassistant.com/blog/repair-a-corrupted-cae-file-video/
I'm so sorry to be bothering you again, but the I have been stuck in this for quite some time and the error persists.
If you have any more suggestions I would be grateful.
Thank you, again
You are welcome.
You can edit the file C:\SIMULIA\Commands\abaqus.bat by right-click->Open with, and selecting Notepad to open it. After this, the contents of this file should look like this:
@echo off "C:\SIMULIA\Commands\abq2020se.bat" %*
Best regards.
Hello, first I would like to thank you for the very quick response, second, I don't understand what you mean by editing the file C:\SIMULIA\Commands\abaqus.bat
Yes, i do find a file name abq2020se.bat in that directory, and I have that same directory in the path in "Environment Variables"
@Bruno Seabra,
When typing the command abaqus on your PC, a .bat file called abaqus.bat is run. This is normally located in C:\SIMULIA\Commands. This can be opened with a text editor to view its contents. Inside this file, you can see which version of Abaqus is executed. For example, on my PC, the file abaqus.bat exists in the folder C:\SIMULIA\Commands\. The contents of this file are the following:
@echo off "C:\SIMULIA\Commands\abq2016.bat" %*
In this case, abaqus.bat refers to abq2016.bat. This means that when I use the command abaqus on my PC, it will run abq2016.bat and therefore Abaqus 2016 will be run.
Please edit the file C:\SIMULIA\Commands\abaqus.bat on your PC and specify the path C:\SIMULIA\Commands\abq2020se.bat. Apart from this, you should find a file named as abq2020se.bat inside the directory C:\SIMULIA\Commands\ of your PC.
Let me know if this resolves the issue.
I have the same exact problem and I am able to run abaqus in my command window, but with 'abq2020se job=' because of the different version, and after I made that change a file is now created under the name of input_file_A2M.odb but the same error still appears
Try this:
1. open the command prompt, cmd,enter abaqus cae, if you get abaqus is Not an internal or external command, nor a runnable program or batch file
2. Change the system environment to where the .bat file is, my computer is D:\SIMULIA\Abaqus\Commands
3. close the program, and reopen to run it.
it works for me
The error that is issued "Error using exploreFieldOdb (line 93) Not enough arguments." means that the name of the odb file is not specified as an input argument to the function exploreFieldOdb. It seems that the function exploreFieldOdb is called without any input arguments.
Regarding the possible restrictions of the student version of Abaqus, please open the odb file and check if the results in it are accessible. Apart from this, you must ensure that the student version of Abaqus can execute Python scripts in the CAE interface, since the function exploreFieldOdb involves the execution of a Python script.
Best.
Dear George,
By orginal odb file I mean the odb file that Abaqus outputs when the job is run. I have moved the odb file to the folder where the exploreFieldOdb matlab code is, and now the script outputs "Error using exploreFieldOdb (line 93) Not enough arguments."
I am running your matlab code on my laptop, which has the student version of abaqus (limited to 1000 nodes), but the input file has the data for a model made with the full version and has more than 1000 nodes. I dont know if this could be a problem.
Many thanks,
Dear Ignacio,
Please check that the name of the odb file that is accepted as input by the exploreFieldOdb function corresponds to an existing odb file in the working directory (the folder that appears above the command window of Matlab). After the generation of the Abaqus input file and the postprocessing script through the Abaqus2Matlab GUI, the modified input file must be run by Abaqus and then obtain the results from the odb file that is generated from this analysis.
What do you mean by "original" odb file?
Best.