CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Cp along a line on a boundary surface (http://www.cfd-online.com/Forums/openfoam-post-processing/61359-cp-along-line-boundary-surface.html)

olle_bodin December 7, 2006 06:39

Hello I am in the process o
 
Hello

I am in the process of making a utility that gives me the pressure and coordinates along a line on a boundary surface. The best way I can describe the function is that I want to specify a boundary patch, a plane and from the line created by the intersection between these extract the pressure values. I have tried the utilities supplied with OF-1.3 but I can not make any of them perform this.

Is this functionality already in OF and the reason I have not succeeded that I have not understood how to do this with the provided utilities? If it is not already in OF I will make this utility.

reg, Olle

olle_bodin December 7, 2006 09:57

Hello I have started lookin
 
Hello

I have started looking into this and decided to attempt to alter sampleSurface so that it instead of the entire mesh interpolates only over the cells belonging to a wall-type boundary. Is this a silly idea?

reg, Olle

rmorgans December 8, 2006 01:34

Hi Olle, I'd be interested
 
Hi Olle,

I'd be interested in this as well. We have an example where we need to do something similar - extract results along a surface of a smooth contraction, calculated with potentialFoam.

We ended up using sample and offsetting the points from the surface by a fraction - the results are then postprocessed with Matlab. Not an elegant solutions and I started to look around for somethign similar to you.

Cheers

Rick

olle_bodin December 8, 2006 02:09

Hello Richard I tried using
 
Hello Richard

I tried using sample in that way too but I do not know the exact position of my boundary so it turned out to be just a lot of work. And, since I will need this type of data from rather complex geometries I wanted a more general approach as well.

I will post up any progress I make, I just have to try and understand the code first.

Tjipp

Olle

sylvester September 2, 2008 05:04

Hi Olle, Richard, Did you m
 
Hi Olle, Richard,

Did you manage to create a utility that extracts (and maybe even processes) data from a line on a boundary surface?

If you (or anybody else for that matter) did, or if you know an existing utility that can do this, I would be very interested in it.

By the way, sampleSurface and sample (in OF1.4.1) can not do this (at least not as far as I am aware).

Thank you very much!

Sylvester

braennstroem October 6, 2008 10:47

Hi, one option could be to
 
Hi,

one option could be to use visit:
http://www.visitusers.org/index.php?..._create_curves

Or does anyone got something easier without so much clicking?

Fabian


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