|
[Sponsors] |
[OpwnFOAM] How do I set the "distance" in "nearWallFields"? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Nov 2022
Posts: 14
Rep Power: 4 ![]() |
I want to use nearWallFields to find the flow velocity at a distance of 0.01 from the model (fish) surface.
![]() However, the settings may have failed, and the velocities for the entire analysis case were saved instead of the specified location. ![]() The save location is in the result file for each second. The following is a description of nearWallFields in "controlDict". nearWallFields { // Mandatory entries (unmodifiable) type nearWallFields; libs ("libfieldFunctionObjects.so"); fields ( (U U_nearWall) ); patches (fish); distance 0.01; // Optional (inherited) entries region region0; enabled true; log true; timeStart 0; timeEnd 100000; executeControl timeStep; executeInterval 1; writeControl adjustableRunTime; writeInterval 0.01; } |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,287
Rep Power: 30 ![]() ![]() |
Hello,
The output of the nearWallFields function object is a volume field, so it is normal to get a whole velocity field. (https://doc.openfoam.com/2306/tools/...earWallFields/) The only difference is that you will get the near-wall velocity values on your walls instead of 0. In ParaView, load your model surface patches, and display U_nearWall on it to see the velocity values at the distance your specified. Regards, Yann |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Nov 2022
Posts: 14
Rep Power: 4 ![]() |
Hello
Thank you very much. ![]() I now have a better understanding of "nearWallFields". ![]() |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ParaFoam not responding on mac | Abhisek | OpenFOAM | 0 | May 7, 2022 12:15 |
Can you please confirm that I have set up the simulation conditions correctly? | dhehdxhdaus | CFX | 3 | April 26, 2022 23:26 |
Using gnuplot to plot probe data | Rotidpor | OpenFOAM | 3 | March 9, 2022 05:44 |
Ansys SIG$ILL error | loth | ANSYS | 3 | December 24, 2015 05:31 |
[snappyHexMesh] determining displacement for added points | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 1 | October 22, 2013 09:53 |