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

Programming custom sample utility

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2019, 06:24
Post Programming custom sample utility
  #1
New Member
 
Raul Ciria Aylagas
Join Date: Jan 2018
Location: Madrid, Spain
Posts: 6
Rep Power: 8
RaulCA is on a distinguished road
Hello all,

I was trying to create a postprocessing utility to calculate boundary layer parameters. What I want to do is:

- iterate over each faces of a patch,
- create a line normal to each face,
- sample velocities over the line,
- Do some calculations to compute the parameters (just some integrals along the line)
- Save the values on the boundary face as a new field.

My problem is that I can't find a valid function to do the sampling of the velocity over the line.
Could it be possible to use the sample utility of OpenFOAM from inside another utility?
Does anyone has an idea on how to do this?

Thank You!
Raul
RaulCA is offline   Reply With Quote

Reply

Tags
boundary layer thickness, post processing, sample utility


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
Sample utility bug? For many cloud points in the sampleDict, some are neglected! brandius OpenFOAM Post-Processing 10 August 22, 2022 10:56
Sample Utility not working in OpenFoam 1.6 titio OpenFOAM Post-Processing 6 November 15, 2014 19:04
Sample utility not working properly titio OpenFOAM 2 June 9, 2010 11:45
Sample Utility not working in OpenFoam 1.6 titio OpenFOAM Post-Processing 0 February 5, 2010 13:12
Sample utility not working in OpenFoam1.5 dev titio OpenFOAM Post-Processing 1 December 10, 2009 03:38


All times are GMT -4. The time now is 14:37.