CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   SpaceVaryingGammaContactAngle in OpenFOAM141dev (https://www.cfd-online.com/Forums/openfoam-solving/58061-spacevaryinggammacontactangle-openfoam141dev.html)

asaha January 23, 2009 10:16

Hello All, While compiling
 
Hello All,

While compiling spaceVaryingGammaContactAngle in OpenFOAM-1.4.1-dev I get the following error. Is this a know issue. I would appreciate help on this.

--------------------------------------------------
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.C: In constructor 'Foam::spaceVaryingGammaContactAngleFvPatchScalarF ield::spaceVaryingGammaConta ctAngleFvPatchScalarField(const Foam::fvPatch&, const Foam::scalarField&, const Foam::dictionary&)':
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.C:73: error: no matching function for call to 'Foam::gammaContactAngleFvPatchScalarField::gammaC ontactAngleFvPatchScalarFiel d(const Foam::fvPatch&, const Foam::Field<double>&)'
lnInclude/gammaContactAngleFvPatchScalarField.H:102: note: candidates are: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::gammaContactAngleFvPatchScalarField&, const Foam::DimensionedField<double,>&)
lnInclude/gammaContactAngleFvPatchScalarField.H:95: note: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::gammaContactAngleFvPatchScalarField&)
lnInclude/gammaContactAngleFvPatchScalarField.H:89: note: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::gammaContactAngleFvPatchScalarField&, const Foam::fvPatch&, const Foam::DimensionedField<double,>&, const Foam::fvPatchFieldMapper&)
lnInclude/gammaContactAngleFvPatchScalarField.H:79: note: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::fvPatch&, const Foam::DimensionedField<double,>&, const Foam::dictionary&)
lnInclude/gammaContactAngleFvPatchScalarField.H:71: note: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::fvPatch&, const Foam::DimensionedField<double,>&)
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.C: In constructor 'Foam::spaceVaryingGammaContactAngleFvPatchScalarF ield::spaceVaryingGammaConta ctAngleFvPatchScalarField(const Foam::spaceVaryingGammaContactAngleFvPatchScalarFi eld&, const Foam::scalarField&)':
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.C:98: error: no matching function for call to 'Foam::gammaContactAngleFvPatchScalarField::gammaC ontactAngleFvPatchScalarFiel d(const Foam::spaceVaryingGammaContactAngleFvPatchScalarFi eld&, const Foam::Field<double>&)'
lnInclude/gammaContactAngleFvPatchScalarField.H:102: note: candidates are: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::gammaContactAngleFvPatchScalarField&, const Foam::DimensionedField<double,>&)
lnInclude/gammaContactAngleFvPatchScalarField.H:95: note: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::gammaContactAngleFvPatchScalarField&)
lnInclude/gammaContactAngleFvPatchScalarField.H:89: note: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::gammaContactAngleFvPatchScalarField&, const Foam::fvPatch&, const Foam::DimensionedField<double,>&, const Foam::fvPatchFieldMapper&)
lnInclude/gammaContactAngleFvPatchScalarField.H:79: note: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::fvPatch&, const Foam::DimensionedField<double,>&, const Foam::dictionary&)
lnInclude/gammaContactAngleFvPatchScalarField.H:71: note: Foam::gammaContactAngleFvPatchScalarField::gammaCo ntactAngleFvPatchScalarField(c onst Foam::fvPatch&, const Foam::DimensionedField<double,>&)
/home/asaha/OpenFOAM/OpenFOAM-1.4.1-dev/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::DimensionedField<type,>&) [with fvPatchFieldType = Foam::spaceVaryingGammaContactAngleFvPatchScalarFi eld, Type = double]':
/home/asaha/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/fvPatchField. H:106: instantiated from 'Foam::fvPatchField<type>::addpatchConstructorToTa ble<fvpatchfieldtype>::addpa tchConstructorToTable(const Foam::word&) [with fvPatchFieldType = Foam::spaceVaryingGammaContactAngleFvPatchScalarFi eld, Type = double]'
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.C:151: instantiated from here
/home/asaha/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/fvPatchField. H:106: error: cannot allocate an object of abstract type 'Foam::spaceVaryingGammaContactAngleFvPatchScalarF ield'
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.H:53: note: since type 'Foam::spaceVaryingGammaContactAngleFvPatchScalarF ield' has pure virtual functions
/home/asaha/OpenFOAM/OpenFOAM-1.4.1-dev/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::DimensionedField<type,>&, const Foam::fvPatchFieldMapper&) [with fvPatchFieldType = Foam::spaceVaryingGammaContactAngleFvPatchScalarFi eld, Type = double]':
/home/asaha/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/fvPatchField. H:118: instantiated from 'Foam::fvPatchField<type>::addpatchMapperConstruct orToTable<fvpatchfieldtype>: :addpatchMapperConstructorToTable(const Foam::word&) [with fvPatchFieldType = Foam::spaceVaryingGammaContactAngleFvPatchScalarFi eld, Type = double]'
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.C:151: instantiated from here
/home/asaha/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/fvPatchField. H:118: error: cannot allocate an object of abstract type 'Foam::spaceVaryingGammaContactAngleFvPatchScalarF ield'
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.H:53: note: since type 'Foam::spaceVaryingGammaContactAngleFvPatchScalarF ield' has pure virtual functions
/home/asaha/OpenFOAM/OpenFOAM-1.4.1-dev/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::DimensionedField<type,>&, const Foam::dictionary&) [with fvPatchFieldType = Foam::spaceVaryingGammaContactAngleFvPatchScalarFi eld, Type = double]':
/home/asaha/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/fvPatchField. H:132: instantiated from 'Foam::fvPatchField<type>::adddictionaryConstructo rToTable<fvpatchfieldtype>:: adddictionaryConstructorToTable(const Foam::word&) [with fvPatchFieldType = Foam::spaceVaryingGammaContactAngleFvPatchScalarFi eld, Type = double]'
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.C:151: instantiated from here
/home/asaha/OpenFOAM/OpenFOAM-1.4.1-dev/src/finiteVolume/lnInclude/fvPatchField. H:132: error: cannot allocate an object of abstract type 'Foam::spaceVaryingGammaContactAngleFvPatchScalarF ield'
gammaContactAngle/spaceVaryingGammaContactAngle/spaceVaryingGammaContactAngleFvP atchScalarField.H:53: note: since type 'Foam::spaceVaryingGammaContactAngleFvPatchScalarF ield' has pure virtual functions
make: *** [Make/linuxGccDPOpt/spaceVaryingGammaContactAngleFvPatchScalarField.o] Error 1
make: *** Waiting for unfinished jobs....
--------------------------------------------------

Thanks and regards,

A A Saha.


All times are GMT -4. The time now is 09:47.