|
[Sponsors] |
[swak4Foam] run-time post processing - y+ - swakExpression |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 6, 2014, 10:29 |
run-time post processing - y+ - swakExpression
|
#1 |
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 13 |
Dear Foamers,
can I compute a volScalarField with help of functionObjects? yPlusLES_FO { type swakExpression; valueType internalField; variables ( "rho=998;" "y=dist();" "wSS=mag(wallShearStress);" ); //accumulations ( // ? //); expression "(y*(sqrt(wSS)/rho)))/nu"; verbose true; outputControlMode timeStep; outputInterval 1; } If I comment out 'accumulations' I get an error but since I would like to get a volume scalar field as result I think I can not average or sum the result values?! Each kind of support is appreciated! Aylalisa |
|
May 6, 2014, 16:02 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Anyway: y+ is a thing of the wall and therefor an internalField is not the best choice. What might be better is readAndUpdateField (have a look at Examples/other/angledDuctImplicit/system/controlDict and Examples/FromPresentations/OSCFD_cleaningTank3D/system/controlDict for examples): there you define a special field with groovyBCs (in your case the y+-expression. I think you'll want to use delta() for the distance). That field is read in and the boundary conditions are updated at every timestep. In PV you'll have to read in the patch values as well and then use "Extract Block"
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
May 9, 2014, 09:01 |
|
#3 |
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 13 |
Thank you very much for your support! I'll try to follow your instructions.
|
|
|
|
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 |
How to export time series of variables for one point? | mary mor | OpenFOAM Post-Processing | 8 | July 19, 2017 11:54 |
[Q] CHEMISTRY POST PROCESSING takes a long time... | Whitebear | CFX | 3 | August 8, 2014 10:39 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |