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

finiteArea mapToSurface

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By akabat

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 20, 2018, 12:59
Default finiteArea mapToSurface
  #1
Member
 
Andrew Coughtrie
Join Date: May 2011
Posts: 51
Rep Power: 14
Andrew.Coughtrie is on a distinguished road
Hi Everyone,

Does anyone have any experience using the finiteArea mapToSurface function in OpenFoam 1712?

I was expecting the following to work (as was the case in foam-extend 4.0):

Us.internalField() = vsm.mapToSurface(U.boundaryField());

It doesn't compile complaining that about no matching function call, below is what i'm giving it and what it's expecting and I can see the difference (I think) I just can't work out what I'm doing incorrectly.

The error:
Code:
no matching function for call to ‘Foam::volSurfaceMapping::mapToSurface(const Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::Boundary&)’
         Us.internalField() = vsm.mapToSurface(U.boundaryField());

Code:
candidate: template<class Type> Foam::tmp<Foam::Field<Type> > Foam::volSurfaceMapping::mapToSurface(const typename Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh>::Boundary&) const
         tmp<Field<Type>> mapToSurface
Anyone got any suggestions please?

Thanks,

Andy
Andrew.Coughtrie is offline   Reply With Quote

 

Tags
finitearea, maptosurface


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
1712 finiteArea Parallel bug? Andrew.Coughtrie OpenFOAM Bugs 1 February 14, 2018 11:02
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 03:04
New finiteArea Boundary Condition cutty4sark OpenFOAM Programming & Development 1 January 24, 2013 08:47
Gradients on surfaces or how to find neighbour faces for face on a patch tehache OpenFOAM Running, Solving & CFD 21 May 25, 2010 07:08


All times are GMT -4. The time now is 11:06.