CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

[solids4Foam] solids4foam with waves2foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2021, 10:07
Post solids4foam with waves2foam
  #1
New Member
 
Join Date: Jun 2021
Posts: 7
Rep Power: 4
Elstro is on a distinguished road
Hello,

I have successfully installed the solids4foam-toolbox with foam extend 4.0 on Ubuntu 18.04. Normal FSI tutorials work without errors.

Now I am trying to add the waves2foam-toolbox to simulate some waves und running the FSI tutorial 'wavesOnDam'. The tutorial was running till 0.06 s...
In the log.setWaveField.fluid was the following error message:

Code:
/home/.../foam/foam-extend-4.0/bin/tools/RunFunctions: line 55: setWaveField: command not found
When installing waves2foam I get the following attached error. It's the same error as in the log file.

Code:
=====================================
    COMPILE PRE-PROCESSING
=====================================
make[1]: '/home/.../foam/.../applications/bin/linux64GccDPOpt/faceSetToSTL' is up to date.
make[1]: '/home/.../foam/.../applications/bin/linux64GccDPOpt/setWaveParameters' is up to date.
make[1]: '/home/.../foam/.../applications/bin/linux64GccDPOpt/waveGaugesNProbes' is up to date.
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-200 -I/home/.../foam/foam-extend-4.0/src/meshTools/lnInclude     -I/home/.../foam/foam-extend-4.0/src/finiteVolume/lnInclude     -DOFVERSION=400     -DEXTBRANCH=1     -I/home/.../foam/.../applications/utilities/waves2Foam/src/waves2Foam/lnInclude     -I/usr/include -IlnInclude -I. -I/home/.../foam/foam-extend-4.0/src/foam/lnInclude -I/home/.../foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/setWaveField.o -L/home/.../foam/foam-extend-4.0/lib/linux64GccDPOpt \
     -lfiniteVolume     -L/home/.../foam/.../lib/linux64GccDPOpt     -lwaves2Foam     -lwaves2FoamGABC     -L/usr/lib64     -lgsl     -lgslcblas -lfoam -ldl   -lrt -lm -o /home/.../foam/.../applications/bin/linux64GccDPOpt/setWaveField
SOURCE=sampleIncidentWaveField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-200 -I/home/.../foam/foam-extend-4.0/src/meshTools/lnInclude     -I/home/.../foam/foam-extend-4.0/src/finiteVolume/lnInclude     -DOFVERSION=400     -DEXTBRANCH=1     -I/home/.../foam/.../applications/utilities/waves2Foam/src/waves2Foam/lnInclude     -I/home/.../foam/.../applications/utilities/waves2Foam/src/waves2FoamProcessing/lnInclude     -I/usr/include -IlnInclude -I. -I/home/.../foam/foam-extend-4.0/src/foam/lnInclude -I/home/.../foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/sampleIncidentWaveField.o
make[1]: '/home/.../foam/.../applications/bin/linux64GccDPOpt/relaxationZoneLayout' is up to date.
sampleIncidentWaveField.C:37:10: fatal error: Time.H: No such file or directory
 #include "Time.H"
          ^~~~~~~~
compilation terminated.
sampleIncidentWaveField.dep:702: recipe for target 'Make/linux64GccDPOpt/sampleIncidentWaveField.o' failed
make[1]: *** [Make/linux64GccDPOpt/sampleIncidentWaveField.o] Error 1
make[1]: Target '/home/.../foam/.../applications/bin/linux64GccDPOpt/sampleIncidentWaveField' not remade because of errors.
/home/.../foam/foam-extend-4.0/wmake/MakefileApps:39: recipe for target 'sampleIncidentWaveField' failed
make: *** [sampleIncidentWaveField] Error 2
/usr/bin/ld: cannot find -lwaves2FoamGABC
collect2: error: ld returned 1 exit status
/home/.../foam/foam-extend-4.0/wmake/Makefile:159: recipe for target '/home/.../foam/.../applications/bin/linux64GccDPOpt/setWaveField' failed
make[1]: *** [/home/.../foam/.../applications/bin/linux64GccDPOpt/setWaveField] Error 1
/home/.../foam/foam-extend-4.0/wmake/MakefileApps:39: recipe for target 'setWaveField' failed
make: *** [setWaveField] Error 2
make: Target 'application' not remade because of errors.
I don't know how to fix it. I would be very grateful for help.

Thank you!
Elstro is offline   Reply With Quote

Old   July 8, 2021, 11:18
Default
  #2
New Member
 
Join Date: Jun 2021
Posts: 7
Rep Power: 4
Elstro is on a distinguished road
I have additionally attached my log file with the error message.
Attached Files
File Type: txt log_file.txt (6.1 KB, 2 views)
Elstro 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
[waves2Foam] installing waves2foam into OpenFoam 6 madgeogr OpenFOAM Community Contributions 1 June 15, 2021 11:17
[waves2Foam] waves2Foam compatible with IHFoam [v. 2012] ngj OpenFOAM Community Contributions 4 April 24, 2021 07:43
From fsiFoam to solids4Foam paulbr OpenFOAM CC Toolkits for Fluid-Structure Interaction 7 December 9, 2019 07:29
[FSI] solids4Foam vs icoFsiElasticNonLinULSolidFoam on HPC server amuzeshi OpenFOAM CC Toolkits for Fluid-Structure Interaction 7 August 31, 2019 05:26
[waves2Foam] Couple waves2foam with dynamic mesh vasava OpenFOAM Community Contributions 2 April 8, 2014 01:17


All times are GMT -4. The time now is 16:37.