CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Getting dimensions from openfoam fields

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Carlo_P

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2019, 11:18
Default Getting dimensions from openfoam fields
  #1
New Member
 
Join Date: Oct 2017
Posts: 14
Rep Power: 9
Paulo SPS is on a distinguished road
Hi there,
is it possible to access the dimensions of fields from openfoam in paraview?


We declare the dimension of fields in initialization (eg for Temperature:
Code:
dimensions      [ 0 0 0 1 0 0 0 ];
) but then it is not possible to access it in paraView?


It is usually easy to figure the unit out but I was wondering if there was a direct way of accessing it for post processing.

Cheers
Paulo SPS is offline   Reply With Quote

Old   August 20, 2019, 06:25
Default
  #2
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
Yes Paolo.
It is possible, yo have to run paraFoam -builtin


Then you will have the possibility to tip add dimensional units to array names.


You can check my immage. This immage shows Pa because it is a result from a rhoSimpleFoam simulation.


Cheers,
Carlo
Attached Images
File Type: jpg parafoam.jpg (26.5 KB, 40 views)
Paulo SPS likes this.
Carlo_P is offline   Reply With Quote

Reply

Tags
units


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
How to Map Fields in openFOAM using the utility Alhasan OpenFOAM Running, Solving & CFD 42 January 15, 2018 09:52
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 06:40
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 20:20
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 14, 2016 11:19
a reconstructPar issue immortality OpenFOAM Post-Processing 8 June 16, 2013 12:25


All times are GMT -4. The time now is 20:19.