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

[FSI] Unable to run HronTurekFSi tutorials in parallel

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Hgholami

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2019, 02:09
Default Unable to run HronTurekFSi tutorials in parallel
  #1
New Member
 
Matte Wang
Join Date: Sep 2018
Posts: 13
Rep Power: 7
Aunura is on a distinguished road
Hello, everyone. I am a beginners to FSI problems and now I have a problem about the icoFsiElasticNonLinULSolidFoam.

Every thing is Ok when I start the simulation by ./Allrun
However, the simulations abort quickly when I use the script AllrunPar. The log files is :

Quote:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | For copyright notice see file Copyright |
\*---------------------------------------------------------------------------*/
Build : 4.1-76ec96ae2dcb
Exec : icoFsiElasticNonLinULSolidFoam -parallel
Date : Nov 29 2019
Time : 14:52:53
Host : "cybrex"
PID : 5796
CtrlDict : "/home/cybrex/foam/foam-extend-4.1/tutorials/solidMechanics/icoFsiElasticNonLinULSolidFoam/HronTurekFsi/fluid/system/controlDict"
Case : /home/cybrex/foam/foam-extend-4.1/tutorials/solidMechanics/icoFsiElasticNonLinULSolidFoam/HronTurekFsi/fluid
nProcs : 2
Slaves : 1("cybrex.5798")
Pstream initialized with:
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create dynamic mesh for time = 0

--> FOAM Warning :
From function void* Foam::dlOpen(const Foam::fileName&, bool)
in file POSIX.C at line 1204
dlopen error : libmesquiteMotionSolver.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function bool Foam::dlLibraryTable:pen(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97
could not load "libmesquiteMotionSolver.so"
--> FOAM Warning :
From function dynamicFvMesh::New(const IOobject& io)
in file dynamicFvMesh/newDynamicFvMesh.C at line 46
Loading of dynamic mesh library libmesquiteMotionSolver.so unsuccesful. Some dynamic mesh methods may not be available
Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: laplace
Selecting motion diffusivity: quadratic

PISO: no residual control data found. Calculations will employ 50 corrector loops


Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi

Reading incremental displacement field DU

Patch plate Traction boundary field: DU
nonLinear set to updated Lagrangian
--> FOAM Warning : The gradScheme for DU should be "extendedLeastSquares 0" for the boundary non-orthogonal correction to be right
Reading incremental displacement field DV

Reading accumulated velocity field V

Reading accumulated stress field sigma

Reading incremental stress field DSigma

Selecting rheology model linearElastic
Creating constitutive model

Reading coupling properties
Create fluid-to-solid and solid-to-fluid interpolators
Check fluid-to-solid and solid-to-fluid interpolators
Fluid-to-solid face interpolation error: 1.24127e-16
Solid-to-fluid face interpolation error: 1.24127e-16

Starting time loop

Time = 0.001

Selecting coupling scheme Aitken

Time = 0.001, iteration: 1
Current fsi under-relaxation factor: 0.01
Maximal accumulated displacement of interface points: 0
Courant Number mean: 0 max: 0 velocity magnitude: 0
BiCGStab: Solving for Ux, Initial residual = 1, Final residual = 9.36917e-07, No Iterations 1
BiCGStab: Solving for Uy, Initial residual = 0.996458, Final residual = 7.58483e-07, No Iterations 1
[cybrex:5796] *** An error occurred in MPI_Waitall
[cybrex:5796] *** reported by process [505413633,0]
[cybrex:5796] *** on communicator MPI_COMM_WORLD
[cybrex:5796] *** MPI_ERR_TRUNCATE: message truncated
[cybrex:5796] *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
[cybrex:5796] *** and potentially your MPI job)
I am using the foam-extend4.1. Is there anybody knowing about this questions? Thank you very much.
Aunura is offline   Reply With Quote

Old   November 29, 2019, 05:27
Default
  #2
New Member
 
Matte Wang
Join Date: Sep 2018
Posts: 13
Rep Power: 7
Aunura is on a distinguished road
All right. Things go well when I switch to foam-extend4.0.
It seems that this is a bug in beta version.
Aunura is offline   Reply With Quote

Old   November 29, 2019, 07:30
Default
  #3
New Member
 
