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

[waves2Foam] OpenFOAM 2.4.0: multiple problems sometime after installing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2016, 10:34
Default OpenFOAM 2.4.0: multiple problems sometime after installing
  #1
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
Hi there,

I'm having sort of a weird problem using the surfaceElevation function type..

First of all, I have been using this successfully for months and have not changed my set-up. The problem is, I am running waveFoam on a cluster and when I try to use function objects, I get the error

Code:
--> FOAM FATAL ERROR: 
Unknown function type surfaceElevation

Valid functions are : 

4
(
patchProbes
probes
sets
surfaces
)



    From function functionObject::New(const word& name, const Time&, const dictionary&)
    in file db/functionObjects/functionObject/functionObject.C at line 92.

FOAM exiting
I'm baffled because all of the other waveFoam functions seem to be working well and when I compiled it, all appeared to go smoothly.

Note: I am running waveGuagesNProbes first and this does work on my own system.

Anyone have this problem before?
I am using OF 2.4.0.


Thanks in advance!
arieljeds is offline   Reply With Quote

Old   July 5, 2016, 06:40
Default Ack! Interfoam stopped working - symbol lookup error?
  #2
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
Hi everyone,

I've been using interfoam for months now and I just tried to run a code with it and I got this error:

interFoam: symbol lookup error: /home/ariel/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so: undefined symbol: _ZTIN4Foam14incompressible8RASModelE

Where is this coming from?? I was working through a tutorial to create my own kEpsilon RAS model... could this have messed this up? I don't know how I managed to do that though because I didn't go into the lib folder at all and definitely not for interFoam.. I have no idea where to start looking for the problem and dont' want to mess anything else up!

Huge huge thank you in advance for any advice on this stupid error
arieljeds is offline   Reply With Quote

Old   July 5, 2016, 14:58
Default interFoam symbol lookup error??
  #3
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
Hi there, I've done something very frustrating with the interFoam solver, or possibly the incompressibleRASModel library.. I'm getting this error when I try to use interFoam:

Code:
interFoam: symbol lookup error:  /home/ariel/OpenFOAM/ariel-2.4.0/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so:  undefined symbol: _ZTIN4Foam14incompressible8RASModelE
I tried making my own turbulence model and realised that I accidentally saved it with the same name in the same library as the current incompressibleRASModel. I fixed this in the Make/files code (new line: LIB = $(FOAM_USER_LIBBIN)/libmyIncompressibleRASModels) and then did

Code:
wmake libso
And all compiled correctly. Following that, I went back into the original turbulenceModels/incompressible/RAS directory and did:

Code:
wclean RAS
wmake libso RAS
Which seemed to go ok, and then finally I tried to recompile interFoam with Allwmake, which appears to go ok as well. I'm getting so frustrated, I can't see where the error is coming from after these steps!! Can anyone help me please??
arieljeds is offline   Reply With Quote

Old   August 10, 2017, 08:39
Default
  #4
Member
 
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 9
vcvedant is an unknown quantity at this point
Were you able to fix this problem?
I did something and now am unable to fix it.
vcvedant is offline   Reply With Quote

Old   August 10, 2017, 09:36
Default
  #5
Member
 
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 9
vcvedant is an unknown quantity at this point
Were you able to solve this? I face the similar problem.
vcvedant is offline   Reply With Quote

Old   February 10, 2020, 09:01
Default
  #6
New Member
 
Arun Kumar
Join Date: Sep 2019
Location: Dundee, Scotland
Posts: 15
Rep Power: 6
AR91 is on a distinguished road
Quote:
Originally Posted by arieljeds View Post
Hi there,

I'm having sort of a weird problem using the surfaceElevation function type..

First of all, I have been using this successfully for months and have not changed my set-up. The problem is, I am running waveFoam on a cluster and when I try to use function objects, I get the error

Code:
--> FOAM FATAL ERROR: 
Unknown function type surfaceElevation

Valid functions are : 

4
(
patchProbes
probes
sets
surfaces
)



    From function functionObject::New(const word& name, const Time&, const dictionary&)
    in file db/functionObjects/functionObject/functionObject.C at line 92.

FOAM exiting
I'm baffled because all of the other waveFoam functions seem to be working well and when I compiled it, all appeared to go smoothly.

Note: I am running waveGuagesNProbes first and this does work on my own system.

Anyone have this problem before?
I am using OF 2.4.0.


Thanks in advance!
Hello,
I am also facing this same error when I try to run my program on the cluster.
Did you happen to find a solution?
Thanks,
Arun.
AR91 is offline   Reply With Quote

Old   February 12, 2020, 02:17
Default
  #7
New Member
 
renos
Join Date: Dec 2019
Posts: 16
Rep Power: 6
renos is on a distinguished road
Dear Pablo,

I am trying to simulate wave breaking in a monopile using OlaFlow. I am using the library libforces.so provided by OpenFoam but a have a lot of difference in the magnitude of Force. All the other things (mesh / boundary conditions is the same ). Below is the function that I am using in the controlDict file. Also the diameter of the monopile is D=0.7 m / H=1.3 / T = 4.0s / d=3.8 m. What is going wrong ?

forceCylinder
{
type forces ;
libs ("libforces.so");
enabled true;
patches ("cylinder");
pName p;
UName U;
rho rhoInf;
rhoInf 1;
CofR (0 0 0);
log true;
writeControl timeStep;
writeInterval 1;
}

Thanks you very much for your time,

Kind regards

Renos
renos is offline   Reply With Quote

Reply


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 v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
Problems compiling custom interPhaseChangeFoam with OpenFOAM 2.4.0 abdoli OpenFOAM Programming & Development 1 October 6, 2016 08:46
[OpenFOAM.org] Problems installing OpenFOAM 2.3.0 on CentOS-6.6-x86-64 Milan2013 OpenFOAM Installation 24 November 28, 2015 15:05
[OpenFOAM.org] Problems installing OpenFOAM 2.3.0 on Ubuntu 12.04 arieljeds OpenFOAM Installation 6 August 19, 2015 07:39
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55


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