CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

What is the equivalent of hook function of PtrList in v14

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 30, 2007, 17:27
Default I have old code in v1.3 like t
  #1
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 8
liu is on a distinguished road
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/
liu is offline   Reply With Quote

Old   May 30, 2007, 17:30
Default It's set - give it an index.
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
It's set - give it an index.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Reply

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
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 10: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 17:55
UDF hook on the WALL boundary condition Luke FLUENT 0 June 7, 2006 11:54


All times are GMT -4. The time now is 07:51.