|
[Sponsors] |
|
January 14, 2016, 09:36 |
XYZ tables to XYZ,time table
|
#1 |
Member
Join Date: Jan 2014
Posts: 40
Rep Power: 12 |
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 |
|
January 18, 2016, 05:28 |
|
#2 |
Member
Join Date: Jan 2014
Posts: 40
Rep Power: 12 |
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?
|
|
February 15, 2016, 02:39 |
|
#3 |
Member
Join Date: Jan 2014
Posts: 40
Rep Power: 12 |
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] , . .. . |
|
February 15, 2016, 14:18 |
|
#4 |
Member
Join Date: Nov 2015
Posts: 38
Rep Power: 10 |
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 |
|
|
|
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 |