|
[Sponsors] |
March 26, 2012, 06:51 |
Add a field sources to buoyantPimpleFoam
|
#1 |
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18 |
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 |
|
March 26, 2012, 10:16 |
|
#2 |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
Did you try "sources.constrain(UEqn);" with no extra parentheses?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problems after decomposing for running | alessio.nz | OpenFOAM | 7 | March 5, 2021 04:49 |
Adding Temperature field to IcoFoam | yapalparvi | OpenFOAM Programming & Development | 14 | November 19, 2015 04:57 |
Need help evaluating field by interpolation with a "lookup table" | JohnRHawk | OpenFOAM Programming & Development | 2 | June 28, 2011 13:27 |
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 |