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

accessing thermophysical properties on a lower level

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 24, 2013, 10:20
Default accessing thermophysical properties on a lower level
  #1
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20
romant is on a distinguished road
Hej,

I have a question about the accessing thermophysical properties on a lower level than the ones given.

I would like to obtain for example rho at a certain temperature, which is not the cell temperature, therefore I can't use the normal approach via
Code:
volScalarField rho = thermo.rho();
or similar, since this gives me only access to the whole field (or sub fields later on).

I would like to be able to just obtain rho, without a specific cell attached to it, similar to
Code:
scalar rho = thermo.rho(pressure, temperature);
in order to use it as a iteration value in a function.

I know that these functions exist in the thermophysical properties like icoPolynomial, however, they are not accessible, since this class is templated into heRhoThermo, which does not provide these functions, as far as I can see.

Does anybody have an idea on how to access this?
__________________
~roman
romant is offline   Reply With Quote

 


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
Error in thermophysical properties (chtMultiRegionFoam) mukut OpenFOAM Pre-Processing 28 November 23, 2021 06:34
table properties for thermophysical properties romant OpenFOAM Running, Solving & CFD 1 August 12, 2014 08:41
Water properties at micro level sunilpatil Main CFD Forum 0 August 12, 2013 08:57
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh Elise OpenFOAM Meshing & Mesh Conversion 1 April 22, 2013 02:32
[snappyHexMesh] Boundary layer in a pipe Clementhuon OpenFOAM Meshing & Mesh Conversion 6 March 12, 2012 12:41


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