CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Read and average fields over different time steps

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2014, 09:32
Default Read and average fields over different time steps
  #1
New Member
 
Yanyan Huang
Join Date: Dec 2012
Posts: 9
Rep Power: 11
yanyanh is on a distinguished road
Hi guys,

I'm doing a transient simulation of two counter-rotating propellers using sliding mesh (pimpleDyMFoam). Since transient simulations use a lot of resources I split the whole domain (wind tunnel) into a transient part and a steady part.

With mapFields I could map an instantaneous step from the transient simulation to the steady-state, but what I'm looking for is a tool to average the transient field over a time range of for example 0.2 seconds and then map it to the steady-state part of the simulation.

I already dit a test, where I modified the pimpleDyMFoam solver, so that it created a new field U_mean, where the velocity field of every time step is added and the divided by the number of steps. But is there another more elegant way already built in OpenFOAM or how can I write a tool, where I can read in velocity fields and manipulated them without using the modified solver?

Thanks a lot in advance!
Yanyan
yanyanh is offline   Reply With Quote

Reply

Tags
mapping, pimpledymfoam, sliding mesh, steady-state, transient

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using fieldAverage library to average postprocessing eelcovv OpenFOAM Programming & Development 32 May 17, 2022 09:55
Line Average during runtime or after ramachandran163 OpenFOAM 0 January 17, 2014 16:31
mpirun interFoam very stable --> then blows up ghadab OpenFOAM Running, Solving & CFD 3 October 27, 2013 10:34
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 06:30
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37


All times are GMT -4. The time now is 21:24.