-
-
July 30, 2018 at 7:47 pm
trbritt
SubscriberI have a 3D model of a magnet design in a different software I need to switch over to ANSYS. I have an APDL macro which should convert the data and I have the data in a seperate text file, which is how it was exported by the other software. When I run it in APDL, it gives me '*VREAD cannot open file'. Any suggestions?
-
July 30, 2018 at 9:45 pm
peteroznewman
SubscriberIn the attached text tile, it references another file, QXF_2DV2_3DV7_RE_v4
Do you have that file in the same folder as the roxie2ansys.txt APDL code that you are running?
-
July 30, 2018 at 10:15 pm
trbritt
SubscriberI suspected somwthing like that, and they are all in the same folder. -
July 31, 2018 at 12:40 pm
jpasquerell
Ansys EmployeeThe ANSYS program opens most files with read and write permission required so make sure the file being read it is not marked as read only. Is the data in fixed format as *VREAD cannot read in comma separated data? See  http://www.ansys-blog.com/use-of-tread-and-vread-to-read-in-data-from-an-external-file/  for info on reading csv using *TREAD. Try reading in just a single value until you are able to get it working then add additional values.
-
November 5, 2021 at 9:24 am
phanicmsf
Subscriber.jpasquerell the link (http://www.ansys-blog.com/use-of-tread-and-vread-to-read-in-data-from-an-external-file/) you posted is not working
Please share the accessible link.
.
-
- The topic ‘APDL Vread cannot read file error’ is closed to new replies.
- FSAE CFD – Lesson 1 Preparation question (Using Discovery)
- Script for subtracting models
- Project lines/edges into a face with the direction normal to the face
- Multiple Instances of SpaceClaim taking multiple licenses
- No preview in explorer with scdox file
- Spaceclaim file reference error
- Issues after installing new service pack 2024R1 (sp5)
- Add-in Error Excel
- Problems with loading my Discovery Mesh into Fluent
- Missing SubDivWrapper.dll
-
3862
-
1414
-
1231
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.