|
[Sponsors] |
postProcess Utility: icoFoam -noFunctionObjects Why?How? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 4, 2016, 07:04 |
postProcess Utility: icoFoam -noFunctionObjects Why?How?
|
#1 | ||
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Dear Forum Users,
my goal is to get the wallShearStress of my icoFoam (openFoam 4.0) case. For simpleFoam it is documented in the Userguide: simpleFoam -postProcess -func wallShearStress So I tried this: icoFoam -postProcess -func wallShearStress Outcome: Quote:
I get this Quote:
Any Ideas? Kind regards, Teresa |
|||
November 5, 2016, 04:21 |
|
#2 |
Member
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 12 |
Simply run application
Code:
wallShearStress Arsalan. |
|
November 5, 2016, 04:34 |
|
#3 | |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Hi Arsalan,
this application does not exist in openFoam 4.0. This is what you get if you try it: Quote:
Teresa |
||
November 13, 2016, 13:42 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: For situations where the solver isn't needed for post-processing, there is the postProcess utility, e.g.:
Code:
postProcess -func wallShearStress The closest would be to switch to pisoFoam, for which you need to update "fv*" files in "system" and add "turbulenceProperties" in the folder "constant".
__________________
|
|
November 13, 2016, 14:32 |
|
#5 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Thank you for you help.
I have one more question regardning you tipp: Should I calculate the hole case again oder just use pisofoam for postprocessing the icofoam case? Kind regards, Teresa |
|
November 13, 2016, 17:07 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: It should work without having to simulate everything again... although I am a bit concerned about the value you've used for "nu" in the "transportProperties" file.
I say this because the icoFoam solver is mostly a simple/basic solver for demonstrating how things work and it doesn't account for all of the physics... which may lead to people to not properly adjust the "nu" value either and instead use the default values from the tutorial cases. |
|
November 14, 2016, 04:43 |
|
#7 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Thanks again!
What physics are you are thinking of? I chose icoFoam because my case has a transient, laminar flow of an incompressible fluid. I usually use normalization so I change the kinematic velocity to reflect the Reynolds-Number. Greetings, Teresa |
|
November 14, 2016, 18:10 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
If you only want to calculate wall shear stress, it should work just fine. Because from what I've looked up on the old code in 2.3.x, wall shear stress is essentially: Code:
const volSymmTensorField Reff(-nu()*dev(twoSymm(fvc::grad(U_)))); wallShearStress.boundaryField()[patchI] = ( -mesh.Sf().boundaryField()[patchI] /mesh.magSf().boundaryField()[patchI] ) & Reff.boundaryField()[patchI]; Essentially my concern is that if you needed to calculate other properties that depend on how the flow was modelled, pisoFoam accounts for more details that icoFoam doesn't. If you compare the source code of the two solvers, you'll see what I mean. |
||
July 26, 2023, 03:41 |
|
#9 | |
New Member
mhy
Join Date: Oct 2022
Posts: 2
Rep Power: 0 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 03:36 |
icoFoam floating point exception (8) | leizhao512 | OpenFOAM Running, Solving & CFD | 7 | November 1, 2018 12:43 |
postProcess functionality in openFOAM 4 | bullmut | OpenFOAM Post-Processing | 23 | July 21, 2017 10:11 |
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! | zfaraday | OpenFOAM Post-Processing | 0 | February 5, 2015 17:47 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 08:52 |