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

no match for ‘operator+’ in ‘Foam::operator*(const Foam::tmp<Foam::GeometricField

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2013, 03:46
Default no match for ‘operator+’ in ‘Foam::operator*(const Foam::tmp<Foam::GeometricField
  #1
New Member
 
guanning
Join Date: Mar 2013
Posts: 2
Rep Power: 0
tjugn is on a distinguished road
HI Foamers:
I added a source term (momSource) to the momentum equation of NS in interFoam to generate waves, the definition of momSource is in the createFields.H:
/home/caelinux/Desktop/Screenshot-13.png
and modified the pEqn.H and UEqn.H as follows:
/home/caelinux/Desktop/Screenshot-14.png
/home/caelinux/Desktop/Screenshot-15.png
but,when I comiled it the following erros are being produced:
/home/caelinux/Desktop/Screenshot-16.png

I would appreciate if you help me fix it!
tjugn is offline   Reply With Quote

Reply

Tags
momsource


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
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 10 February 7, 2024 21:50
[ANSYS Meshing] Match Control, is this weird or am I stupid? Moufle ANSYS Meshing & Geometry 2 November 18, 2015 16:00
Match Control and Symmetry Boundary Condtions in a quasi 2D calculation peterputer ANSYS Meshing & Geometry 0 May 15, 2012 08:53
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 22:50
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


All times are GMT -4. The time now is 00:12.