|
[Sponsors] |
What is the equivalent of hook function of PtrList in v14 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 30, 2007, 18:27 |
I have old code in v1.3 like t
|
#1 |
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17 |
I have old code in v1.3 like this:
PtrList<volvectorfield> VdjList_; ... VdjList_.hook ( new volVectorField ( IOobject ( "Vdj" + groupName, mesh.time().timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ) );
__________________
Xiaofeng Liu, Ph.D., P.E., Assistant Professor Department of Civil and Environmental Engineering Penn State University 223B Sackett Building University Park, PA 16802 Web: http://water.engr.psu.edu/liu/ |
|
May 30, 2007, 18:30 |
It's set - give it an index.
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
It's set - give it an index.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PtrList initialization problem | mateusz_slowikowski | OpenFOAM Running, Solving & CFD | 8 | March 19, 2012 15:32 |
how to hook this udf | shanu | FLUENT | 1 | August 26, 2011 11:48 |
Hook function of PtrList in OF 15 | pawel | OpenFOAM Running, Solving & CFD | 2 | January 9, 2009 04:21 |
PtrList deletion | grtabor | OpenFOAM | 1 | September 22, 2007 18:55 |
UDF hook on the WALL boundary condition | Luke | FLUENT | 0 | June 7, 2006 12:54 |