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

[waves2Foam] Compling in OpenFOAM-v1912 faceSetToSTL fatal error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2020, 15:13
Default Compling in OpenFOAM-v1912 faceSetToSTL fatal error
  #1
New Member
 
Akram P A
Join Date: Apr 2020
Location: Kochi - India
Posts: 15
Rep Power: 5
simucentral is on a distinguished road
Hi Sir,

I was trying to compile waves2Foam in OpenFOAM-v1912. While compiling, I encountered the following error.

At first I noticed in the OceanWave3D compiling section,

src/initialization/Initialize.f90:48:18:

WRITE(fileop(1),*),'Error: Problem with specified input file.'
1
Warning: Legacy Extension: Comma before i/o item list at (1)


And in this section,

=====================================
COMPILE PRE-PROCESSING
=====================================
wmake faceSetToSTL
...
Making dependency list for source file faceSetToSTL.C
wmkdepend: could not open 'foamTime.H' for source file 'faceSetToSTL.C': No such file or directory
wmkdepend: could not open 'faceTriangulation.H' for source file 'faceSetToSTL.C': No such file or directory
wmkdepend: could not open 'triSurface.H' for source file 'faceSetToSTL.C': No such file or directory

faceSetToSTL.C:56:10: fatal error: faceTriangulation.H: No such file or directory
#include "faceTriangulation.H"
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/home/simucentral/OpenFOAM/OpenFOAM-v1912/wmake/rules/General/transform:34: recipe for target 'Make/linux64GccDPInt32Opt/faceSetToSTL.o' failed

And in the end, it showed this,

=====================================
COMPILE BREEDER
=====================================

Nothing available for compilation in the breeder
directory.


=====================================
COMPILATION DONE
=====================================

Is this normal? Do I have a successful completion of waves2Foam now?

Sorry, I am an absolute beginner.
Can you please enlighten me on this?

Can I make simulations on irregular waves using this version?

Thank you so much.
simucentral is offline   Reply With Quote

Old   April 11, 2020, 00:39
Default
  #2
New Member
 
Akram P A
Join Date: Apr 2020
Location: Kochi - India
Posts: 15
Rep Power: 5
simucentral is on a distinguished road
I tried to do the step again. This is the full log.


v1912

=====================================
ENVIRONMENTAL VARIABLES
=====================================
EXTBRANCH=0
FOAMEXTENDPROJECT=0
OFPLUSBRANCH=1
WAVES_APPBIN=/home/simucentral/OpenFOAM/simucentral-v1912/platforms/linux64GccDPInt32Opt/bin
WAVES_DIR=/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam
WAVES_GSL_INCLUDE=/usr/include
WAVES_GSL_LIB=/usr/lib64
WAVES_LIBBIN=/home/simucentral/OpenFOAM/simucentral-v1912/platforms/linux64GccDPInt32Opt/lib
WAVES_POST=/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam/applications/utilities/postProcessing
WAVES_PRE=/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam/applications/utilities/preProcessing
WAVES_SOL=/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam/applications/solvers/solvers1912_PLUS
WAVES_SRC=/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam/src
WAVES_TUT=/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam/tutorials
WAVES_UTIL=/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam/applications/utilities
WAVES_XVERSION=0
WM_PROJECT_VERSION_NUMBER=1912

=====================================
COMPILE LAPACK-3.3.1
=====================================

lapack-3.3.1 has already been compiled

=====================================
COMPILE SPARSKIT2
=====================================

SPARSKIT2 has already been compiled

=====================================
COMPILE OCEANWAVE3D
=====================================

Pull changes from the OceanWave3D git repository ...
Saved working directory and index state WIP on master: bb7d99e bug fix for calling OceanWave3D
Already up to date.
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)

modified: common.mk
modified: makefile

no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (7938bab451ff38c15143839641b4d8b763466cb0)

OceanWave3D has already been compiled

/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam/ThirdParty
=====================================
COMPILE FENTON4FOAM
=====================================

