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

wallShearStress not calculated

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2013, 13:59
Default wallShearStress not calculated
  #1
Senior Member
 
ArathoN
Join Date: Jul 2011
Posts: 137
Rep Power: 15
ArathoN is on a distinguished road
I'm studying the Backward facing step with inclined step, and i decided to mesh the geometry in Gambit. Now i'm having a problem in using the utility wallShearStress, it gives only null values of the shear in the x,y,z directions? Why? what can i do? I specified correctly the boundaries from gambit and also from the bondaries file too.
ArathoN is offline   Reply With Quote

Old   November 20, 2013, 14:08
Default
  #2
Senior Member
 
ArathoN
Join Date: Jul 2011
Posts: 137
Rep Power: 15
ArathoN is on a distinguished road
I must specify that the sampling of the wallshearstress can't be done, otherwise the variable is calculated.

Here my sample file:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.2                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


setFormat gnuplot;

surfaceFormat raw;

interpolationScheme cellPoint;
fields
(
    "wallShearStress"
);

sets
(
    
lineX1
    {
        type        face;
        axis        x;

        start       (0 -0.1 0);
        end         (2.5 -0.1 0);
        nPoints     400;
    }

);

surfaces
(
    
 walls_interpolated
    {
        type            patch;
        patches         ( "lowerWall" );
        interpolate     true;
    }

);
it gives me this error:
Code:
surfaces surfaces: Reading surface description:
    walls_interpolated

Time = 0


--> FOAM FATAL IO ERROR: 
size 30 is not equal to the given value of 40

file: /home/arathon/Tesi/Cases/K-E/BackwardFacingStep-15°/0/wallShearStress.boundaryField.inlet from line 26 to line 27.

    From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
    in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/Field.C at line 236.

FOAM exiting
ArathoN 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
dsmcFoam setup hherbol OpenFOAM Pre-Processing 1 November 19, 2021 02:52
wallShearStress, wallGradU are inconsistent dancfd OpenFOAM Post-Processing 5 July 18, 2018 09:33
Problems with YPlusRAS and wallShearStress Peter85 OpenFOAM Post-Processing 21 May 4, 2016 06:15
why does 'sample' do this? wallShearStress question CHARLES OpenFOAM Post-Processing 0 August 7, 2013 20:30
wallShearStress VS wallGradU bigrock OpenFOAM Post-Processing 0 July 2, 2013 06:54


All times are GMT -4. The time now is 22:38.