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

Question on the sequence of grad(U) components

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By ripperjack
  • 1 Post By sibo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2014, 17:34
Default Question on the sequence of grad(U) components
  #1
Member
 
Jack
Join Date: Dec 2011
Posts: 94
Rep Power: 15
ripperjack is on a distinguished road
Hi guys,

I have a question on the sequence of the components of grad(U). I defined an new variable "gradU" in my solver, and I also monitored the time-series of gradU, see below
in solver:
Code:
    volTensorField gradU
    (
        IOobject
        (
            "gradU",
            runTime.timeName(),
            mesh,
            IOobject::NO_READ,
            IOobject::NO_WRITE
        ),
        fvc::grad(U)
    );
in controlDict:
Code:
    outputForAnimation
    {
        type            writeRegisteredObject;
        functionObjectLibs ("libIOFunctionObjects.so");
        outputControl   timeStep;
        outputInterval  1;
        objectNames
        (
           gradU
        );
    }
, gradU is a 9 components tensor, and I assumed that gradU should arrange in this sequence: dudx, dudy, dudz, dvdx, dvdy, dvdz, dwdx, dwdy, dwdz.

However, here is the question. When I check the output gradU components, the sequence is definitely not what was shown above. I have to identify which component is dudy or dudz, etc. for my post-processing, but I was really confused. Could you guys tell me what is the components of gradU for my case? Many thanks!

Regards,
the_ichthyologist likes this.
ripperjack is offline   Reply With Quote

Old   September 18, 2018, 13:19
Default
  #2
Member
 
sibo
Join Date: Oct 2016
Location: Chicago
Posts: 55
Rep Power: 10
sibo is on a distinguished road
Hi Jack,

I'm wondering did you find the solution? I am also facing this problem!

Thanks a lot!
the_ichthyologist likes this.
sibo is offline   Reply With Quote

Reply


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
Question Re Engineering Data Source imnull ANSYS 0 March 5, 2012 14:51
internal field question - PitzDaily Case atareen64 OpenFOAM Running, Solving & CFD 2 January 26, 2011 16:26
Do Pressure Inlet Flow Direction Components Need to Be Normalized? ScottN FLUENT 0 September 21, 2010 10:18
Question about Table applicaiton. universez OpenFOAM Running, Solving & CFD 0 January 12, 2010 21:31
Poisson Solver question Suresh Main CFD Forum 3 August 12, 2005 05:37


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