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

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By DanHamilton

Reply
 
LinkBack Thread Tools Display Modes
Old   March 26, 2012, 10:11
Post Export the scalar value for all elements as *.Csv file
  #1
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 5
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, 14:00
Default
  #2
Member
 
Ryan Coe
Join Date: Jun 2010
Location: Albuquerque, NM
Posts: 98
Rep Power: 7
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, 15:41
Default
  #3
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 5
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, 04:24
Default
  #4
New Member
 
Dan Hamilton
Join Date: Mar 2012
Posts: 7
Rep Power: 5
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, 12:12
Default
  #5
Member
 
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 5
TrII4d is on a distinguished road
Thanks DanHamilton ... that was it!

greetz
TrII4d
TrII4d is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dieselFoam problem!! trying to introduce a new heat transfer model vivek070176 OpenFOAM Programming & Development 10 December 24, 2014 00:48
Solving for an additional species CO in coalChemistryFoam N. A. OpenFOAM Programming & Development 2 November 13, 2014 09:43
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 12, 2001 23:19


All times are GMT -4. The time now is 17:21.