fenton4Foam has already been compiled

=====================================
COMPILE LIBRARY
=====================================
v1912
wmake libso (waves2Foam)
wmake libso (waves2FoamProcessing)
wmake libso (waves2FoamSamplingNew)
wmake libso (waves2FoamPorosity)

=====================================
COMPILE SOLVERS
=====================================

=====================================
COMPILE PRE-PROCESSING
=====================================
wmake faceSetToSTL
make[1]: Entering directory '/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam/applications/utilities/preProcessing/faceSetToSTL'
g++ -std=c++11 -m64 -DOPENFOAM=1912 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I/home/simucentral/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude -I/home/simucentral/OpenFOAM/OpenFOAM-v1912/src/triSurface/lnInclude -I/home/simucentral/OpenFOAM/OpenFOAM-v1912/src/finiteVolume/lnInclude -DOFVERSION=1912 -DEXTBRANCH=0 -IlnInclude -I. -I/home/simucentral/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude -I/home/simucentral/OpenFOAM/OpenFOAM-v1912/src/OSspecific/POSIX/lnInclude -fPIC -c faceSetToSTL.C -o Make/linux64GccDPInt32Opt/faceSetToSTL.o
faceSetToSTL.C:56:10: fatal error: faceTriangulation.H: No such file or directory
#include "faceTriangulation.H"
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/home/simucentral/OpenFOAM/OpenFOAM-v1912/wmake/rules/General/transform:34: recipe for target 'Make/linux64GccDPInt32Opt/faceSetToSTL.o' failed
make[1]: *** [Make/linux64GccDPInt32Opt/faceSetToSTL.o] Error 1
make[1]: Leaving directory '/home/simucentral/OpenFOAM/simucentral-v1912/applications/utilities/waves2Foam/applications/utilities/preProcessing/faceSetToSTL'
/home/simucentral/OpenFOAM/OpenFOAM-v1912/wmake/makefiles/apps:29: recipe for target 'faceSetToSTL' failed
make: *** [faceSetToSTL] Error 2

=====================================
COMPILE POST-PROCESSING
=====================================

=====================================
COMPILE BREEDER
=====================================

Nothing available for compilation in the breeder
directory.


=====================================
COMPILATION DONE
=====================================


Posting this update in the hope that it will provide more info.
simucentral is offline   Reply With Quote

Old   April 26, 2020, 06:17
Default
  #3
New Member
 
Akram P A
Join Date: Apr 2020
Location: Kochi - India
Posts: 15
Rep Power: 5
simucentral is on a distinguished road
With this setup, I tried to run the 3DWave tutorial problem. However, I couldn't run the case. In the log.faceSet and the subsequent log files, it says..

/home/simucentral/OpenFOAM/OpenFOAM-v1912/bin/tools/RunFunctions: line 228: faceSet: command not found

Any advice on how to proceed?
simucentral is offline   Reply With Quote

Old   April 26, 2020, 15:27
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hallo,


I just tried compiling under 1912 with a clean check-out from the repository. It compiled without any problems.


The missing faceSet is due to a obsolete functionality in OpenFoam. Please adjust by using topoSet instead.


Kind regards


Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   April 27, 2020, 17:43
Smile
  #5
New Member
 
Akram P A
Join Date: Apr 2020
Location: Kochi - India
Posts: 15
Rep Power: 5
simucentral is on a distinguished road
Hi Niels,

Thank you so much for your quick response.

As advised, I did a clean up and did a fresh check out and compiled again. I ran the 3Dwaves tutorial problem again. The faceSet showed the same error.

However, the waveFoam completed the run. This is the first look.



I will try with topoSet instead of faceSet, then I will need the topoSetDict.I will have to study more to get that right.

I was going to compile v1812 actually.

Thank you Niels.

Warm Regards,
Akram
Attached Images
File Type: png 3Dwaves_01.png (43.7 KB, 0 views)
simucentral is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 15:24
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 07:35
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 06:34
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 14:25.