|
[Sponsors] |
Post-processing of dynamic subgrid-scale model coefficient |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 20, 2021, 04:41 |
Post-processing of dynamic subgrid-scale model coefficient
|
#1 |
New Member
Teresa Sun
Join Date: Jun 2021
Posts: 21
Rep Power: 5 |
Dear friends,
I want to plot the dynamic Smagorinsky model coefficient cD which changes over time and space. The software that I am using is OpenFoam/v2006. what I have tried is as follow: in system/controlDict: application pimpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 1000; deltaT 0.2; writeControl timeStep; writeInterval 200; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; functions { fieldAverage1 { type fieldAverage; libs (fieldFunctionObjects); writeControl writeTime; fields ( U { mean on; prime2Mean on; base time; } p { mean on; prime2Mean on; base time; } ); } valueAverage1 { // Mandatory entries type valueAverage; libs (fieldFunctionObjects); functionObject dynamicQRCoeffs; fields (cD); // Optional entries resetOnRestart false; window 1; // Optional (inherited) entries writePrecision 10; writeToFile true; useUserTime true; region region0; enabled true; log true; timeStart 0; timeEnd 1000; executeControl timeStep; executeInterval 1; writeControl writeTime; writeInterval -1; } } the results in directory postProcessing/valueAverage1/0/valueAveragw.dat are: # Value averages # Time cD 0.2 n/a 0.4 n/a 0.6 n/a 0.8 n/a 1 n/a . . . . . . . Does anyone know how to write the dynamicSmagrosky model coefficient into time directories like U and P, then plot it? Best regards, Teresa |
|
Tags |
dynamic coefficient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Heat Transfer Coefficient Calculation - Post Processing | y_jiang | OpenFOAM Post-Processing | 0 | October 8, 2018 15:57 |
wrong SU2 calculation for lift and drag coefficient for NAC4421 | mechy | SU2 | 7 | January 9, 2017 06:18 |
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion | faizan_habib7 | CFX | 4 | February 1, 2016 18:00 |
NO model vs post processing in coal combustion,CFX | sakalido | CFX | 1 | April 15, 2011 15:07 |
Two-Phase Buoyant Flow Issue | Miguel Baritto | CFX | 4 | August 31, 2006 13:02 |