CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Export the scalar value for all elements as *.Csv file

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By DanHamilton

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2012, 11:11
Post Export the scalar value for all elements as *.Csv file
  #1
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14
TrII4d is on a distinguished road
Hello everybody,

I want to export the scalar value (f.ex. Temperature) for every element in a sepcific region into a *.csv file. Also, the Value should be export for each timestep.

The result should like this example:

|Element No.| |Timestep| |Temperature|
____1_____________1_________300 K
____2_____________1_________300 K
____3_____________1_________300 K
-----------------------------------------
____1_____________2_________310 K
____2_____________2_________305 K
____3_____________2_________300 K

Can anyone explain me, how I can export the results for each timestep ?

Thanks,

TrII4d
TrII4d is offline   Reply With Quote

Old   March 26, 2012, 15:00
Default
  #2
Member
 
Ryan Coe
Join Date: Jun 2010
Location: Albuquerque, NM
Posts: 98
Rep Power: 16
ryancoe is on a distinguished road
You'll need to write a macro to output a table at every time step. Record yourself exporting the values, and then create a loop. Of course you'll also need to go little deeper to get the exact format you're looking for.

It may also be possible to use v7's new Solution History function, although I don't know much about it yet so I can't really say for sure.
__________________
Ryan
ryancoe is offline   Reply With Quote

Old   March 26, 2012, 16:41
Default
  #3
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14
TrII4d is on a distinguished road
hi ryancoe,

at first, thanks for your fast replay!

Quote:
Originally Posted by ryancoe View Post
... Record yourself exporting the values, ...
that is one of my problems .... i have s scalar scene of my temperature ... how I can export the values for each element in the region?


thanks,

TrII4d
TrII4d is offline   Reply With Quote

Old   March 27, 2012, 05:24
Default
  #4
New Member
 
Dan Hamilton
Join Date: Mar 2012
Posts: 7
Rep Power: 14
DanHamilton is on a distinguished road
Tools>Tables>New Table>XYZ Internal Table

Regards
Dan
TrII4d likes this.
DanHamilton is offline   Reply With Quote

Old   March 27, 2012, 13:12
Default
  #5
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14
TrII4d is on a distinguished road
Thanks DanHamilton ... that was it!

greetz
TrII4d
TrII4d is offline   Reply With Quote

Old   June 1, 2016, 09:03
Default export scalar and region as .csv
  #6
New Member
 
Join Date: Jun 2016
Posts: 1
Rep Power: 0
Muster is on a distinguished road
I would like to export scalar datas for special regions in star ccm+ , how can I do this?

The table should look like:

Boundarie
Surface Average | (Temperature in K)
Head | 233
Torso |194
Leg |210


Thanks for your help!
Muster 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
Solving for an additional species CO in coalChemistryFoam N. A. OpenFOAM Programming & Development 3 February 18, 2019 06:58
dieselFoam problem!! trying to introduce a new heat transfer model vivek070176 OpenFOAM Programming & Development 10 December 24, 2014 00:48
Climbing inlet pressure with simpleFoam and directMappedPatches chegdan OpenFOAM Running, Solving & CFD 1 January 2, 2012 20:35
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


All times are GMT -4. The time now is 00:35.