Thank you for the help with this. I can confirm that I was able to read your .cub file using Coreform Cubit 2021.5. There are also two new behaviors that I did not found before when I saved my model using version 2021.5:
I am able to save the same model that you sent (using save as…) in the .cub5 format without any crash or problems.
I am able to save the model in .cub and then read it again without any problems.
This might be an indication that the version 2021.5 might be causing the problem when saving my model, and that this problem was solved in version 2021.10 that you used.
Let me know what you find using version 2021.5.
Thanks also for the advice regarding using python and the command line.
I opened the .cub file that you sent me by email, imported additional surfaces and then perform additional webcuts. When I try to save the model using Coreform Cubit 2021.5 I get the same error message as before:
selected filter: Cubit files (*.cub)
Cubit>open “./modeV3.cub”
Geometry engine set to: ACIS Version 28.0.2.0
ERROR: ACIS API error number 73004
ACIS API message = missing logical in restore file
ERROR: did not read anything from the input file ‘C:\Users\joa790\AppData\Local\Temp\CBT6D48.tmp’
You may be trying to read a file that is from an Acis version
newer than you are using.
ERROR: Command Failed.
I will send you the journal file that I created above along with the additional surfaces so that you can try it if you want.
I used Coreform Cubit version 2020.2 and confirmed that the error above still occurs. In this case I used the original journal file that I sent you by email.
Do you have any other ideas of how I could fix this problem? I know you mentioned that version 2021.10 will be released in the next few days, but would the current development version already have the bug fixed?
Thank you for the suggestion. Quick question: did you manage to make it work with the 2021.5 version in your end? I know it worked with 2021.10, just curious whether you obtained similar results for the 2021.5.
Thanks, very much appreciated. Just a quick note that the errors that I get with the 2021.5 version occurs both on windows and linux (ubuntu) — I have tried in both.
I just ran 2021.5 on Fedora 33 and save the .cub5 file without a crash. I was able to open that file up and get the same model as before. Is your disk low on space?
My disk is not low on space, I double checked that.
Another update:
I used Cubit 2021.5 on Windows and rerun the journal file that I sent you yesterday and I still get the error message above. I will send you the exact journal file along with all the input surfaces so that you can try it out if you want.
I am waiting on the result for Cubit 2021.10 development version.
I sent the journal files and the input surfaces to support@coreform.com. Note that in the zip file there is a folder called CoreformCubit which contains a .cub file. This is the output from the journal file. If you try to open this file using cubit version 2021.5 you would get the error messages that I refer above.
Unfortunately, the error still persists. There is an improvement that I am able to save the file as .cub5 without Cubit closing and crashing.
The error occurs when I try to load the geometry back to my projects. What I do is: 1) Close Coreform Cubit, then open it again and try to load the previously saved .cub or, in this case, the .cub5 file. The exact error message that I get is below.
I sent to support@coreform.com the exact journal file that I used to create the .cub file as well as all the input surfaces. To reproduce this error, perform the following steps:
I will try running your exact script. I probably won’t install a docker image. My windows box is running low on disk space. It is frustrating, because I see the problem when I look at your .cub5 file. But I can’t generate a .cub5 file with the problem.
Just wanted to check if you have any updates on this. If I understand correctly, you can’t reproduce the error using the exact scripts that I sent you?
Let me know if there is anything that I can do to help.
I can not replicate your problem while running your scripts. I see the problem when I look at the cub files you generate, but I cannot create my own. I will spend a little more time today looking at this.
I am still working on this problem. I would like to know your thoughts regarding the following ideas:
I noticed that after saving the cubit session as .cub5 before imprint all, I can then open the session normally. However, if I save it after imprint all I cannot open the session (see the error message above, in the previous discussion). Would it be possible that the imprint process is corrupting the Acis geometry and causing the error that I observe?
Instead of imprint all, would you recommend me using imprint only for specific surfaces that I know are at the interface between volumes? Would imprint tolerant help?
I think what is happening is that the imprint creates many new very complex curves and surfaces. The size of the ACIS file increases with the number of entities. For some reason on your system, you fail to write the large ACIS file into the cub file.
What is the difference in file size between an exported ACIS file before and after the imprint?
Thanks for the reply. The difference in size is around ~3 to 4 Gb. Before imprint typical size of the model geometry is ~4-5 Gb. After imprint the size decreases to 1 - 2 Gb. These sizes correspond to the .cub5 and .cub formats.
Note that if I save the model in ACIS format (.sat) after imprint I have a file with size of ~5 Gb.
Is there a away to test your hypothesis that my system might be preventing me to write the ACIS file after the imprint?
Would it help if I send you my environmental variables?
That is what I expected. The file is significantly larger after imprinting. I have asked my IT people if they have any ideas about what could be causing this on your environment. Hopefully, they have some directions to try.