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

difference between thermo.T() and T

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By Mowgli

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 4, 2013, 07:39
Default difference between thermo.T() and T
  #1
New Member
 
Join Date: Feb 2012
Posts: 25
Rep Power: 14
Marshak is on a distinguished road
Can someone tell me what is the difference between defining

volScalarField myTemperature = thermo.T()
volScalarField mypressure = thermo.p()

and

const volScalarField& myTemperature = mesh_.lookupObject<volScalarField>("T");
const volScalarField& mypressure= mesh_.lookupObject<volScalarField>("p");
Marshak 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
high-order difference in OpenFOAM rxgrch OpenFOAM Programming & Development 6 August 28, 2017 14:11
Periodic Boundary Condition for upwind difference yohey44 Main CFD Forum 0 October 27, 2010 13:10
[General] paraview - plotting difference to reference data joewe ParaView 0 August 30, 2010 18:01
Difference between scaled residuals and... Dieter FLUENT 0 April 28, 2006 17:52
Fininte difference and Finite element Technique Mahendra Singh Mehra FLUENT 3 December 22, 2005 23:49


All times are GMT -4. The time now is 09:42.