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

Sig Turbomachinary compilation error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2019, 15:44
Unhappy Sig Turbomachinary compilation error
  #1
New Member
 
Milan
Join Date: Jan 2017
Location: Nepal
Posts: 8
Rep Power: 9
Milan Shrestha is on a distinguished road
I have got problem during compilation in OpenFOAM 2.0 dev by executing command ./Allwmake in openfoam-extend-Breeder2.0-OSIG-TurboMachinery-master/src

But I got long list of error. which is something like this:

Code:
profile1DfixedValueFvPatchField.C:148:34: error: no matching function

(blah blah)

/opt/openfoam-dev/src/OpenFOAM/lnInclude/Field.C:184:1: note:   candidate expects 3 arguments, 2 provided
/opt/openfoam-dev/src/OpenFOAM/lnInclude/Field.C:177:1: note: candidate: Foam::Field<Type>::Field(Foam::Istream&) [with Type = Foam::Vector<double>]
 Foam::Field<Type>::Field(Istream& is)
 ^
/opt/openfoam-dev/src/OpenFOAM/lnInclude/Field.C:177:1: note:   candidate expects 1 argument, 2 provided
/opt/openfoam-dev/src/OpenFOAM/lnInclude/Field.C:163:1: note: candidate: Foam::Field<Type>::Field(const Foam::tmp<Foam::Field<Type> >&, const labelListList&, const scalarListList&) [with Type = Foam::Vector<double>; Foam::labelListList = Foam::List<Foam::List<int> >; Foam::scalarListList = Foam::List<Foam::List<double> >]
 Foam::Field<Type>::Field


finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DfixedValueFvPatchField.C: In instantiation of ‘void Foam::profile1DfixedValueFvPatchField<Type>::autoMap(const Foam::fvPatchFieldMapper&) [with Type = Foam::SymmTensor<double>]’:
finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DfixedValueFvPatchFields.C:51:1:   required from here
finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DfixedValueFvPatchField.C:390:25: error: ‘autoMap’ is not a member of ‘Foam::Field<Foam::SymmTensor<double> >’
     Field<Type>::autoMap(m);
                         ^
finiteVolume/fields/fvPatchFields/derived/profile1DfixedValue/profile1DfixedValueFvPatchField.C:391:5: error: ‘class Foam::Field<Foam::SymmTensor<double> >’ has no member named ‘autoMap’
     profile1DValue_.autoMap(m);

------------------------------------------------------------------------
Configuration:

  Source code location:       .
  Compiler CC:                gcc
  Compiler CC flags:          -g -O2
  Compiler CXX:               g++
  Compiler CXX flags:         -g -O2
  Host System Type:           x86_64-unknown-linux-gnu
  Install path:               /home/linux/Downloads/openfoam-extend-Breeder2.0-OSIG-TurboMachinery-master/src/libcgnsoo_3.0/platforms/linux64GccDPInt32Opt
  CGNSLIB_HOME path:          /home/linux/Downloads/openfoam-extend-Breeder2.0-OSIG-TurboMachinery-master/src/cgnslib_2.5/platforms/linux64GccDPInt32Opt

  See config.h for further configuration information.
------------------------------------------------------------------------
+ make
cd . && aclocal -I config 
/bin/bash: aclocal: command not found
Makefile:231: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
+ make install
cd . && aclocal -I config 
/bin/bash: aclocal: command not found
make: *** [aclocal.m4] Error 127
Makefile:231: recipe for target 'aclocal.m4' failed
+ popd
~/Downloads/openfoam-extend-Breeder2.0-OSIG-TurboMachinery-master/src
root@linux-VirtualBox:~/Downloads/openfoam-extend-Breeder2.0-OSIG-TurboMachinery-master/src#
What could be the possible solution? I have been trying to do my final year project in turbomachinary in OpenFOM but I got an issue during compilation. So, please help me out.

Thank you in advance.


Regards,
Milan

Last edited by Milan Shrestha; July 12, 2019 at 15:52. Reason: error in typing
Milan Shrestha is offline   Reply With Quote

Reply

Tags
compilation error, compile error, profile1dfixedvalue, turbomachinery

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 09:00
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 06:45
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38


All times are GMT -4. The time now is 00:21.