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

Finding wallShearStress in dbnsTurbFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2019, 01:54
Default Finding wallShearStress in dbnsTurbFoam
  #1
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Location: Sngapore
Posts: 76
Rep Power: 8
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, 12:52
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
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, 06:28
Default
  #3
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Location: Sngapore
Posts: 76
Rep Power: 8
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, 06:50
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
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, 22:17
Default
  #5
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Location: Sngapore
Posts: 76
Rep Power: 8
BSengupta is on a distinguished road
wallShearStress -compressible


This works..
BSengupta is offline   Reply With Quote

Reply

Tags
dbnsturbfoam, foam extend 4.0, wallshearstress


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 06:30
Error computing wallShearStress with simpleFoam sita OpenFOAM Post-Processing 6 November 4, 2018 16:02
wallShearStress, wallGradU are inconsistent dancfd OpenFOAM Post-Processing 5 July 18, 2018 09:33
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 07:48.