CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Tecplot (https://www.cfd-online.com/Forums/tecplot/)
-   -   wall shear stress in tecplot (https://www.cfd-online.com/Forums/tecplot/133786-wall-shear-stress-tecplot.html)

1988 April 21, 2014 01:01

wall shear stress in tecplot
 
hello everyone
I want too see wall shear stress contours in tecplot.I have got the answers from openfoam and I have calculated wall shear stresses in openfoam so I expect to be able to see these contours when I load data from openfoam however I cant find any tab or menu which shows wall shear stressed that also have read from openfoam.
is there any idea?

McCharles September 9, 2016 03:40

Hello 1988,

I know this post is old but I have exactly the same problem. Did you solve your problem and if yes, do you remember how?

Maybe someone else faced this problem too.

Cheers!

1988 September 13, 2016 07:09

Quote:

Originally Posted by McCharles (Post 617224)
Hello 1988,

I know this post is old but I have exactly the same problem. Did you solve your problem and if yes, do you remember how?

Maybe someone else faced this problem too.

Cheers!

Hi
you should add a code like this to your 0 folder (based on your BCs)
Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.2.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      volVectorField;
    location    "0";
    object      wallShearStress;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 2 -2 0 0 0 0];

internalField  uniform (0 0 0);

boundaryField
{
    outlet
    {
        type            calculated;
        value          uniform (0 0 0);
    }
    inlet
    {
        type            calculated;
        value          uniform (0 0 0);
    }
    defaultFaces
    {
        type            calculated;
        value          uniform (0 0 0);
    }
}


// ************************************************************************* //

and then after running the code and having results, write this commend in terminal:
Code:

wallShearStress
then it starts to calculate the wss and then when it is imported to tecplot it will have different name (for example enthalpy or etc) try to find them in the contour tab.

+you will have three WSS in tecplot for each direction and by adding this formula you can calculate WSS magnitude (Go to Data > Alter > Specify Equations and enter the following equation:
)
Code:

{WSS Magnitude} = sqrt({WSSx}**2+{WSSy}**2+{WSSz}**2)
Best

McCharles September 13, 2016 07:14

Hello 1988,

thanks for your reply. Unfortunately, I already concluded my calculations. I used the command "wallShearStress" to postprocess the WSS in OpenFoam. Now I have a new file for each time step containing the calculated wall shear stresses, but Tecplot isn't able to regognize them... Is there no other way to import the WSS in tecplot afterwards?

1988 September 13, 2016 07:30

Quote:

Originally Posted by McCharles (Post 617721)
Hello 1988,

thanks for your reply. Unfortunately, I already concluded my calculations. I used the command "wallShearStress" to postprocess the WSS in OpenFoam. Now I have a new file for each time step containing the calculated wall shear stresses, but Tecplot isn't able to regognize them... Is there no other way to import the WSS in tecplot afterwards?

As far as I remeber it was possible to calculate averaged WSS based on a time dependent results. I mean it is possible to again add a function to tecplot to calculate averaged wall shear stress for a range of time steps.
hah I found averaged WSS contours by paraView (it was easy) as I had not found any way in tecplot to calculate these aounts.

McCharles September 15, 2016 02:33

Yes, I did it in paraView too by choosing wallShearStress in the Variables-List and the desired surface.

navid.a September 17, 2016 08:55

Quote:

Originally Posted by 1988 (Post 487209)
hello everyone
I want too see wall shear stress contours in tecplot.I have got the answers from openfoam and I have calculated wall shear stresses in openfoam so I expect to be able to see these contours when I load data from openfoam however I cant find any tab or menu which shows wall shear stressed that also have read from openfoam.
is there any idea?

i did this and now i want to plot time-average wss based on axial positin on a curved tube
do you know how can i define the axial of a curved tube as the x ?
یعنی محور وای بشه مقادیر تنش برشی و محور ایکس بشه محور لوله خمیده ;)

1988 September 23, 2016 03:52

Hi Navid
watch this:
https://www.youtube.com/watch?v=9ckpOcNmk1w
best
Quote:

Originally Posted by navid.a (Post 618220)
i did this and now i want to plot time-average wss based on axial positin on a curved tube
do you know how can i define the axial of a curved tube as the x ?
یعنی محور وای بشه مقادیر تنش برشی و محور ایکس بشه محور لوله خمیده ;)


burcuramazanli May 6, 2021 15:53

Hello 1988,

I have a problem regarding the WSS conversion from OpenFOAM to Tecplot. Actually, I can obtain WSS results but when I convert the results to Tecplot, then WSS values are seen to be zero, although they are not. I don't know how to resolve that issue, could you please help me if you have any idea?


All times are GMT -4. The time now is 06:26.