|
[Sponsors] |
Export the scalar value for all elements as *.Csv file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 26, 2012, 11:11 |
Export the scalar value for all elements as *.Csv file
|
#1 |
Member
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14 |
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 |
|
March 26, 2012, 15:00 |
|
#2 |
Member
Ryan Coe
Join Date: Jun 2010
Location: Albuquerque, NM
Posts: 98
Rep Power: 16 |
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 |
|
March 26, 2012, 16:41 |
|
#3 |
Member
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14 |
||
March 27, 2012, 05:24 |
|
#4 |
New Member
Dan Hamilton
Join Date: Mar 2012
Posts: 7
Rep Power: 14 |
Tools>Tables>New Table>XYZ Internal Table
Regards Dan |
|
March 27, 2012, 13:12 |
|
#5 |
Member
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 14 |
Thanks DanHamilton ... that was it!
greetz TrII4d |
|
June 1, 2016, 09:03 |
export scalar and region as .csv
|
#6 |
New Member
Join Date: Jun 2016
Posts: 1
Rep Power: 0 |
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! |
|
|
|
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 |