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

Add a field sources to buoyantPimpleFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 26, 2012, 06:51
Default Add a field sources to buoyantPimpleFoam
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
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
Attached Files
File Type: gz buoyantPimpleFoam_Epta.tar.gz (2.9 KB, 9 views)
File Type: gz buoyantSimpleFoam_Epta.tar.gz (2.8 KB, 6 views)
samiam1000 is offline   Reply With Quote

Old   March 26, 2012, 10:16
Default
  #2
Senior Member
 
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 195
Rep Power: 10
kwardle is on a distinguished road
Did you try "sources.constrain(UEqn);" with no extra parentheses?
kwardle is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Temperature field to IcoFoam yapalparvi OpenFOAM Running, Solving & CFD 13 January 18, 2014 09:25
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


All times are GMT -4. The time now is 04:51.