|
[Sponsors] |
Time Average of Forces or Coefficient Values for Steady State Simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 11, 2020, 21:04 |
Time Average of Forces or Coefficient Values for Steady State Simulation
|
#1 |
New Member
Nian
Join Date: Jun 2019
Posts: 15
Rep Power: 6 |
Hello,
This might be a really basic question, but haven't found much information on it. I am currently using OpenFOAM 18.10, running a simulation at steady state for 500 time steps with simpleFoam, and output gives me forces and force coefficient values. But because of the nature of the geometry, the flow appears to be transient, and all of the force values would vary slightly for each of the time steps. So my question is, would there be any ways to generate a time averaged value for the force coefficients, say for example from time step 450-500 out of all the values? If so, what kind of code or function should I be adopting? Or would it also be possible to achieve in post processing? (Sorry if this question ends up being more suited to the post processing topic) Here's my very basic version of controlDict, not sure if this will be the place where I define these things: Code:
FoamFile { version 2.0; format ascii; class dictionary; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application simpleFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 500; deltaT 1; writeControl timeStep; writeInterval 100; purgeWrite 0; writeFormat binary; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable true; functions { #include "streamLines" #include "cuttingPlane" #include "forceCoeffs" #include "forces" } thank you! -Nian |
|
Tags |
drag coefficient, time average |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Time Step Continuity Errors simpleFoam | Dorian1504 | OpenFOAM Running, Solving & CFD | 1 | October 9, 2022 09:23 |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 05:37 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 00:01 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |
Two-Phase Buoyant Flow Issue | Miguel Baritto | CFX | 4 | August 31, 2006 12:02 |