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

finiteArea postProcessing probes

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2019, 07:31
Default finiteArea postProcessing probes
  #1
Member
 
Andrew Coughtrie
Join Date: May 2011
Posts: 51
Rep Power: 15
Andrew.Coughtrie is on a distinguished road
Hi Everyone,

Has anyone written anything for post processing / sampling of finiteArea fields?

I basically want to sample along a line of the faMesh but I'm having trouble with locating the correct mesh face to return the values.

It's easy enough to do this for a fvMesh but there are no functions for finding a point within a face of the area mesh as far as I can see. I've tried implementing this myself based on the findCell and pointInCell functions of the primitive mesh but I keep getting errors like the following:

Code:
/apps/applications/OpenFOAM/v1712/OpenFOAM-v1712/src/OpenFOAM/lnInclude/GeometricField.H:103: error: invalid use of incomplete type ‘class Foam::edgeMesh’
         typedef typename GeoMesh::BoundaryMesh BoundaryMesh;
                                                ^~~~~~~~~~~~
I've implemented a find nearest cell function which works fine for a single core but in parallel it obviously searches and finds a cell in each partition which is my issue, hence why need a pointInCell check.

I'm also not sure if the way i'm doing this is necessarily the best way to go about it so if someone with a better understanding of the FA implementation has any insight I'd be grateful.

Thanks in advance,

Andrew
Andrew.Coughtrie is offline   Reply With Quote

Reply

Tags
finitearea, meshsearch, probes

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
using fieldAverage library to average postprocessing eelcovv OpenFOAM Programming & Development 32 May 17, 2022 09:55
Error in probes functions!!! Jingxue Wang OpenFOAM Running, Solving & CFD 9 November 25, 2017 09:21
How many probes can I have in a simulation ? guilha OpenFOAM Post-Processing 13 September 17, 2016 07:26
probes function not working in Openfoam 2.1.1 nandiganavishal OpenFOAM 7 July 26, 2012 11:06
problems with probes() function in chtMultiRegionFoam Victor OpenFOAM 0 November 25, 2009 15:08


All times are GMT -4. The time now is 01:32.