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

XYZ tables to XYZ,time table

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2016, 09:36
Default XYZ tables to XYZ,time table
  #1
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
Hi everyone,

I am running Star CCM+ 10.06.009 and create a periodic flow with the morpher function of Star CCM+. I would like to remove the moving part from the simulation and replace it with a boundary further down the pipe. This boundary is supposed to load its properties (temperature, velocity,...) from a XYZ, time table. To create this table, I have put a plane (derived part) in the full simulation at the same location the new boundary will be placed. I created a XYZ table, that is written to a file for every timestep. How can I turn this collection of XYZ tables into a single XYZ,time table, which can be used as boundary input?

kind regards,
hebeldebel
hebeldebel is offline   Reply With Quote

Old   January 18, 2016, 05:28
Default
  #2
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
It seems you have to put them together by hand. Does someone have a XYZ,time table for me, so I can take a look what it is supposed to look like?
hebeldebel is offline   Reply With Quote

Old   February 15, 2016, 02:39
Default
  #3
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
OK, It seems an XYZ table looks like this:

X , Y , Z , Value1 [t=0.1] , Value2 [t=0.1] , Value1 [t=0.2] , Value2 [t=0.2] , . .. .
hebeldebel is offline   Reply With Quote

Old   February 15, 2016, 14:18
Default
  #4
Member
 
Join Date: Nov 2015
Posts: 38
Rep Power: 10
Schwob77 is on a distinguished road
This is a task for a small awk script. The following expression executed in a shell will merge the files without copying the header again and again:

awk 'FNR==1 && NR!=1{next;}{print}' *.csv > combined.log

In the end you can rename the target file to combined.csv
Schwob77 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
Problem in3D model processing mebinitap OpenFOAM 2 December 12, 2014 04:40
NULL Coordinate Values when Exporting XYZ Internal Table Muzz STAR-CCM+ 0 April 15, 2014 13:15
Installing OpenFoam on windows 7-64 Dadou OpenFOAM Installation 10 February 11, 2014 16:20
Problems deleting an XYZ table in CCM+ Nate Siemens 4 April 7, 2008 15:31
Auto Exporting XYZ tables in CCM+ Nate Siemens 0 March 16, 2008 16:00


All times are GMT -4. The time now is 16:15.