|
[Sponsors] |
July 14, 2015, 02:11 |
Writing data to a file
|
#1 |
Member
Join Date: May 2014
Posts: 31
Rep Power: 12 |
Hello,
I modified a solver to calculate a scalar coefficient which I need to compare with some experimental data. This coefficient is not a scalar field, a simple scalar for each time value. My problem is how shall I write this scalar to some text file along with time value? Some thing like: (time scalar value) (0 0 ) (0.1 0.125 ) (0.2 0.137 ) etc? Or some alternative form is also fine. All I need to write is coefficient and time. Can some one please help? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 08:46 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 17:18 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 01:41 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |