CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   wall shear stress from foam to fluent (https://www.cfd-online.com/Forums/openfoam-post-processing/133790-wall-shear-stress-foam-fluent.html)

1988 April 21, 2014 02:01

wall shear stress from foam to fluent
 
hello everyone
I have got wall shear stress quantities in openfoam220 as you can see here some of them
Code:

298)
(-0.00127718 -0.000404221 0.000533978)
(-0.00121755 -0.000385898 0.000510818)
(-0.00121095 -0.000383667 0.000508087)
(-0.00121859 -0.000385795 0.000510546)
(-0.0012234 -0.000387756 0.000512453)
(-0.0088624 -0.0029743 0.00632721)
(-0.00306619 -0.00136189 0.00492855)FoamFile
{
    version    2.0;
    format      ascii;
    class      volVectorField;
    location    "4.2";
    object      wallShearStress;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField  uniform (0 0 0);

boundaryField
{
    body
    {
        type            calculated;
        value          nonuniform List<vector>
19650
(
(-0.00122343 -0.00038825 0.000512333)
(-0.00123169 -0.00039155 0.000516047)
(-0.00122192 -0.000388865 0.000512123)
(-0.00121797 -0.000387782 0.000510915)
(-0.00124789 -0.000398131 0.000522871)
(-0.0012472 -0.000399014 0.000524404)
(-0.00121061 -0.000387105 0.000509156)
(-0.00121566 -0.000388515 0.000511397)
(-0.00122399 -0.000392193 0.000514912)
(-0.001237 -0.000396912 0.000520762)
(-0.00123446 -0.000395865 0.000520842)
(-0.00122043 -0.000390811 0.000514863)
(-0.00121514 -0.000389146 0.000512908)
(-0.00121446 -0.0003887 0.000512529)
(-0.00124398 -0.00039817 0.000525058)
(-0.0012495 -0.000399893 0.000529001)
(-0.0012086 -0.000386552 0.00051086)
(-0.00121413 -0.000388711 0.00051398)
(-0.00122184 -0.000391079 0.000517966)
(-0.00122445 -0.000391132 0.000519367)
(-0.00122053 -0.000389247 0.000517773)
(-0.00122377 -0.000390382 0.000519449)
(-0.00121272 -0.000386449 0.000514925)
(-0.00120642 -0.000384427 0.000511844)
(-0.00124813 -0.000397558 0.000530109)
(-0.00124509 -0.000395547 0.000528736)
(-0.00122044 -0.000387612 0.000519085)
(-0.00121903 -0.000386442 0.000518498)
(-0.00121971 -0.000385916 0.000518287)
(-0.00121488 -0.000383792 0.00051596)
(-0.0012114 -0.000382735 0.000514048)
(-0.0012084 -0.000381126 0.000512874)
(-0.0012037 -0.000379369 0.000510334)
(-0.00120198 -0.000378896 0.000509345)
(-0.00124765 -0.000392743 0.000528433)
(-0.00124696 -0.000391626 0.000526389)

then I have used foamDataToFluent because I am about to get the wall shear stress contours in fluent but fluent shows me just zero ,:confused:is there anyone who can help?
thank you

jherb April 22, 2014 18:07

Does fluent calculate the wall shear stress during postprocessing? If yes, you have to convert the input fields by foamDataToFluent using an appropriate foamDataToFluentDict including all the necessary fields.

Otherwise if fluent should use the values of the wall shear stress calculated by OpenFOAM it might be enough to modify foamDataToFluentDict to include a line for the wall shear stress. The "field number" for fluent seems to be 19, see
https://github.com/OpenFOAM/OpenFOAM...nitNumbers.txt
and
https://github.com/OpenFOAM/OpenFOAM...taToFluentDict

1988 April 25, 2014 03:55

thank you
I have check whatever you said and everything was the same as you posted so I think fluent calculated wall shear stress during running however I am not sure about that .

jherb June 25, 2014 17:43

According to https://github.com/OpenFOAM/OpenFOAM...umbers.txt#L27 the wall shear stress is in the fluent data file. So you have to convert your shear stress data like the other values of OpenFOAM to fluent. You have to find out, what to add to your foamDataToFluentDict.
Perhaps
Code:

wallShearStress 19

burcuramazanli May 6, 2021 15:56

Hello jherb,

I have a problem regarding the WSS conversion from OpenFOAM to Fluent. Actually, I can obtain WSS results but when I convert the results to Fluent, then WSS values are seen to be zero, although they are not (I write "wallShearStress 19" in foamToFluentDict file). 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 07:44.