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] 3dTube failing with simple velocity inlet

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ilhado

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2023, 11:05
Default 3dTube failing with simple velocity inlet
  #1
Member
 
Thangam Natarajan
Join Date: Dec 2010
Location: Perth
Posts: 70
Rep Power: 17
Thangam is on a distinguished road
I am trying to setup a simple fsi problem of a 3d tube (with a small thickness). To achieve this, I started with the 3dTube tutorial and converted it from symmetry to a full 3D problem. I was able to run the "pressure pulse" fsi problem without any issues for this 3D tube.

Now, I want to provide uniform velocity bc at the inlet in order to mimic an artery/flexible tube. However, setting the inlet to
Code:
type fixedValue;
value uniform (0 0 1.0);
and pressure at inlet to
Code:
 type zeroGradient;
blows up the simulation within the first few iterations. No changes were made to the solid side. The rest of the fvSchemes/fvSolution were kept the same. The error:

Code:
Time = 5e-05, iteration: 3
Current fsi under-relaxation factor (wall): 0.05
Maximal accumulated displacement of interface 0: 192.863
GAMG:  Solving for cellMotionUx, Initial residual = 0.999999, Final residual = 0.000243584, No Iterations 1
GAMG:  Solving for cellMotionUy, Initial residual = 0.999996, Final residual = 0.00032079, No Iterations 1
GAMG:  Solving for cellMotionUz, Initial residual = 0.999998, Final residual = 0.000547492, No Iterations 1
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::inv(Foam::Field<Foam::SymmTensor<double> >&, Foam::UList<Foam::SymmTensor<double> > const&) at ??:?
#4  Foam::inv(Foam::UList<Foam::SymmTensor<double> > const&) at ??:?
#5  Foam::leastSquaresVectors::calcLeastSquaresVectors() at ??:?
#6  Foam::leastSquaresVectors::movePoints() at ??:?
#7  void Foam::meshObject::movePoints<Foam::fvMesh>(Foam::objectRegistry&) at ??:?
#8  Foam::fvMesh::movePoints(Foam::Field<Foam::Vector<double> > const&) at ??:?
#9  Foam::dynamicMotionSolverFvMesh::update() at ??:?
#10  Foam::fluidSolidInterface::moveFluidMesh() at ??:?
#11  Foam::fluidSolidInterfaces::IQNILSCouplingInterface::evolve() at ??:?
#12  ? in "/nethome/tnatarajan6/OpenFOAM/tnatarajan6-9/platforms/linux64GccDPInt32Opt/bin/solids4Foam"
#13  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#14  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#15  ? in "/nethome/tnatarajan6/OpenFOAM/tnatarajan6-9/platforms/linux64GccDPInt32Opt/bin/solids4Foam"
ERROR


I am using OpenFoam 9.0 and solids4Foam 2.0 on Ubuntu 22.04 as no other combination of OF/solids4Foam/extend work on Ubuntu 22.04.

What should be the approach to run a simple fsi such as a flexible tube with thickness, one inlet and one outlet? I have attached a MWE for the 3D tube that is failing with velocity inlet bc's. Any pointers is appreciated. Thanks.
Attached Files
File Type: zip 3dTube_velocity.zip (25.4 KB, 4 views)
Thangam is offline   Reply With Quote

Old   February 22, 2023, 14:25
Default
  #2
New Member
 
ilhado's Avatar
 
Iago Lessa de Oliveira
Join Date: May 2015
Posts: 23
Rep Power: 11
ilhado is on a distinguished road
Hi Thangam,



Why do you used a velocity of 1.0 m/s in the inlet? Is that only a test?

FSI simulations may be very sensible to the boundary conditions, so what may be the case is that this velocity is too high for the overall physical setup you are using, which would cause large deformations in the solid domain at the initial coupling iterations, thus leading to the divergence (note the huge maximum accumulated displacement in your log). So I would suggested trying with smaller velocities.



That are also other tips for starting an FSI simulation that you can find in this post that may help you: FSI case does not converge, foam extend 4.0


Best,
Iago
bigphil likes this.
ilhado is offline   Reply With Quote

Reply

Tags
flexible pipe, fsi, openfoam, solids4foam


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
Simple parabolic velocity UDF with symmetry - what am I not understanding!?! NPGrad FLUENT 1 September 30, 2016 12:42
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
How to define a fixed velocity for a given mass flow rate on inlet mqasimali FLUENT 2 April 12, 2013 18:24
How to apply an outlet velocity profile to another inlet? siw FLUENT 4 April 10, 2013 12:19
UDF problem : inlet velocity in cyl. coord. system Jongdae Kim FLUENT 0 June 15, 2004 12:21


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