CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Output pressure as a function of location with faceZone (https://www.cfd-online.com/Forums/openfoam-post-processing/240346-output-pressure-function-location-facezone.html)

SerClaudio December 29, 2021 07:13

Output pressure as a function of location with faceZone
 
Hi everyone,

I am currently running a 2D simulation on porousSimpleFoam, in which I am importing a surface (with no thickness) as a set by means of topoSetDict (which I can then turn into a cellZone by using setsToZones) to model a parachute.

What I am trying to do, is to output a file containing the pressure on the top/bottom of the surface (or, alternatively, the pressure difference on the set) as a function of location on the cartesian mesh. I was thinking of using some function objects or SampleDict for this, but it looks like I should transform my set/zone to patch first? Should I try to create a Baffle perhaps? The issue is that I would not have a neighbour patch as the set has no thickness

Many thanks :)


All times are GMT -4. The time now is 12:22.