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

wallshearstress with icoFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2022, 20:02
Default wallshearstress with icoFoam
  #1
New Member
 
Nikolaos Beratlis
Join Date: Jan 2010
Posts: 16
Rep Power: 16
nikosb is on a distinguished road
Hi,

I am a newbie to OpenFoam. I ran a laminar simulation of the flow around a sphere and I want to compute the wall shear stress and skin friction on the surface of the sphere. When I type

postProcess -func wallShearStress -time latestTime

I get this error message:

--> FOAM FATAL ERROR:
Unable to find turbulence model in the database

From function virtual bool Foam::functionObjects::wallShearStress::execute()
in file wallShearStress/wallShearStress.C at line 200.

From what I read the wallshearstress includes the turbulent shear stresses which in my case don't exist. How can I compute the wall shear stress on a laminar simulation ran with icoFoam?
nikosb is offline   Reply With Quote

Old   August 1, 2022, 11:26
Default
  #2
New Member
 
Join Date: Jul 2022
Posts: 6
Rep Power: 4
sudo_rm is on a distinguished road
Hi,

If you check the options for icoFoam you will see that there is no "postProcess" available

icoFoam:

Code:
Usage: icoFoam [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -fileHandler <handler>
                    override the fileHandler
  -hostRoots <(((host1 dir1) .. (hostN dirN))>
                    slave root directories (per host) for distributed running
  -libs <(lib1 .. libN)>
                    pre-load libraries
  -listFunctionObjects
                    List functionObjects
  -listScalarBCs    List scalar field boundary conditions (fvPatchField<scalar>)
  -listSwitches     List all available debug, info and optimisation switches
  -listVectorBCs    List vector field boundary conditions (fvPatchField<vector>)
  -noFunctionObjects
                    do not execute functionObjects
  -parallel         run in parallel
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage
pimpleFoam:

Code:
Usage: pimpleFoam [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -fileHandler <handler>
                    override the fileHandler
  -hostRoots <(((host1 dir1) .. (hostN dirN))>
                    slave root directories (per host) for distributed running
  -libs <(lib1 .. libN)>
                    pre-load libraries
  -listFunctionObjects
                    List functionObjects
  -listFvConstraints
                    List fvConstraints
  -listFvModels     List fvModels
  -listMomentumTransportModels
                    List momentumTransportModels
  -listScalarBCs    List scalar field boundary conditions (fvPatchField<scalar>)
  -listSwitches     List all available debug, info and optimisation switches
  -listVectorBCs    List vector field boundary conditions (fvPatchField<vector>)
  -noFunctionObjects
                    do not execute functionObjects
  -parallel         run in parallel
  -postProcess      Execute functionObjects only
  -roots <(dir1 .. dirN)>
                    slave root directories for distributed running
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage
I suggest using pimpleFoam or pisoFoam instead, and just set "laminar" in the momentumTransport properties.

Hope that helps,
sudo_rm is offline   Reply With Quote

Old   June 19, 2024, 08:28
Post
  #3
New Member
 
Alvaro
Join Date: Jun 2024
Posts: 8
Rep Power: 2
Lleo is on a distinguished road
Hi there!


I'm having the same problem when I submit the next comand:


Quote:
postProcess -func wallShearStress

Then it jumps the same error you mentioned.
Could you explain how did you obtain the solution for that case? I'm using simpleFoam instead, and runing a laminar flow case.


Thanks!
Lleo is offline   Reply With Quote

Reply

Tags
laminar, wall shear stress

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
postProcess Utility: icoFoam -noFunctionObjects Why?How? TeresaT OpenFOAM Post-Processing 8 July 26, 2023 03:41
icoFoam floating point exception (8) leizhao512 OpenFOAM Running, Solving & CFD 7 November 1, 2018 12:43
wallShearStress doesn't work in new solver (energy eq added in icoFoam) srv537 OpenFOAM Post-Processing 0 December 18, 2016 10:31
why does 'sample' do this? wallShearStress question CHARLES OpenFOAM Post-Processing 0 August 7, 2013 20:30
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 08:52


All times are GMT -4. The time now is 04:57.