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

Different velocity write method results in different readings

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2016, 04:05
Default Different velocity write method results in different readings
  #1
Member
 
J.-H. Wang
Join Date: Oct 2010
Posts: 72
Rep Power: 15
f0208secretx is on a distinguished road
I noticed that using the following function call to dump velocity will give a slightly different reading than the normal write (which is controlled by the keyword "writeInterval" in the dict). I assume its because one is done before and the other is done after the current iteration? Can someone with more experience answer this? I don't want to write all the fields because in my postprocessing I only need velocity. Thanks.

Version is OF2.4.0 on Ubuntu.

Code:
functions
{
    velocityDump
    {
        type                writeRegisteredObject;
        functionObjectLibs  ("libIOFunctionObjects.so");
        //outputControl        outputTime;
        //outputInterval       1;
        outputControl       adjustableTime;
        writeInterval       0.0001;
        objectNames
            (
             "U"
            );
    }
}
f0208secretx is offline   Reply With Quote

Old   February 8, 2016, 16:24
Default
  #2
Member
 
J.-H. Wang
Join Date: Oct 2010
Posts: 72
Rep Power: 15
f0208secretx is on a distinguished road
I wonder if anyone has some insights about this?
f0208secretx is offline   Reply With Quote

Reply

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
Choice of method and verification of results pace Main CFD Forum 4 March 19, 2015 15:24
Vertical Velocity at results ejdrlqja CFX 1 March 10, 2015 05:06
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29
is there any method give node based velocity BC? daniel FLUENT 2 July 18, 2006 22:21
howto write step velocity profile with expressions prabhu CFX 2 May 23, 2006 10:41


All times are GMT -4. The time now is 00:45.