Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

> I see. It looks like Itasca 5 was last updated in mid-2019. I assume they have their reasons for both embedding FiPy and not updating it in a recently-supported version. If they're running a Python interpreter, it should be possible for you to manually update FiPy, but you'd need to ask the Itasca developers how to do that. #903

Closed
chenyong97-cloud opened this issue Mar 3, 2023 · 2 comments
Labels

Comments

@chenyong97-cloud
Copy link

          > I see. It looks like Itasca 5 was last updated in mid-2019. I assume they have their reasons for both embedding FiPy and not updating it in a recently-supported version. If they're running a Python interpreter, it should be possible for you to manually update FiPy, but you'd need to ask the Itasca developers how to do that.

I tried Mr. Furtney solution way, that pass this error and I'm now facing with new error which, I think, is related to my windows variables ... .

OK, what is the new error?

Dear Dr.Guyer:
Now I am also troubled by the same problem. I wonder if you can help me find a solution.
Gmsh3D.zip

When I input the code(with Mr. Furtney solution way) in the attachment in PFC6.0 (the software has built-in version 3.6.1 of Ipython), the following error message appears:

IndexError Traceback (most recent call last)
C:\Program Files\Itasca\PFC600\exe64\python36\lib\site-packages\fipy\meshes\gmshMesh.py in read(self)
793 ghostsData,
--> 794 facesData) = self._parseElementFile()
795

C:\Program Files\Itasca\PFC600\exe64\python36\lib\site-packages\fipy\meshes\gmshMesh.py in _parseElementFile(self)
1123 geometricalEntity) = _parseTags(offset=faceOffset,
-> 1124 currLineInts=currLineInts)
1125 currLineInts[0] -= faceOffset

C:\Program Files\Itasca\PFC600\exe64\python36\lib\site-packages\fipy\meshes\gmshMesh.py in _parseTags(offset, currLineInts)
1052
-> 1053 numTags = currLineInts[2]
1054 tags = currLineInts[3:(3+numTags)]

IndexError: list index out of range

During handling of the above exception, another exception occurred:

PermissionError Traceback (most recent call last)
in ()
41 Surface Loop(33) = {27, 28, 29, 30, 31, 32};
42 Volume(34) = {33};
---> 43 ''' % locals())
44

C:\Program Files\Itasca\PFC600\exe64\python36\lib\site-packages\fipy\meshes\gmshMesh.py in init(self, arg, communicator, order, background)
1942 self.cellGlobalIDs,
1943 self.gCellGlobalIDs,
-> 1944 self._orderedCellVertexIDs_data) = self.mshFile.read()
1945
1946 self.mshFile.close()

C:\Program Files\Itasca\PFC600\exe64\python36\lib\site-packages\fipy\meshes\gmshMesh.py in read(self)
851 finally:
852 os.unlink(self.nodesPath)
--> 853 os.unlink(self.elemsPath)
854 if self.namesPath is not None:
855 os.unlink(self.namesPath)

PermissionError: [WinError 32] Another program is using this file, and the process cannot access it : 'C:\Users\chenyong\AppData\Local\Temp\tmpvgib8l76Elements'
Gmsh3D.zip
Gmsh3D.zip

Originally posted by @chenyong97-cloud in #784 (comment)

@guyer
Copy link
Member

guyer commented Mar 6, 2023

Itasca is not our software and, as you quoted, they apparently embed a four year old version of FiPy. Current FiPy does not raise an error on this mesh.

Please contact Itasca for support.

@guyer guyer closed this as completed Mar 6, 2023
@guyer guyer added the invalid label Mar 6, 2023
@chenyong97-cloud
Copy link
Author

Itasca is not our software and, as you quoted, they apparently embed a four year old version of FiPy. Current FiPy does not raise an error on this mesh.

Please contact Itasca for support.

Thank you very much, Dr.Guyer.
Best wishes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants