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

[foam-extend.org] Problems compiling foam-extend-4.0 + fsiFoam on Ubuntu+WSL

Register Blogs Community New Posts Updated Threads Search

Like Tree18Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2019, 16:40
Default
  #41
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answers @singh500:
  1. In the "log.make_summary" file, it indicates that the rule folder "linux64Gcc63" does not exist. My guess is that you did not start the command line with a clean shell environment and instead had another version of OpenFOAM activated in the shell. See the instructions given here: https://openfoamwiki.net/index.php/I...nFOAM_versions
  2. The problems with building the 3rd-party packages is due to a bug with using the RPM build/packaging system on WSL... which specific Ubuntu version are you using in WSL and which specific installation instructions for foam-extend are you following?
__________________
wyldckat is offline   Reply With Quote

Old   August 27, 2019, 01:08
Default
  #42
New Member
 
Kushagra
Join Date: Aug 2019
Posts: 3
Rep Power: 6
singh500 is on a distinguished road
Yes, I had OpenFOAM v1906 as well, open at the same time in a different window. I will follow the link you shared and see how it helps.

The instructions I am following is same as what you shared in this thread. I have attached for you reference. Thank you very much.

I am using Ubuntu 16.04 in WSL.
Attached Files
File Type: txt foam-extend4 installation.txt (1.9 KB, 22 views)
wyldckat likes this.

Last edited by singh500; August 27, 2019 at 10:50. Reason: Forgot to mention Ubuntu version
singh500 is offline   Reply With Quote

Old   August 27, 2019, 14:16
Default
  #43
New Member
 
Kushagra
Join Date: Aug 2019
Posts: 3
Rep Power: 6
singh500 is on a distinguished road
Hi Bruno,

I used the instructions indicated by now and my problem is fixed now. I have run cavity tutorial which works fine and trying out FSI now.

Thanks.
wyldckat likes this.
singh500 is offline   Reply With Quote

Old   September 17, 2019, 13:29
Default descomposePar solid problem
  #44
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 117
Rep Power: 10
dewey is on a distinguished road
Hello,


I have a problem, I hope some one can help me.


I am trying to do a FSI simulation. I create a Mesh for the fluid and use the utility extrudeMesh to get the solid Mesh. When I run my case in series I dont have problem.
But when I try to run my case in parallel, and use the decomposePar utility for the solid region I get this error, and when I descompose the fluid region doesnt have problem.







Code:
 Decomposing mesh solid

Create time

Time = 0
Create mesh for region solid

Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0.02 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Calculating processor boundary addressing

Distributing points to processors

Constructing processor meshes
Violación de segmento (`core' generado)
dewey is offline   Reply With Quote

Old   September 27, 2019, 11:09
Default
  #45
Senior Member
 
Ali Shayegh
Join Date: Oct 2015
Posts: 130
Rep Power: 10
amuzeshi is on a distinguished road
I don't think it is that hard to update foam-extend 4.0 repository so that, in Third-party compilation section, we have the latest version of paraview to be compiled rather than paraview 4.4.0. Any idea?
amuzeshi is offline   Reply With Quote

Old   September 27, 2019, 23:16
Default
  #46
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
Quote:
Originally Posted by amuzeshi View Post
I don't think it is that hard to update foam-extend 4.0 repository so that, in Third-party compilation section, we have the latest version of paraview to be compiled rather than paraview 4.4.0. Any idea?
Is there any special reason why you don't want to update to the nextRelease branch?
I think it uses Paraview 5.5.2

If you don't want to update, then it is not that hard:

1- Update the corresponding scripts to download, compile and run the latest paraview.
2- Update the PVReader of foam-extend-4.0 to work with the latest paraview.

The easiest way would be to look into the nextRelease branch of foam-extend-4.0 project for the needed changes!
amuzeshi likes this.
Daniel_Khazaei is offline   Reply With Quote

Old   November 20, 2019, 08:21
Unhappy Same output for fsiFoam 3dTube
  #47
New Member
 
anaspauzi's Avatar
 
Anas Muhamad Pauzi
Join Date: Nov 2019
Posts: 16
Rep Power: 6
anaspauzi is on a distinguished road
Hi,

I'm having the same output as yours. I don't think to have any problem in the installation of my foam-extend, since I've ran most built in tutorials smoothly.

Can anyone help? My output is exactly as below. Running paraFoam on the 3dTube case would show no flow or deflection



Thank you



Quote:
Originally Posted by JBrake View Post
I have read dozens of threads on this, but cannot find a fix to get any of the three tutorials to run in fsiFoam on foam-extend-4.0.

For example, after following the intructions here (https://openfoamwiki.net/index.php/E...oam-extend_3.0) to run the tutorial HronTurekFsi3, I get the following output:


Code:
Running blockMesh on /home/jbrakefi/foam/jbrakefi-4.0/FluidSolidInteraction/run/fsiFoam/HronTurekFsi3/fluid
Running setSet on /home/jbrakefi/foam/jbrakefi-4.0/FluidSolidInteraction/run/fsiFoam/HronTurekFsi3/fluid
Running setsToZones on /home/jbrakefi/foam/jbrakefi-4.0/FluidSolidInteraction/run/fsiFoam/HronTurekFsi3/fluid
Running blockMesh on /home/jbrakefi/foam/jbrakefi-4.0/FluidSolidInteraction/run/fsiFoam/HronTurekFsi3/fluid
Running setSet on /home/jbrakefi/foam/jbrakefi-4.0/FluidSolidInteraction/run/fsiFoam/HronTurekFsi3/fluid
Running setsToZones on /home/jbrakefi/foam/jbrakefi-4.0/FluidSolidInteraction/run/fsiFoam/HronTurekFsi3/fluid
/bin/sh: 1: /home/jbrakefi/foam/foam-extend-4.0/wmake/bin/linux64Gcc/wmkdep: not found
SOURCE=hronTurekReport.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wno-deprecated -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -Wunused-local-typedefs -Werror -Wredundant-decls -Wcast-align -Wmissing-declarations  -Wswitch-enum -Winvalid-pch -Wredundant-decls -Wformat=2 -Wmissing-format-attribute -Wformat-nonliteral -O3  -DNoRepository -ftemplate-depth-200 -std=c++11     -I/home/jbrakefi/foam/jbrakefi-4.0/FluidSolidInteraction/src/fluidSolidInteraction/lnInclude     -I/home/jbrakefi/foam/jbrakefi-4.0/FluidSolidInteraction/src/ThirdParty/eigen3     -I/home/jbrakefi/foam/foam-extend-4.0/src/finiteVolume/lnInclude     -I/home/jbrakefi/foam/foam-extend-4.0/src/finiteArea/lnInclude     -I/home/jbrakefi/foam/foam-extend-4.0/src/meshTools/lnInclude     -I/home/jbrakefi/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude     -I/home/jbrakefi/foam/foam-extend-4.0/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/home/jbrakefi/foam/foam-extend-4.0/src/foam/lnInclude -I/home/jbrakefi/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/hronTurekReport.o
In file included from hronTurekReport.C:29:0:
hronTurekReport.H:41:28: fatal error: functionObject.H: No such file or directory
compilation terminated.
hronTurekReport.dep:3: recipe for target 'Make/linux64GccDPOpt/hronTurekReport.o' failed
make: *** [Make/linux64GccDPOpt/hronTurekReport.o] Error 1
Running fsiFoam on /home/jbrakefi/foam/jbrakefi-4.0/FluidSolidInteraction/run/fsiFoam/HronTurekFsi3/fluid
I get similar errors when trying to run beamInCrossFlow.

The 3dTube doesn't give me an error but seems to do nothing. When I open the log.fsiFoam, it reads "./Allrun: 55: ./Allrun: fsiFoam: not found"
anaspauzi is offline   Reply With Quote

Old   April 20, 2020, 11:50
Default
  #48
New Member
 
kang seung-hwan
Join Date: Apr 2020
Posts: 5
Rep Power: 6
gozo is on a distinguished road
@JBrake Hi
Did you solve the problem?
I am having same problem.
I am stuck in installation of extend 4.0 on Ubuntu 16.04 in Windows 10. It is frozen at stage 3 or stage 1.
gozo is offline   Reply With Quote

Old   March 19, 2021, 08:42
Smile
  #49
New Member
 
Jiayu Sun
Join Date: Jul 2020
Location: Harbin,China
Posts: 18
Rep Power: 5
Richal Sun is on a distinguished road
Quote:
Originally Posted by JBrake View Post
I am using Ubuntu 16.04 on Bash on Windows (subsystem).
Hello,JBrake
I'm trying to install foam-extend-4.0 on WSL(version ubuntu 18.04), i checked all your threads.Is foam-extend version can't be installed on WSL?
Thanks in advance.
Richal Sun is offline   Reply With Quote

Old   November 5, 2021, 11:00
Default Problem installing foam-extend 4.0
  #50
Member
 
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 4
MFWilliams is on a distinguished road
Hello,



I have read multiple forums and had a lot of trouble trying to get foam-extend 4.0 to install correctly on my WSL Ubuntu 20.04.



After getting the souce code from this website: http://openfoamwiki.net/index.php/In...oam-extend-4.0


I then run these commands:


sudo sh -c 'echo deb http://gb.archive.ubuntu.com/ubuntu/ bionic universe > /etc/apt/sources.list.d/bionic_legacy.list'


sudo apt-get update



Then when I run this command:


sudo apt-get install git-core build-essential binutils-dev cmake flex bear \ zlib1g-dev libncurses5-dev libreadline-dev \ libxt-dev rpm mercurial graphviz python python-dev python3 python3-dev gcc-5 g++-5 \ gnuplot gnuplot-qt gnuplot-data



I get the error:



E: Unable to locate package qt4-dev-tools
E: Package 'libqt4-dev' has no installation candidate



When i finish the installation process and finish compiling it, if i try run a tutorial, whenever I input the command blockMesh, i get the error:


Command 'blockMesh' not found, but can be installed with:

sudo apt install openfoam





To my knowledge foam-extend 4.0 installed similar commands to main openfoam distributions.

Please can somebody advise me how to install foam-extend 4.0 successfully.


best regards
Merlin
MFWilliams is offline   Reply With Quote

Reply

Tags
foam-extend 4.0, fsifoam


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
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 11:12
[CGNS] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 04:20
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
[Other] cgnsToFoam problems with "QUAD_4" cells lentschi OpenFOAM Meshing & Mesh Conversion 1 March 9, 2011 04:49
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 20:19.