|
[Sponsors] |
Number of data from writeCellCentres didn't match |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 14, 2016, 20:46 |
Number of data from writeCellCentres didn't match
|
#1 |
New Member
MURAKAMI, Y.
Join Date: Mar 2016
Posts: 2
Rep Power: 0 |
Hi all,
I did writeCellCentres to get center of cells and did paste ccx ccy ccz to get tab-separated file. Then, I noticed that the number of lines does not match. Code:
-> wc ccx ccy ccz 7799292 7799392 48681964 ccx 7799292 7799392 47868425 ccy 7766984 7767084 46610817 ccz 23365568 23365868 143161206 total Code:
-> nl ccx | head -n 25 | tail; echo "------"; nl ccx | tail 16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 dimensions [0 1 0 0 0 0 0]; 18 internalField nonuniform List<scalar> 19 7661274 20 ( 21 0.001 22 0.003 23 0.005 ------ 7799280 0.2 7799281 0.2 7799282 0.2 7799283 ) 7799284 ; 7799285 } 7799286 } 7799287 // ************************************************************************* // Code:
-> nl ccz | head -n 25 | tail; echo "------"; nl ccz | tail 16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 dimensions [0 1 0 0 0 0 0]; 18 internalField nonuniform List<scalar> 19 7661274 20 ( 21 0.001 22 0.001 23 0.001 ------ 7766972 0.08525 7766973 0.08575 7766974 0.08525 7766975 ) 7766976 ; 7766977 } 7766978 } 7766979 // ************************************************************************* // Why actual number of data does not match with it? I want to list up all of cell centers, how should I do? Thank you. edit: OF 2.2.1 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 14:49 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 13:38 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 10:52 |
DecomposePar unequal number of shared faces | maka | OpenFOAM Pre-Processing | 6 | August 12, 2010 09:01 |