|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 335
Rep Power: 6 ![]() |
Dear foamers,
I have added the field source feature (see here) to the buoyanSimpleFoam solver. I called it buoyantSimpleFoam_Epta (attached) I am now trying to do the same with the buoyantPimpleFoam. But I am finding it difficult. Could you check my mew solver buoyantPimpleFoam_Epta (attached, too)? Thanks a lot, Samuele PS: when I try to compile it I get the following error message: Code:
lab@lab-laptop:~/OpenFOAM/lab-2.1.0/applications/solvers/buoyantPimpleFoam_Epta$ wmake Making dependency list for source file buoyantPimpleFoam_Epta.C SOURCE=buoyantPimpleFoam_Epta.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam210/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam210/src/turbulenceModels/compressible/turbulenceModel -I/opt/openfoam210/src/finiteVolume/lnInclude -I/opt/openfoam210/src/meshTools/lnInclude -I/opt/openfoam210/src/finiteVolume/cfdTools -IlnInclude -I. -I/opt/openfoam210/src/OpenFOAM/lnInclude -I/opt/openfoam210/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/buoyantPimpleFoam_Epta.o In file included from buoyantPimpleFoam_Epta.C:78: UEqn.H: In function ‘int main(int, char**)’: UEqn.H:14: error: no match for call to ‘(Foam::fvVectorMatrix) ()’ UEqn.H:16: error: no match for call to ‘(Foam::fvVectorMatrix) ()’ /opt/openfoam210/src/finiteVolume/lnInclude/readTimeControls.H:38: warning: unused variable ‘maxDeltaT’ make: *** [Make/linux64GccDPOpt/buoyantPimpleFoam_Epta.o] Error 1 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 158
Rep Power: 8 ![]() |
Did you try "sources.constrain(UEqn);" with no extra parentheses?
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding Temperature field to IcoFoam | yapalparvi | OpenFOAM Running, Solving & CFD | 11 | March 1, 2013 09:27 |
| Need help evaluating field by interpolation with a "lookup table" | JohnRHawk | OpenFOAM Programming & Development | 2 | June 28, 2011 13:27 |
| problems after decomposing for running | alessio.nz | OpenFOAM | 5 | April 20, 2011 08:44 |
| Convergence of CFX field in FSI analysis | nasdak | CFX | 2 | June 29, 2009 01:17 |
| Flow field measurement in turbomachinery! | Wanlai Lin | Main CFD Forum | 3 | September 3, 1999 12:06 |