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

[OpwnFOAM] How do I set the "distance" in "nearWallFields"?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fish man

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2024, 04:31
Post [OpwnFOAM] How do I set the "distance" in "nearWallFields"?
  #1
New Member
 
Join Date: Nov 2022
Posts: 11
Rep Power: 3
fish man is on a distinguished road
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;
}
fish man is offline   Reply With Quote

Old   July 19, 2024, 06:25
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,177
Rep Power: 27
Yann will become famous soon enough
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
Yann is offline   Reply With Quote

Old   July 19, 2024, 07:46
Default
  #3
New Member
 
Join Date: Nov 2022
Posts: 11
Rep Power: 3
fish man is on a distinguished road
Hello
Thank you very much.
I now have a better understanding of "nearWallFields".
Yann likes this.
fish man is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 23:55.