CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

rms value with transientSimpleOodles

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 22, 2010, 10:29
Default rms value with transientSimpleOodles
  #1
New Member
 
Bastian Nebenfuehr
Join Date: Feb 2010
Location: Sverige
Posts: 27
Rep Power: 7
basneb is on a distinguished road
Hello everybody,

I'm carrying out some LES calculations with the solver transientSimpleOodles on a SUV-like shaped geometry in a windtunnel and I want to evaluate the rms values of pressure at the rearview mirrors. I implemented the prime2Mean function in my controlDict and, at least, I do not get any error-messages and a file named pPrime2Mean as an output. Thus I conclude that the function works in principle. However, if I check the results in EnSight, I do not get (in my opinion) reasonable results for pPrime2Mean, whereas p and pMean look normal and I get reasonable values for them (dynamic pressure).
So, now I'm wondering, if my implementation of the prime2Mean function is wrong or so. In the following I attached the controlDict with my implementation.

Best regards,

Bastian

Code:
 
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.5                                   |
|   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application transientSimpleOodles;
startFrom       startTime;
startTime       0.1;
stopAt          endTime;
endTime         0.42;
deltaT          2e-05;
writeControl    timeStep;
writeInterval   5000;
purgeWrite      0;
writeFormat     ascii;
writePrecision  6;
writeCompression uncompressed;
timeFormat      general;
timePrecision   6;
runTimeModifiable yes;
functions
(
    probes1
    {
        // Type of functionObject
        type probes;
        // Where to load it from (if not already in solver)
        functionObjectLibs ("libsampling.so");
        // Locations to be probed. runTime modifiable!
        probeLocations
        (
 (2.726753        -0.801799       1.788444)
 (2.744515        -0.778461       1.862935)
 (2.755995        -0.761528       1.908716)
 (2.796776        -0.806112       1.791699)
 (2.813934        -0.781613       1.866063)
 (2.824675        -0.764889       1.911166)
 (2.999108        -0.814479       1.802093)
 (3.015712        -0.790372       1.876570)
        );
        // Fields to be probed. runTime modifiable!
        fields
        (
            p
        );
    }
    fieldAverage1
    {
        // Type of functionObject
        type fieldAverage;
        // Where to load it from (if not already in solver)
        functionObjectLibs ("libfieldAverage.so");
        // Fields to be  averaged - runTime modifiable
        fields
        (
            U
            {
                mean            on;
                prime2Mean      on;
                base            time;
            }
            p
            {
                mean            on;
                prime2Mean      on;
                base            time;
            }
        );
    }
);
 
// ************************************************************************* //
basneb is offline   Reply With Quote

Old   February 23, 2010, 07:14
Default
  #2
New Member
 
Bastian Nebenfuehr
Join Date: Feb 2010
Location: Sverige
Posts: 27
Rep Power: 7
basneb is on a distinguished road
Hi everybody,

something I forgot: Is pPrime2Mean actually the RMS value squared or is it something else? I was checking the source code for it, but I am not sure that it is the same.

Best regards,

Bastian.
basneb is offline   Reply With Quote

Old   July 13, 2013, 09:22
Default i want to what the prime2mean means ?
  #3
New Member
 
jiujiumin
Join Date: May 2013
Posts: 9
Rep Power: 4
jiujiumin is on a distinguished road
i want to what the prime2mean means ?
thanks
jiujiumin is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Understanding RMS residual calculation TWaung CFX 1 September 22, 2009 18:21
RMS Res. is the smaller the best? Anderson T F CFX 10 September 12, 2007 05:59
Urgent help: RMS problem!!! Anh CFX 4 September 8, 2007 13:47
convergence RMS anna CFX 7 October 3, 2006 04:50
What's wrong with my RMS profile in LES Jiang Ning FLUENT 0 March 31, 2005 05:30


All times are GMT -4. The time now is 17:48.