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

Finding wallShearStress in dbnsTurbFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2019, 00:54
Default Finding wallShearStress in dbnsTurbFoam
  #1
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Posts: 68
Rep Power: 3
BSengupta is on a distinguished road
Hallo Foamers!


I am using dbnsTurbFoam for my simulations. I need to find wallShearStress. I am trying to achieve it by two ways and failed in both.


Approach 1:
In controlDict:

functions
{
libs ("libfieldFunctionObjects.so");

tau
{
type wallShearStress;
executeControl writeTime;
writeControl writeTime;
}
}


Error:

-> FOAM FATAL ERROR:
Unknown function type wallShearStress

Valid functions are :

11
(
cellSource
faceSource
fieldAverage
fieldMinMax
maxFieldCell
minMaxField
probes
readFields
sets
surfaceInterpolateFields
surfaces
)



From function functionObject::New(const word& name, const Time&, const dictionary&)
in file db/functionObjects/functionObject/functionObject.C at line 94.

FOAM exiting



Approach 2:
After the simulation

dbnsTurbFoam -postProcess -func wallShearStress -latestTime

Error:



Usage: dbnsTurbFoam [-DebugSwitches key1=val1,key2=val2,...] [-DimensionedConstants key1=val1,key2=val2,...] [-InfoSwitches key1=val1,key2=val2,...] [-OptimisationSwitches key1=val1,key2=val2,...] [-Tolerances key1=val1,key2=val2,...] [-case dir] [-dumpControlSwitches] [-noFunctionObjects] [-parallel] [-help] [-doc] [-srcDoc]



--> FOAM FATAL ERROR:
Wrong number of arguments, expected 0 found 1
Invalid option: -postProcess
Invalid option: -func
Invalid option: -latestTime


FOAM exiting



Can anyone kindly help me to find wallShearStress.


Thanks a lot for your time.
BSengupta is offline   Reply With Quote

Old   September 24, 2019, 11:52
Default
  #2
HPE
Senior Member
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 658
Rep Power: 8
HPE is on a distinguished road
Which version have you used?

Edit: FOAM-extend 4.0 might not possess that FO unlike the other versions.
HPE is offline   Reply With Quote

Old   September 25, 2019, 05:28
Default
  #3
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Posts: 68
Rep Power: 3
BSengupta is on a distinguished road
Yes, I am using Extend 4.
How to solve this issue in Extend 4, any idea?


Thank you.
BSengupta is offline   Reply With Quote

Old   September 25, 2019, 05:50
Default
  #4
HPE
Senior Member
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 658
Rep Power: 8
HPE is on a distinguished road
Take wallShearStress FO from either OF1906 or OF7, and compile it in extend.
HPE is offline   Reply With Quote

Old   October 21, 2019, 21:17
Default
  #5
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Posts: 68
Rep Power: 3
BSengupta is on a distinguished road
wallShearStress -compressible


This works..
BSengupta is offline   Reply With Quote

Reply

Tags
dbnsturbfoam, foam extend 4.0, wallshearstress

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
wallGradU or wallShearStress on Time-Averaged Velocity Field minger OpenFOAM Post-Processing 6 November 7, 2019 05:30
Error computing wallShearStress with simpleFoam sita OpenFOAM Post-Processing 6 November 4, 2018 15:02
wallShearStress, wallGradU are inconsistent dancfd OpenFOAM Post-Processing 5 July 18, 2018 08:33
why does 'sample' do this? wallShearStress question CHARLES OpenFOAM Post-Processing 0 August 7, 2013 19:30
wallShearStress VS wallGradU bigrock OpenFOAM Post-Processing 0 July 2, 2013 05:54


All times are GMT -4. The time now is 11:35.