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

Accessing specific thermophysicalModel from boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2014, 06:38
Default Accessing specific thermophysicalModel from boundary condition
  #1
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 19
chriss85 will become famous soon enough
I'm writing a boundary condition that is used in combination with a specific "thermo" class for the thermophysicalModel. I would like to access the thermophysicalModel with something like mesh.lookupObject<hPiecewiseThermo>("thermophysica lProperties"), but the compiler requires the specification of all the template arguments of the thermophysicalModel (i.e. equation of state, specie, transport, ...). Is there any way to access this model without limiting the possible combinations of other parts of the thermophysicalModel? Above code works with fluidThermo, since it's not templated, but not for this class.
chriss85 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
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
inlet velocity boundary condition murali CFX 5 August 3, 2012 09:56
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 02:57.