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

How to get pressure at specific points

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2022, 09:29
Default How to get pressure at specific points
  #1
New Member
 
Zhang Yan
Join Date: Nov 2021
Posts: 15
Rep Power: 5
Erikaaa is on a distinguished road
Hello, Foamers!

I am trying to program a new solver in OpenFoam v2106. Now, I need some interpolation pressure at specific points. In other words, given a position as (x,y,z), I want the p value in this point by using interpolation.

Which classes or functions should I use?

I would be very grateful if anyone could help me!
Erikaaa is offline   Reply With Quote

Old   August 20, 2022, 10:34
Default
  #2
Senior Member
 
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5
joshwilliams is on a distinguished road
you can use a probe to get any field value at a point (youtube tutorial link here).
joshwilliams is offline   Reply With Quote

Reply


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
Fail to converge when solving with a fabricated solution zizhou FLUENT 0 March 22, 2021 07:33
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 01:58
Compression stoke is giving higher pressure than calculated nickjuana CFX 62 May 19, 2015 14:32
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 23:02


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