TAGGED: format-descriptors, mwrite, vwrite
-
-
March 20, 2022 at 8:00 pm
Clemens_C
SubscriberHi, I want to use '*mwrite' to write an array (e.g. 5x5x1) in a .txt-file. That's my code:  /output,matrix_file,txt,,append *mwrite,matrix(1,1,1),,,,ijk (5e18.9) ! method 1 ! /input,helpfile,txt ! method 2 /output  Is there a way to write something like that: ('number'e18.9) instead of specifying the variable 'number' (method 1)? In this example 'number'=5 which represents the dimension of the matrix that I want to write. Unfortunately my method 1 with 'number' doesn't work. Method 2 with an extra textfile with content "(5e18.9)" doesn't work either... -
March 21, 2022 at 4:00 pm
Ashish Khemka
Forum Moderator -
March 22, 2022 at 1:11 pm
Clemens_C
Subscriber
that helped a lot, thank you!
Regards Clemens
-
Viewing 2 reply threads
- The topic ‘*mwrite – variable format descriptors’ is closed to new replies.
Innovation Space
Trending discussions
- The legend values are not changing.
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- Convergence error in modal analysis
- APDL, memory, solid
- How to model a bimodular material in Mechanical
- Meaning of the error
- Simulate a fan on the end of shaft
- Real Life Example of a non-symmetric eigenvalue problem
- Nonlinear load cases combinations
- How can the results of Pressures and Motions for all elements be obtained?
Top Contributors
-
4137
-
1487
-
1318
-
1164
-
1021
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.