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

buoyantBoussinesqSimpleFoam Compile error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2015, 14:29
Default buoyantBoussinesqSimpleFoam Compile error
  #1
New Member
 
S. Park
Join Date: Aug 2014
Posts: 3
Rep Power: 12
smfamily11 is on a distinguished road
Hi. Foamers.

Recently I've been looking for a solver which would be suitable for the HVAC system simulation, and I found buoyantBoussinesq solvers which are pimpleFoam type and simpleFoam type.

For the first step of the programming, simply I compiled buoyantBoussinesqSimpleFoam, and for your information I'm using OpenFOAM 3.0.0. When I compile the solver, the error message is showed up said;

-------------------------------------------------------------------------------------------------------------------------------
In file included from buoyantBoussinesqSimpleFoam.C:65:0:
createFields.H: In function ‘int main(int, char**)’:
createFields.H:80:59: error: no matching function for call to ‘Foam::RASModel<Foam::IncompressibleTurbulenceMode l<Foam::transportModel> >::New(Foam::volVectorField&, Foam::surfaceScalarField&, Foam::singlePhaseTransportModel&)’
incompressible::RASModel::New(U, phi, laminarTransport)

^
In file included from /opt/openfoam30/src/TurbulenceModels/turbulenceModels/lnInclude/RASModel.H:247:0,
from /opt/openfoam30/src/TurbulenceModels/incompressible/lnInclude/turbulentTransportModel.H:47,
from buoyantBoussinesqSimpleFoam.C:50:
/opt/openfoam30/src/TurbulenceModels/turbulenceModels/lnInclude/RASModel.C:115:1: note: candidate: static Foam::autoPtr<Foam::RASModel<BasicTurbulenceModel> > Foam::RASModel<BasicTurbulenceModel>::New(const alphaField&, const rhoField&, const volVectorField&, const surfaceScalarField&, const surfaceScalarField&, const transportModel&, const Foam::word&) [with BasicTurbulenceModel = Foam::IncompressibleTurbulenceModel<Foam::transpor tModel>; Foam::RASModel<BasicTurbulenceModel>::alphaField = Foam::geometricOneField; Foam::RASModel<BasicTurbulenceModel>::rhoField = Foam::geometricOneField; Foam::volVectorField = Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>; Foam::surfaceScalarField = Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>; Foam::RASModel<BasicTurbulenceModel>::transportMod el = Foam::transportModel]
Foam::RASModel<BasicTurbulenceModel>::New
^
/opt/openfoam30/src/TurbulenceModels/turbulenceModels/lnInclude/RASModel.C:115:1: note: candidate expects 7 arguments, 3 provided
/opt/openfoam30/wmake/rules/General/transform:8: recipe for target 'Make/linux64GccDPInt32Opt/buoyantBoussinesqSimpleFoam.o' failed
make: *** [Make/linux64GccDPInt32Opt/buoyantBoussinesqSimpleFoam.o] Error 1
------------------------------------------------------------------------------------------------------------------------------

I thought the most possible reason of the compile error is caused by the wrong function call with wrong source code and header files(the bolded and underlined message above), so I've checked the file root and the source code according to Make/option, but I got no idea to fix it.

Is there anybody to give me some ideas to get this through? Any possible advices would be so helpful for me. Thanks.

Best regards.

S. Park
smfamily11 is offline   Reply With Quote

Reply

Tags
buoyantboussinesq, compile


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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 15:03.