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

undefined reference to function. Contact Angle

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2020, 06:03
Post undefined reference to function. Contact Angle
  #1
Member
 
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15
frantov is on a distinguished road
Hi


Im trying to define the contact angle using Kistler function on OF7
This has been done before on OF 1.4 here.



After a few modifications, the library compiles well by itself, this involved the use of RiddersRoot library and a modification of the dynamicContactAngle definition.



When I tried to compile the new InterFoam Solver, I get this errors:


undefined reference to

`Foam::RiddersRoot<Foam::dynamicKistlerAlphaContac tAngleFvPatchScalarField::InverseHoffmanFunction>: :root(double, double) const'
/usr/bin/ld.bfd: fran-7/platforms/linux64GccDPInt32Opt/lib/libDynamicKistlerContactAngle.so:

undefined reference to `Foam::RiddersRoot<Foam::dynamicKistlerAlphaContac tAngleFvPatchScalarField::InverseHoffmanFunction>: :RiddersRoot(Foam::dynamicKistlerAlphaContactAngle FvPatchScalarField::InverseHoffmanFunction const&, double)'
collect2: error: ld returned 1 exit status




Any help will be appreciated.

Fran
frantov is offline   Reply With Quote

Old   August 27, 2020, 19:55
Default
  #2
Member
 
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15
frantov is on a distinguished road
I solved my problem.

I removed the link to the library in the options file, and instead, add it in the controlDict file
frantov is offline   Reply With Quote

Reply

Tags
dynamic contact angle, undefined reference to


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
[OpenFOAM.org] --showme errors ramcdougal OpenFOAM Installation 19 July 7, 2020 05:46
LEMOS InflowGenerator r_gordon OpenFOAM Running, Solving & CFD 103 December 18, 2018 01:58
problem with turbulence models after compilation? lfgmarc OpenFOAM Programming & Development 19 November 20, 2013 01:50
OF211: ThirdParty and /src compiled, but not /applications... vkrastev OpenFOAM Installation 8 October 18, 2012 16:53
compile error about FJMPI chiven OpenFOAM Installation 11 March 31, 2010 07:27


All times are GMT -4. The time now is 04:42.