I got the simulation results by ANSYS MAXWELL,
the solution data matrix is huge.
I am looking for an easy method to export the data into excel.
Any suggestion will be highly appreciated.
In my opinion, you can use MATLAB.
MATLAB can read a text and make a matrix from data and ANSYS can write a text from data. so you can use MATLAB for make a matrix of data.
Code of MATLAB:
.
1) if you want to write a text by MATLAB
>>fid2=fopen('foransys.txt','w');
2) if you want to read a text by MATLAB
>>fid1=fopen('foransys1.txt','r');
3) if you want to finish your text
>>A=fscanf(fid1,'%c');
>>fprintf(fid2,A);
4) if you want to switch MATLAB and ANSYS
>>dos '"C:\Program Files\ANSYS Inc\v150\ansys\bin\winx64\ANSYS150.exe" -b -i foransys.txt -o output.out';
first parameter = address of ANSYS
'"C:\Program Files\ANSYS Inc\v150\ansys\bin\winx64\ANSYS150.exe"
4th parameter = name of input
6th parameter = name of output ( output of ANSYS)
read output of ANSYS for make a matrix from data
>>fid6=fopen('outParameter','r');
>>T=fscanf(fid6,'%c');
Certainly the numbers are NOT same a number and they are "cell'
you should use it,
c= num2cell(T);
it change a cell to a number
please check these links:
Article The Topology and Weight Optimization of a Truss Using Imperi...
Article Topology and Weight Optimization of a 3D Truss by Numerical Method
Mohsen Mohebbi Thank you very much for your answer, when I have time, I'll check the works. Best regards :)
I can export the obtained data by simulation from ANsys Maxwell or Ansys simplorer by "export" tab and then save as. It's pretty easy and convenient.
Ansys gives csv format of document. The format with comma. Comma separates data. How did you get that format you show in the picture. Would you explain.
Thanks
In Ansys: Right click on the table data, then export as (.csv). You can open by excel.
I would like to learn more about SPSS and Its application especially in regards to data analysis. Please suggest me how I can learn more about it. Thank you so much.
11 August 2024 9,101 4 View
I have reverse sequences (AB1 format), can I base on reverse DNA sequences to perform nucleotide alignment, convert nucleotides to amino acids and deposit the sequence in GenBank database?
11 August 2024 5,138 1 View
Hello, Why do i see this baseline drift when i compare my blank (black) to the sample (blue)? Any suggestions as to why this happened? Thank you!
11 August 2024 3,770 4 View
Willett, Shenoy et al. (2021) have developed a brain computer interface (BCI) that used neural signal collected from the hand area of the motor cortex (area M1) of a paralyzed patient. The...
10 August 2024 7,180 0 View
I am developing a predictive model for a water supply network that involves 20 influencing points. However, I only have historical data for 10 out of these 20 points. I would like to know how to...
10 August 2024 4,005 2 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
How can I use the cif data obtained from rietveld refinement extracted via gsas2, for microstructural analysis using ETEX software?
09 August 2024 7,718 0 View
I need to model an anisotropic material in which the Poisson's ratio ν_12 ≠ ν_21 and so on. Therefore, the elastic compliance matrix wouldn't be a symmetric one. In ANSYS APDL, for TB,ANEL...
09 August 2024 5,048 2 View
One can try to generalize the Vandermonde determinant in the following direction: Let $A$ be any symmetric $n$-order square matrix. Consider its powers' diagonal elements $(A^k)_{ii}$ and...
08 August 2024 6,690 1 View
Let's say we have a standard, regular hexagonal honeycomb with a 3-arm primitive unit cell (something like the figure attached; the figure is only representative and not drawn to scale). The...
07 August 2024 1,937 1 View