CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Accessing specific thermophysicalModel from boundary condition

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 27, 2014, 06:38
Default Accessing specific thermophysicalModel from boundary condition
Senior Member
Join Date: Oct 2013
Posts: 381
Rep Power: 7
chriss85 is on a distinguished road
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


Thread Tools
Display Modes

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 On
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 17:44
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
inlet velocity boundary condition murali CFX 5 August 3, 2012 08:56
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05

All times are GMT -4. The time now is 08:14.