|
[Sponsors] |
OpenFOAM141dev A new implementation of dynamicKistlerGammaContactAngle |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 24, 2016, 16:45 |
OpenFOAM dynamicKistlerGammaContactAngle
|
#21 |
Member
Anastasios
Join Date: Mar 2009
Posts: 34
Rep Power: 17 |
Dear Kmou
I did it for version 2.2.1 and i get the following error: dynamicKistlerAlphaContactAngleFvPatchScalarField. C:167:61: error: no matching function for call to ‘Foam::fvPatch::lookupPatchField(const Foam::word&) const’ alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:167:61: note: candidate is: /opt/openfoam221/src/finiteVolume/lnInclude/fvPatch.H:259:60: note: template<class GeometricField, class Type> const typename GeometricField::PatchFieldType& Foam::fvPatch::lookupPatchField(const Foam::word&, const GeometricField*, const Type*) const alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:170:64: error: no matching function for call to ‘Foam::fvPatch::lookupPatchField(const Foam::word&) const’ alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:170:64: note: candidate is: /opt/openfoam221/src/finiteVolume/lnInclude/fvPatch.H:259:60: note: template<class GeometricField, class Type> const typename GeometricField::PatchFieldType& Foam::fvPatch::lookupPatchField(const Foam::word&, const GeometricField*, const Type*) const make: *** [Make/linux64GccDPOpt/dynamicKistlerAlphaContactAngleFvPatchScalarField. o] Error 1 The error points to the following lines of the dynamicKistlerAlphaContactAngle.C file: const fvPatchField<scalar>& mup = patch().lookupPatchField<volScalarField, scalar>(muName_); ////HERE const fvPatchField<scalar>& sigmap = patch().lookupPatchField<volScalarField, scalar>(sigmaName_); ////HERE could you please advise me what could be wrong? Thanks in advance Ageorg |
|
March 24, 2016, 16:53 |
OpenFOAM dynamicKistlerGammaContactAngle
|
#22 |
Member
Anastasios
Join Date: Mar 2009
Posts: 34
Rep Power: 17 |
Dear Kmou
I did the translation to v. 2.2.1 and after compilation I get the following errors: alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C: In member function ‘virtual Foam::tmp<Foam::Field<double> > Foam::dynamicKistlerAlphaContactAngleFvPatchScalar Field::theta(const fvPatchVectorField&, const fvsPatchVectorField&) const’: alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:167:61: error: no matching function for call to ‘Foam::fvPatch::lookupPatchField(const Foam::word&) const’ alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:167:61: note: candidate is: /opt/openfoam221/src/finiteVolume/lnInclude/fvPatch.H:259:60: note: template<class GeometricField, class Type> const typename GeometricField::PatchFieldType& Foam::fvPatch::lookupPatchField(const Foam::word&, const GeometricField*, const Type*) const alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:170:64: error: no matching function for call to ‘Foam::fvPatch::lookupPatchField(const Foam::word&) const’ alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:170:64: note: candidate is: /opt/openfoam221/src/finiteVolume/lnInclude/fvPatch.H:259:60: note: template<class GeometricField, class Type> const typename GeometricField::PatchFieldType& Foam::fvPatch::lookupPatchField(const Foam::word&, const GeometricField*, const Type*) const make: *** [Make/linux64GccDPOpt/dynamicKistlerAlphaContactAngleFvPatchScalarField. o] Error 1 The error messages point to the following lines in the dynamicKistlerAlphaContactAngleFvPatchScalarField. C file: const fvPatchField<scalar>& mup = patch().lookupPatchField<volScalarField, scalar>(muName_); const fvPatchField<scalar>& sigmap = patch().lookupPatchField<volScalarField, scalar>(sigmaName_); I would appreciate any help if you have encountered this error before in your case Thank you very much in advance, Ageorg |
|
March 24, 2016, 17:02 |
|
#23 |
Member
Anastasios
Join Date: Mar 2009
Posts: 34
Rep Power: 17 |
I did the same in OpenFOAM 2.2.1 and i get the following compilation error :
alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C: In member function ‘virtual Foam::tmp<Foam::Field<double> > Foam::dynamicKistlerAlphaContactAngleFvPatchScalar Field::theta(const fvPatchVectorField&, const fvsPatchVectorField&) const’: alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:167:61: error: no matching function for call to ‘Foam::fvPatch::lookupPatchField(const Foam::word&) const’ alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:167:61: note: candidate is: /opt/openfoam221/src/finiteVolume/lnInclude/fvPatch.H:259:60: note: template<class GeometricField, class Type> const typename GeometricField::PatchFieldType& Foam::fvPatch::lookupPatchField(const Foam::word&, const GeometricField*, const Type*) const alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:170:64: error: no matching function for call to ‘Foam::fvPatch::lookupPatchField(const Foam::word&) const’ alphaContactAngle/dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:170:64: note: candidate is: /opt/openfoam221/src/finiteVolume/lnInclude/fvPatch.H:259:60: note: template<class GeometricField, class Type> const typename GeometricField::PatchFieldType& Foam::fvPatch::lookupPatchField(const Foam::word&, const GeometricField*, const Type*) const make: *** [Make/linux64GccDPOpt/dynamicKistlerAlphaContactAngleFvPatchScalarField. o] Error 1 The error points in the following lines of code: const fvPatchField<scalar>& mup = patch().lookupPatchField<volScalarField, scalar>(muName_); const fvPatchField<scalar>& sigmap = patch().lookupPatchField<volScalarField, scalar>(sigmaName_); Any help is appreciated Thank you in Advance |
|
March 30, 2016, 20:57 |
Quick fix
|
#24 |
Member
Mahmoud Aboukhedr
Join Date: Feb 2014
Location: London
Posts: 40
Rep Power: 12 |
Hello,
Am posting my partial fix again in case its not clear, You can try removing this 4 lines Code:
const fvPatchField<scalar>& mup = patch().lookupPatchField<volScalarField, scalar>(muName_); const fvPatchField<scalar>& sigmap = patch().lookupPatchField<volScalarField, scalar>(sigmaName_); Code:
const fvMesh& mesh = patch().boundaryMesh().mesh(); const scalarField& mup = mesh.lookupObject<scalarField>("muName_"); const scalarField& sigmap = mesh.lookupObject<scalarField>("sigmaName_"); It compiles fine with 2.3x, so i will say it should be fine with 2.2.1 |
|
July 21, 2018, 02:22 |
|
#25 |
New Member
Rajesh Singh
Join Date: Jun 2010
Posts: 15
Rep Power: 16 |
Hi,
I was able to compile the code and libsrary created in the foam_user_appbin. I also added the following line in the controldict: libs ( "libDynamicKistlerContactAngle.so" ); but while initializing the solution, I got following errors. --> FOAM Warning : From function dlOpen(const fileName&, const bool) in file POSIX.C at line 1179 dlopen error : /people/sing956/OpenFOAM/sing956-2.4.0/platforms/linux64GccDPOpt/lib/libDynamicKistlerContactAngle.so: undefined symbol: _ZN4Foam49dynamicKistlerAlphaContactAngleFvPatchSc alarField6theta0E --> FOAM Warning : From function dlLibraryTable:pen(const fileName&, const bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99 could not load "libDynamicKistlerContactAngle.so" Help for resolving this issue would be appreciated. Thanks in advance Thanks |
|
August 15, 2018, 15:56 |
|
#26 |
New Member
Adi
Join Date: Apr 2018
Posts: 2
Rep Power: 0 |
has anyone installed kistler contact angle in openfoam 5?
|
|
June 10, 2021, 05:08 |
|
#27 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Thanks for sharing your code. This is a solver, isn't it? How can I have it as a boundary condition for using as a dynamic CA for other solvers? You mentioned that "It should be put into transportModels/interfaceProperties/gammaContactAngle/dynamicKistlerGammaContactAngle", If it is a solver, why should be placed in that address? It seems that must be in application/solver. thank you! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing OpenFoam141dev vtk errors | cvv | OpenFOAM Installation | 0 | February 11, 2009 03:54 |
SpaceVaryingGammaContactAngle in OpenFOAM141dev | asaha | OpenFOAM Running, Solving & CFD | 0 | January 23, 2009 11:16 |
OpenFOAM141dev linking error on IBM AIX 52 | matthias | OpenFOAM Installation | 24 | April 28, 2008 16:49 |
Sample utility problem in OpenFOAM141dev | 7islands | OpenFOAM Bugs | 1 | January 4, 2008 09:34 |
CoupledFvScalarMatrix in OpenFOAM141dev | oleg_weinstein | OpenFOAM Installation | 6 | December 13, 2007 14:16 |