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

One problem in fvc::domainIntegrate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2016, 17:51
Default One problem in fvc::domainIntegrate
  #1
New Member
 
Saddam Hijazi
Join Date: May 2016
Posts: 17
Rep Power: 10
SaddamH is on a distinguished road
I tried to write one application for post processing in openfoam where i need to compute integrals of the product of different pressure fields
I wrote it in my code this
pcorrMatrix[i][j] = fvc::domainIntegrate(pressurefield[i]&pressurefield[j]).value();

where pressurefield[i] and pressurefield[j] are different pressure fields
but I got this when I compiled the code


Foam::volMesh>’ is not derived from ‘const Foam:iagTensorN<Cmpt, length>’
pcorrMatrix[i][j] = fvc::domainIntegrate(pressurefield[i]&pressurefield[j]).value(); //Correlation matrix calculation L2 projection


any help for the solution of this problem.
Thank you very much.
SaddamH is offline   Reply With Quote

Old   August 24, 2016, 15:09
Default
  #2
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
Can you please post your code and error in code and also in full. It's hard to understand when we don't know how your pressureField has been defined and the error is not complete.
anishtain4 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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 06:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 15:52


All times are GMT -4. The time now is 08:55.