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

Dimensionless wall distance and velocity in paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2015, 11:00
Default Dimensionless wall distance and velocity in paraview
  #1
Member
 
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 43
Rep Power: 6
Sören Sander is on a distinguished road
Hello,

I have a 3D mesh (channel) and want to calculate the dimensionless velocity profile to compare it to the theory (wall law). Right now I create a "plot over line" and save the data to a file. Then I postprocess this data to get the dimensionless profile.

As "plot over line" creates new points and interpolates OpenFOAM data at these points, one cannot see the position of each cell in the layer. I want to check, how many cell I got in each layer and where they are, but I do not know how to extract cell values along a line including coordinates.

Is there any way to do this in paraview? Or is there another tool, e.g. provided by OpenFOAM to do the task? Can I create y+ and u+ profiles directly in paraview? I guess tau_wall is unknown and need to be provided; afterwards I would use the calculator?

Best regards,
Sören
Sören Sander is offline   Reply With Quote

Old   November 26, 2015, 03:35
Default
  #2
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 125
Rep Power: 7
Bazinga is on a distinguished road
You can use the yPlusRAS utility to get the values of the non dimensional wall distance for an RANS simulations:

http://cfd.direct/openfoam/user-guid...ard-utilities/

To examine the values over a line you can use the sample utility.

http://cfd.direct/openfoam/user-guide/sample/
Bazinga is offline   Reply With Quote

Old   November 26, 2015, 04:13
Default
  #3
Member
 
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 43
Rep Power: 6
Sören Sander is on a distinguished road
Hello Bazinga,

thank you very much for your answer. Unfortunally, yPlusRAS only "Calculates and reports yPlus for all wall patches, [...]", but I need the values for internal mesh points as well. To my knowledge, the "Plot over line"-tool in paraview only interpolates values, but does not provide any information on the original cell-values as calculated by OpenFOAM. So it is not possible to extract the OpenFOAM-values this way.
Sören Sander is offline   Reply With Quote

Old   November 26, 2015, 04:54
Default
  #4
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 125
Rep Power: 7
Bazinga is on a distinguished road
For the second part. To get the cell values without interpolation instead of using paraview you can use the sample utility. This will give you what you need. But i do not know how to get the y+ values in the flow field.
Bazinga is offline   Reply With Quote

Old   November 27, 2015, 02:50
Default
  #5
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 125
Rep Power: 7
Bazinga is on a distinguished road
If you get the value of y+ at the wall you can calculate u* using the viscosity of the fluid. Then, if you know the wall distance of each cell you can calculate the y+ value for each cell. To get the cell position I think you can use the writeCellCentres utility.
Bazinga is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dimensionless wall distance messik Main CFD Forum 4 March 15, 2014 07:55
Velocity Distribution on Distance to Wall ChrisPro OpenFOAM Post-Processing 0 September 27, 2012 06:20
Dimensions on Dimensionless Wall Distance (y+) minger Main CFD Forum 0 July 6, 2011 07:45
UDF for wall slipping HFLUENT Fluent UDF and Scheme Programming 0 April 27, 2011 12:03
Y+ Ralph Main CFD Forum 5 December 9, 2006 14:01


All times are GMT -4. The time now is 00:57.