|
[Sponsors] |
Accessing specific thermophysicalModel from boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 27, 2014, 06:38 |
Accessing specific thermophysicalModel from boundary condition
|
#1 |
Senior Member
Join Date: Oct 2013
Posts: 397
Rep Power: 19 |
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.
|
|
|
|
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 |