CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Access to meshTools methods

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

LinkBack Thread Tools Display Modes
Old   July 25, 2007, 04:56
Default Hello, I am trying to call
New Member
David Mulholland
Join Date: Mar 2009
Posts: 11
Rep Power: 10
irishdave is on a distinguished road

I am trying to call one of the meshTools methods within a class I am making for a preProcessing utility. So far all I keep getting is errors. I know my C++ is still developing so I apologize if this is a rookie mistake.

The line that keeps giving me problems is:
label sharedFace = meshTools::getSharedFace(mesh,a,b);

The error the compiler throws is:
diffTurb.C: In member function 'Foam::vectorField Foam::diffTurb::U()':
diffTurb.C:87: error: incomplete type 'Foam::meshTools' used in nested name specifier

As you can see I am trying to find the shared face between two cells in a mesh but it wont compile. Any ideas?

Note: The a and b are coming from forAll loops running over all a and b in K where K is a Kmesh. One of my theories was that these are not proper cell identifiers.

Thanks in advance,
irishdave 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
how to access a variable in DPM within a UDF patrick FLUENT 13 September 15, 2010 08:38
Access Violation Help!!!!!! thuy FLUENT 0 March 5, 2008 09:26
how to access Cd and Cl in UDFs? kevin FLUENT 0 March 23, 2006 09:37
Access Density Allan Walsh FLUENT 3 October 4, 2005 07:55
Access to the surface value H.P.LIU Phoenics 4 September 10, 2001 02:12

All times are GMT -4. The time now is 16:36.