|
[Sponsors] |
May 29, 2008, 18:08 |
Hi everybody,
for my gradua
|
#1 |
New Member
jin xu
Join Date: Mar 2009
Location: london, UK
Posts: 13
Rep Power: 17 |
Hi everybody,
for my graduation project, which is similar to the bentpipe case , I am trying to find a FSI solver and find icoFsiFoam is the one I should use. I am just started with OF, so I just downloaded all the files and try to compile it using "wmake", but I end up with errors, Could anyone give me some ideas? I will really appreciate your help! (I am using OF-1.3 ) snail@snail-laptop:~/OpenFOAM/snail-1.3/applications/solvers/icoFsiFoam$ wmake make: Nothing to be done for `allFiles'. make: `Make/linuxGcc4DPOpt/dependencies' is up to date. SOURCE_DIR=tractionDisplacement SOURCE=tractionDisplacement/tractionDisplacementFvPatchVectorField.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/home/snail/OpenFOAM/OpenFOAM-1.3/src/dynamicFvMesh/lnInclude -I/home/snail/OpenFOAM/OpenFOAM-1.3/src/dynamicMesh/lnInclude -DFACE_DECOMP -I/home/snail/OpenFOAM/OpenFOAM-1.3/src/tetDecompositionFiniteElement/lnInclude -I/home/snail/OpenFOAM/OpenFOAM-1.3/src/tetDecompositionMotionSolver/lnInclude -I/home/snail/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/tractionDisplacementFvPatchVectorField.o tractionDisplacement/tractionDisplacementFvPatchVectorField.H:75: error: expected ',' or '...' before '<' token tractionDisplacement/tractionDisplacementFvPatchVectorField.H:76: error: ISO C++ forbids declaration of 'DimensionedField' with no type tractionDisplacement/tractionDisplacementFvPatchVectorField.H:82: error: expected ',' or '...' before '<' token tractionDisplacement/tractionDisplacementFvPatchVectorField.H:84: error: ISO C++ forbids declaration of 'DimensionedField' with no type tractionDisplacement/tractionDisplacementFvPatchVectorField.H:84: error: 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::fvPatch&, int)' cannot be overloaded tractionDisplacement/tractionDisplacementFvPatchVectorField.H:76: error: with 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::fvPatch&, int)' tractionDisplacement/tractionDisplacementFvPatchVectorField.H:92: error: expected ',' or '...' before '<' token tractionDisplacement/tractionDisplacementFvPatchVectorField.H:94: error: ISO C++ forbids declaration of 'DimensionedField' with no type tractionDisplacement/tractionDisplacementFvPatchVectorField.H:115: error: expected ',' or '...' before '<' token tractionDisplacement/tractionDisplacementFvPatchVectorField.H:116: error: ISO C++ forbids declaration of 'DimensionedField' with no type tractionDisplacement/tractionDisplacementFvPatchVectorField.H:121: error: expected ',' or '...' before '<' token tractionDisplacement/tractionDisplacementFvPatchVectorField.H:122: error: ISO C++ forbids declaration of 'DimensionedField' with no type tractionDisplacement/tractionDisplacementFvPatchVectorField.H: In member function 'virtual Foam::tmp<foam::fvpatchfield<foam::vector<double> > > Foam::tractionDisplacementFvPatchVectorField::clon e(int) const': tractionDisplacement/tractionDisplacementFvPatchVectorField.H:126: error: 'iF' was not declared in this scope tractionDisplacement/tractionDisplacementFvPatchVectorField.C: At global scope: tractionDisplacement/tractionDisplacementFvPatchVectorField.C:42: error: expected ',' or '...' before '<' token tractionDisplacement/tractionDisplacementFvPatchVectorField.C:43: error: ISO C++ forbids declaration of 'DimensionedField' with no type tractionDisplacement/tractionDisplacementFvPatchVectorField.C: In constructor 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::fvPatch&, int)': tractionDisplacement/tractionDisplacementFvPatchVectorField.C:45: error: 'iF' was not declared in this scope tractionDisplacement/tractionDisplacementFvPatchVectorField.C: At global scope: tractionDisplacement/tractionDisplacementFvPatchVectorField.C:59: error: expected ',' or '...' before '<' token tractionDisplacement/tractionDisplacementFvPatchVectorField.C:61: error: ISO C++ forbids declaration of 'DimensionedField' with no type tractionDisplacement/tractionDisplacementFvPatchVectorField.C: In constructor 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::tractionDisplacementFvPatchVectorField&, const Foam::fvPatch&, int)': tractionDisplacement/tractionDisplacementFvPatchVectorField.C:63: error: 'iF' was not declared in this scope tractionDisplacement/tractionDisplacementFvPatchVectorField.C:63: error: 'mapper' was not declared in this scope tractionDisplacement/tractionDisplacementFvPatchVectorField.C: At global scope: tractionDisplacement/tractionDisplacementFvPatchVectorField.C:73: error: expected ',' or '...' before '<' token tractionDisplacement/tractionDisplacementFvPatchVectorField.C:75: error: ISO C++ forbids declaration of 'DimensionedField' with no type tractionDisplacement/tractionDisplacementFvPatchVectorField.C:75: error: redefinition of 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::fvPatch&, int)' tractionDisplacement/tractionDisplacementFvPatchVectorField.C:43: error: 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::fvPatch&, int)' previously defined here tractionDisplacement/tractionDisplacementFvPatchVectorField.C: In constructor 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::fvPatch&, int)': tractionDisplacement/tractionDisplacementFvPatchVectorField.C:77: error: 'iF' was not declared in this scope tractionDisplacement/tractionDisplacementFvPatchVectorField.C:78: error: 'dict' was not declared in this scope tractionDisplacement/tractionDisplacementFvPatchVectorField.C: In copy constructor 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::tractionDisplacementFvPatchVectorField&)': tractionDisplacement/tractionDisplacementFvPatchVectorField.C:90: warning: base class 'class Foam::lduCoupledInterface' should be explicitly initialized in the copy constructor tractionDisplacement/tractionDisplacementFvPatchVectorField.C: At global scope: tractionDisplacement/tractionDisplacementFvPatchVectorField.C:102: error: expected ',' or '...' before '<' token tractionDisplacement/tractionDisplacementFvPatchVectorField.C:103: error: ISO C++ forbids declaration of 'DimensionedField' with no type tractionDisplacement/tractionDisplacementFvPatchVectorField.C: In constructor 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::tractionDisplacementFvPatchVectorField&, int)': tractionDisplacement/tractionDisplacementFvPatchVectorField.C:105: error: 'iF' was not declared in this scope tractionDisplacement/tractionDisplacementFvPatchVectorField.C: In member function 'virtual void Foam::tractionDisplacementFvPatchVectorField::upda teCoeffs()': tractionDisplacement/tractionDisplacementFvPatchVectorField.C:172: error: 'const class Foam::fvPatch' has no member named 'lookupPatchField' /home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvPatchField.H: In static member function 'static Foam::tmp<foam::fvpatchfield<type> > Foam::fvPatchField<type>::addpatchConstructorToTab le<fvpatchfieldtype>::New(cons t Foam::fvPatch&, const Foam::Field<type>&) [with fvPatchFieldType = Foam::tractionDisplacementFvPatchVectorField, Type = Foam::Vector<double>]': /home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvPatchField.H:108: instantiated from 'Foam::fvPatchField<type>::addpatchConstructorToTa ble<fvpatchfieldtype>::addpa tchConstructorToTable() [with fvPatchFieldType = Foam::tractionDisplacementFvPatchVectorField, Type = Foam::Vector<double>]' tractionDisplacement/tractionDisplacementFvPatchVectorField.C:197: instantiated from here /home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvPatchField.H:108: error: no matching function for call to 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::fvPatch&, const Foam::Field<foam::vector<double> >&)' tractionDisplacement/tractionDisplacementFvPatchVectorField.C:103: note: candidates are: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::tractionDisplacementFvPatchVectorField&, int) tractionDisplacement/tractionDisplacementFvPatchVectorField.C:90: note: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::tractionDisplacementFvPatchVectorField&) tractionDisplacement/tractionDisplacementFvPatchVectorField.C:61: note: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::tractionDisplacementFvPatchVectorField&, const Foam::fvPatch&, int) tractionDisplacement/tractionDisplacementFvPatchVectorField.C:43: note: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::fvPatch&, int) /home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvPatchField.H: In static member function 'static Foam::tmp<foam::fvpatchfield<type> > Foam::fvPatchField<type>::addpatchMapperConstructo rToTable<fvpatchfieldtype>::Ne w(const Foam::fvPatchField<type>&, const Foam::fvPatch&, const Foam::Field<type>&, const Foam::fvPatchFieldMapper&) [with fvPatchFieldType = Foam::tractionDisplacementFvPatchVectorField, Type = Foam::Vector<double>]': /home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvPatchField.H:117: instantiated from 'Foam::fvPatchField<type>::addpatchMapperConstruct orToTable<fvpatchfieldtype>: :addpatchMapperConstructorToTable() [with fvPatchFieldType = Foam::tractionDisplacementFvPatchVectorField, Type = Foam::Vector<double>]' tractionDisplacement/tractionDisplacementFvPatchVectorField.C:197: instantiated from here /home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvPatchField.H:117: error: no matching function for call to 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::tractionDisplacementFvPatchVectorField&, const Foam::fvPatch&, const Foam::Field<foam::vector<double> >&, const Foam::fvPatchFieldMapper&)' tractionDisplacement/tractionDisplacementFvPatchVectorField.C:103: note: candidates are: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::tractionDisplacementFvPatchVectorField&, int) tractionDisplacement/tractionDisplacementFvPatchVectorField.C:90: note: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::tractionDisplacementFvPatchVectorField&) tractionDisplacement/tractionDisplacementFvPatchVectorField.C:61: note: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::tractionDisplacementFvPatchVectorField&, const Foam::fvPatch&, int) tractionDisplacement/tractionDisplacementFvPatchVectorField.C:43: note: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::fvPatch&, int) /home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvPatchField.H: In static member function 'static Foam::tmp<foam::fvpatchfield<type> > Foam::fvPatchField<type>::adddictionaryConstructor ToTable<fvpatchfieldtype>::New (const Foam::fvPatch&, const Foam::Field<type>&, const Foam::dictionary&) [with fvPatchFieldType = Foam::tractionDisplacementFvPatchVectorField, Type = Foam::Vector<double>]': /home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvPatchField.H:131: instantiated from 'Foam::fvPatchField<type>::adddictionaryConstructo rToTable<fvpatchfieldtype>:: adddictionaryConstructorToTable() [with fvPatchFieldType = Foam::tractionDisplacementFvPatchVectorField, Type = Foam::Vector<double>]' tractionDisplacement/tractionDisplacementFvPatchVectorField.C:197: instantiated from here /home/snail/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/fvPatchField.H:131: error: no matching function for call to 'Foam::tractionDisplacementFvPatchVectorField::tra ctionDisplacementFvPatchVect orField(const Foam::fvPatch&, const Foam::Field<foam::vector<double> >&, const Foam::dictionary&)' tractionDisplacement/tractionDisplacementFvPatchVectorField.C:103: note: candidates are: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::tractionDisplacementFvPatchVectorField&, int) tractionDisplacement/tractionDisplacementFvPatchVectorField.C:90: note: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::tractionDisplacementFvPatchVectorField&) tractionDisplacement/tractionDisplacementFvPatchVectorField.C:61: note: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::tractionDisplacementFvPatchVectorField&, const Foam::fvPatch&, int) tractionDisplacement/tractionDisplacementFvPatchVectorField.C:43: note: Foam::tractionDisplacementFvPatchVectorField::trac tionDisplacementFvPatchVectorF ield(const Foam::fvPatch&, int) make: *** [Make/linuxGcc4DPOpt/tractionDisplacementFvPatchVectorField.o] Error 1 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help : UDF compling error? | Lincoln | FLUENT | 1 | January 13, 2010 14:30 |
Errors in running a icoFsiFoam case | jin_xu | OpenFOAM Pre-Processing | 0 | June 9, 2008 06:48 |
PROBLEM IN COMPLING IN UDF | ammi | CFX | 1 | December 5, 2006 23:43 |
RE: the explaination of Error while compling UDF | li li | FLUENT | 0 | October 24, 2003 00:47 |
Help!compling udf | lynn | FLUENT | 1 | August 6, 2003 08:02 |