|
[Sponsors] |
August 18, 2016, 17:51 |
One problem in fvc::domainIntegrate
|
#1 |
New Member
Saddam Hijazi
Join Date: May 2016
Posts: 17
Rep Power: 10 |
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. |
|
August 24, 2016, 15:09 |
|
#2 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
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.
|
|
|
|
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 |