|
[Sponsors] |
Specify filename for postProcess function output file |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Daniel Thomas
Join Date: Mar 2020
Posts: 10
Rep Power: 6 ![]() |
I'm using the postProcess function singleGraph to generate the profiles I need for plotting. It is convenient to have multiple profiles in the same .csv file, but I end up with an awkwardly long file name: "line_T_NO_NO2_N2O_NH3_NH2_NH_H2_H_OH_H2O_O_O2_NNH _HO2_H2O2.csv" for the code below.
Is there an option to specify the output filename? (Of course, I can rename it afterwards, but it seems like this should be something I can specify in my singleGraph definition file.) Code:
start (0 0 0); end (0 0 0.2); fields (T U NO NO2 N2O NH3 NH2 NH H2 H OH H2O O O2 NNH HO2 H2O2); #includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg" writeControl writeTime; //timeStep, writeTime, outputInterval last; interpolationScheme cellPoint; setFormat csv; setConfig { type lineCell; axis z; // y, z, xyz } #includeEtc "caseDicts/postProcessing/graphs/graph.cfg" // ************************************************************************* // |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Abel Bonfil Garcia
Join Date: Mar 2023
Posts: 2
Rep Power: 0 ![]() |
Hi det.
I know this is a old post, but i wanto to know if can find a solution for your problem? Abonfil |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Daniel Thomas
Join Date: Mar 2020
Posts: 10
Rep Power: 6 ![]() |
I've continued to just rename the .csv files manually. So please let me know if you find a solution.
|
|
![]() |
![]() |
![]() |
Tags |
postprocess function, singlegraph |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 14:30 |
[swak4Foam] Installation Problem with OF 6 version | Aurel | OpenFOAM Community Contributions | 14 | November 18, 2020 16:18 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 09:07 |
[swak4Foam] swak4foam building problem | GGerber | OpenFOAM Community Contributions | 54 | April 24, 2015 16:02 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 01:41 |