postProcess Utility: icoFoam -noFunctionObjects Why?How?
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 |
Simply run application
Code:
wallShearStress Arsalan. |
Hi Arsalan,
this application does not exist in openFoam 4.0. This is what you get if you try it: Quote:
Teresa |
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". |
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 |
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. |
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 |
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_)))); 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. |
Quote:
|
All times are GMT -4. The time now is 20:38. |