CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

exporting CSV from STARCCM+

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By bluebase
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2021, 06:07
Default exporting CSV from STARCCM+
  #1
New Member
 
Yosri Abdallah
Join Date: May 2021
Posts: 4
Rep Power: 5
Yosri AB is on a distinguished road
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 ?
Yosri AB is offline   Reply With Quote

Old   July 7, 2021, 11:48
Default
  #2
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
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.
Yosri AB likes this.
bluebase is offline   Reply With Quote

Old   July 8, 2021, 04:42
Default
  #3
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,680
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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.
Yosri AB likes this.
LuckyTran is offline   Reply With Quote

Old   July 8, 2021, 04:49
Default
  #4
New Member
 
Yosri Abdallah
Join Date: May 2021
Posts: 4
Rep Power: 5
Yosri AB is on a distinguished road
@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+
Yosri AB is offline   Reply With Quote

Old   July 8, 2021, 19:00
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,680
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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.
LuckyTran is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 04:05.