Matte Wang
Join Date: Sep 2018
Posts: 13
Rep Power: 7
Aunura is on a distinguished road
Hi every one. I have come back.
Now I want to install the Fluid-structure_interaction toolkit.

I follow the guides of

https://openfoamwiki.net/index.php/E...re_interaction.

However, I my compiler encounter many errors like this :

Quote:
../ThirdParty/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h:574:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
if(nr==4) traits.initAcc(C3);
^~
../ThirdParty/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h:575:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
traits.initAcc(C4);
^~~~~~
In file included from ../ThirdParty/eigen3/Eigen/Core:263:0,
from ../ThirdParty/eigen3/Eigen/Dense:1,
from ./fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFFunctionInterface.H:13,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFFunctions/WendlandC0Function.H:10,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFFunctions/WendlandC0Function.C:7:
../ThirdParty/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:29:39: error: ignoring attributes on template argument ‘__m128 {aka __vector(4) float}’ [-Werror=ignored-attributes]
template<> struct is_arithmetic<__m128> { enum { value = true }; };
^
../ThirdParty/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:30:40: error: ignoring attributes on template argument ‘__m128i {aka __vector(2) long long int}’ [-Werror=ignored-attributes]
template<> struct is_arithmetic<__m128i> { enum { value = true }; };
^
../ThirdParty/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:31:40: error: ignoring attributes on template argument ‘__m128d {aka __vector(2) double}’ [-Werror=ignored-attributes]
template<> struct is_arithmetic<__m128d> { enum { value = true }; };
^
../ThirdParty/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:101:43: error: ignoring attributes on template argument ‘Eigen::internal::Packet4f {aka __vector(4) float}’ [-Werror=ignored-attributes]
template<> struct unpacket_traits<Packet4f> { typedef float type; enum {size=4}; };
^
../ThirdParty/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:102:43: error: ignoring attributes on template argument ‘Eigen::internal::Packet2d {aka __vector(2) double}’ [-Werror=ignored-attributes]
template<> struct unpacket_traits<Packet2d> { typedef double type; enum {size=2}; };
^
../ThirdParty/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h:946:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
if(nr==4) R3 = ploadu<ResPacket>(r3);
^~
../ThirdParty/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h:948:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
traits.acc(C0, alphav, R0);
^~~~~~
../ThirdParty/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:103:43: error: ignoring attributes on template argument ‘Eigen::internal::Packet4i {aka __vector(2) long long int}’ [-Werror=ignored-attributes]
template<> struct unpacket_traits<Packet4i> { typedef int type; enum {size=4}; };
^
../ThirdParty/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h:951:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
if(nr==4) traits.acc(C3, alphav, R3);
^~
../ThirdParty/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h:953:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
pstoreu(r0, R0);
^~~~~~~
One part of the make log is here:
fluidSolid.txt

Now my OF version is foam-extend 4.0. My ubuntu system is 18.04.3

Anyway, if someone know the reason of this problems, please give me a hand. Thank you .
Aunura is offline   Reply With Quote

Old   December 18, 2019, 14:15
Default
  #4
Senior Member
 
Hojatollah Gholami
Join Date: Jan 2019
Posts: 171
Rep Power: 7
Hgholami is on a distinguished road
May it be late, but for other person.
As it seen, the problem was from compiler.
Maybe changing from extend4.1 to 4.0 lead to defining gcc7.
As the Daniel mentioned, you should follow instructions as
solids4Foam twoElasticBeams tutorial: multiple FSI interfaces
So you need to clean first and run from first
https://openfoamwiki.net/index.php/I...oam-extend-4.0
Aunura likes this.
Hgholami 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
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 1 October 28, 2020 10:35
[snappyHexMesh] Able to run snappyHexMesh in parallel on local machine but unable to run on linux clu abhinav2601 OpenFOAM Meshing & Mesh Conversion 1 January 26, 2015 05:42
unable to run in parallel with OpenFOAM 2.2 on CentOS einatlev OpenFOAM Running, Solving & CFD 9 June 26, 2014 00:24
parallel Grief: BoundaryFields ok in single CPU but NOT in Parallel JR22 OpenFOAM Running, Solving & CFD 2 April 19, 2013 16:49
Unable to run OF in parallel on a multiple-node cluster quartzian OpenFOAM 3 November 24, 2009 13:37


All times are GMT -4. The time now is 22:05.