|
[Sponsors] |
July 7, 2021, 06:07 |
exporting CSV from STARCCM+
|
#1 |
New Member
Yosri Abdallah
Join Date: May 2021
Posts: 4
Rep Power: 5 |
Good day,
I have a transient simulation and I want to export some results in .csv file, does anyone know how to do that in Star CCM+ ? Using the xyz table would generate a file at each time step which contains the wanted values at that specific time step, I need the export all the values for all the time steps into one single file any recommendations please ? |
|
July 7, 2021, 11:48 |
|
#2 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20 |
There is an auto export feature for tables as well. It can be triggered on each time step.
Have a look into the options of that xyz table. Look for these (Citing the manual): [Table] Update Properties Trigger - Determines how the table is updated. Select the desired trigger type from the drop-down list. See Trigger Types. Auto Extract - When activated, controls automatic extraction. Save to File - When activated, exports automatically. |
|
July 8, 2021, 04:42 |
|
#3 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,680
Rep Power: 66 |
The answer is no you can't do it, nor should you, ever. .csv is not the way. csv is a text format and to dump all the data at all time into one giant text file isn't even a good idea. Use a high level structured data format if you need this type of flexibility. Or write your own code that puts all the .csv's together using whatever magical organization structure you can come up with that can accept this n-dimensional dataset.
You should think about why you need your data into a single .csv (without actually wanting a single .csv) and maybe we can give some ideas to help you with your data processing needs. |
|
July 8, 2021, 04:49 |
|
#4 |
New Member
Yosri Abdallah
Join Date: May 2021
Posts: 4
Rep Power: 5 |
@LuckyTran thank you for responding
I'm trying to do a spectral analysis of some variables FFT, my idea was to export the history of that variable and then do a FFT using matlab since I don't know how to directly do it in STAR-CCM+ |
|
July 8, 2021, 19:00 |
|
#5 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,680
Rep Power: 66 |
FFT of what? You can create a million point probes, create monitors for each of them, and dump this into a .csv text file for each variable. I do this daily. But I am specific about what I want. But it still isn't 1 csv to rule them all.
Star-CCM also has built-in tools to do spectral analysis over entire surfaces and volumes by again creating monitors. If you are specific and not vague about what you are doing... we can show you. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Exporting slice as csv from state | lingdeer | ParaView | 0 | July 31, 2014 00:02 |
[General] Exporting time series to CSV | mpeti | ParaView | 2 | October 7, 2013 05:05 |
[OpenFOAM] exporting sample surface data in csv format | sihaqqi | ParaView | 3 | July 7, 2013 06:06 |
[OpenFOAM] Automating ParaFoam for exporting CSV files | kumar | ParaView | 4 | May 2, 2011 11:10 |
importing cad geometry, starCCM 64bit?? | syd | STAR-CCM+ | 3 | March 30, 2010 07:17 |