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

Mapping of physical coordinates and field data

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2017, 11:29
Default Mapping of physical coordinates and field data
  #1
New Member
 
Join Date: Mar 2017
Posts: 2
Rep Power: 0
Rheo is on a distinguished road
Hello CFD users,

I would like to get information about the velocity field in a specific area of a computation domain (not the whole domain) at runtime.

How can I do this?

I am using a polar (2D) grid with physical coordinates. I found out that the ordering of the output form of the U,p,etc files for a polar grid is in the form

(while assuming
i -> r in the range say [0,N]
j -> phi in the range say [0,M]
)

Data[i=0,j=0 to M] with Data a matrix with M lines and three rows
Data[i=1,j=0 to M]
...
Data[i=N,j=0 to M]

I can handle this in the post processing and for a spherical symmetry, but, I know that at runtime, it should be possible to specify a specific area of the mesh by a patch name and use this data. Unfortunately I figured out that this approach is not working for my goals.
I am in addition not interested in the x and y component of the flow, I would like the measure the phi velocity at runtime only.)

So how can I get the physical information (say velocity) by means of any other mapping (like a probe of openFOAMs post processing tools) for a big bunch of cells out of the domain?

Many thanks to you, who are more skilled than me.
Rheo 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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
Location of field data bastil OpenFOAM Running, Solving & CFD 1 March 28, 2017 05:39
Utility to export field data tbrycekelly OpenFOAM Post-Processing 0 July 13, 2016 10:42
[mesh manipulation] Mapping mesh from cartesian coordinates to cylindrical coordinates matteo_pellegri OpenFOAM Meshing & Mesh Conversion 0 December 10, 2013 10:31
Coordinates of the max value of a specific field variable on a surface chrisk0815 FLUENT 0 March 13, 2011 10:06


All times are GMT -4. The time now is 06:46.