Data Analysis and Graph Plotting from Star-CCM+ Output

Hello,
I am currently working with data obtained from the commercial software Star-CCM+. The software provides point data in the form of (x, y, z) coordinates along with associated quantities. My goal is to import and organize this data, construct matrices, sort the data, and create informative graphs to gain further insights.
Unfortunately, I am having trouble sorting the data and would greatly appreciate any help you can provide.
Thank you for taking the time to read my message.
Best regards,

5 Comments

Noone is going to help you with this, especially because it is 300MB.
Dear Mario Malic Yes, it’s 300MB and it’s one of the 200 boxes I collected…
I did something myself. Can you look at my code and give me some advice? Temp is a matrix extracted from Mentioned Excel file.
Xp = sort(unique(X));
Yp = sort(unique(Y));
Zp = sort(unique(Z));
Nx = size(Xp); Nx = Nx(1);
Ny = size(Yp); Ny = Ny(1);
Nz = size(Zp); Nz = Nz(1);
U = zeros(Nx,Ny,Nz);
Nt = size(Temp); Nt = Nt(1);
for i = 1:Nt
for ii = 1:Nx
for j = 1:Ny
for k = 1:Nz
if Temp(i,9) == Xp(ii)
if Temp(i,10) == Yp(j)
if Temp(i,11) == Zp(k)
U(ii,j,k) = U_avg(i);
end
end
end
end
end
end
end
It is best if you provide info, what do you want to calculate from your data.
I want to plot various quantities, such as 'u', 'TKE', 'Reynolds stress', at specific positions in the domain. For example, at the center of the domain (x, u(:,0,0)), or velocity profiles (y, u(n,:,m)).
So, I would probably suggest quiver for velocity, however, about the others, maybe scatter3. That would probably be easiest. You can think of how those informations are displayed in the Siemens software, and maybe do something similar.

Sign in to comment.

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Asked:

on 29 Oct 2023

Commented:

on 12 Nov 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!