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

Changing code from OF 1.3 to OF 1.5

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2010, 07:25
Default Changing code from OF 1.3 to OF 1.5
  #1
ICL
New Member
 
Ali Sh
Join Date: Jun 2009
Location: London
Posts: 28
Rep Power: 16
ICL is on a distinguished road
Hi guyz,

I am trying to compile a code which was written for OF 1.3. The following line does not match in OF 1.5:
mesh.boundary()[patchI].nf()[faceI]
and comes up with:
error: no match for ‘operator[]’ in ‘Foam::fvPatch::nf() const()[faceI]’

Any idea?

Thanks,
ICL is offline   Reply With Quote

Old   January 18, 2010, 12:49
Default
  #2
ICL
New Member
 
Ali Sh
Join Date: Jun 2009
Location: London
Posts: 28
Rep Power: 16
ICL is on a distinguished road
I don`t understand the fact that it does not work with nf, is it taking the perpendicular vector? can any one help on this?
Thanks,
ICL 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
The FOAM Documentation Project - SHUT-DOWN holger_marschall OpenFOAM 242 March 7, 2013 12:30
Small 3-D code Zdravko Stojanovic Main CFD Forum 2 July 19, 2010 10:11
Adding Custom Tab in FLUENT using Scheme Code dhimans Fluent UDF and Scheme Programming 0 September 14, 2009 15:10
Understanding k-omega SST model source code tmhonka OpenFOAM Programming & Development 1 September 8, 2009 07:33
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 21:42.