CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

A simple System Coupling Application stubbornly unconverging

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2021, 06:59
Default A simple System Coupling Application stubbornly unconverging
  #1
New Member
 
dyon
Join Date: Dec 2020
Posts: 5
Rep Power: 5
dyon is on a distinguished road
I am trying to simulate a rubber ring that pulsates in water and the solution does not converge at all.
The ring is modelled in Transient Structural and expands/shrinks once in every 4s (so very low frequency).
Any idea what might I be doing wrongly ? I can provide you with any detail/screenshot/animation you may need to figure out how to help me.
Many Thanks !
Attached Images
File Type: png RING.PNG (59.9 KB, 4 views)
File Type: png MESH.PNG (78.4 KB, 5 views)
File Type: png GEOMETRY.PNG (34.2 KB, 4 views)
dyon is offline   Reply With Quote

Old   January 29, 2021, 09:45
Default
  #2
Senior Member
 
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 8
aero_head is on a distinguished road
Hello,

You could go over this FAQ and see if you can implement some of the things they suggest:
https://www.cfd-online.com/Wiki/Ansy...gence_criteria

If nothing there works, you can report what you tried and we can try to help after.
aero_head is offline   Reply With Quote

Old   January 29, 2021, 14:25
Default
  #3
Senior Member
 
andy
Join Date: May 2009
Posts: 268
Rep Power: 17
andy_ is on a distinguished road
Quote:
Originally Posted by dyon View Post
I am trying to simulate a rubber ring that pulsates in water and the solution does not converge at all.
Is this a time varying simulation, simple harmonic, or what?

What do you mean by not converge at all? The errors in the solved equations remain high, the flow doesn't settle down to a harmonically repeating one, or something else?
andy_ is offline   Reply With Quote

Old   January 30, 2021, 03:10
Default
  #4
New Member
 
dyon
Join Date: Dec 2020
Posts: 5
Rep Power: 5
dyon is on a distinguished road
Quote:
Originally Posted by andy_ View Post
Is this a time varying simulation, simple harmonic, or what?

What do you mean by not converge at all? The errors in the solved equations remain high, the flow doesn't settle down to a harmonically repeating one, or something else?


It is a time varying simulation, the ring pulsates (expands/contracts see Screenshots) due to time varying pressure inside. The ring is modelled and setup in Transient Structural (see PressureSetup screenshot attached).

The ring pulsates in water. The water is modelled as a cube in Transient Structural. The Geometry is shared with Fluent, where it is meshed and setup (see mesh in Fluent FluidMesh screenshot attached).

Fluent setup: Transient / Inviscid / Pressure-outlet (for all the 6 faces of the cube / System coupling in Dynamic mesh at the common face water-ring / Smoothing (Diffusion) + Remeshing / Timestep size 0.1 s for 40 timesteps.

Maximum iterations set at 10 in the System coupling (time step again 0.1 s)

On running this, the first timestep (0.1 s) never converges (I have done even 50 iterations on it). Timesteps 0.2 s to 0.5 s converge (Y), time step 0.6 s does not converge (N), 0.7 s to 1.3 s (Y), 1.4 s to 2.2 s (N), 2.3 s to 2.5 s (Y), 2.6 s (N), 2.7 s to 3.5 s (Y), 3.6 s (N), 3.7 s to 4.0 s (Y).

I have observed that continuity does not converge, more than velocities.

I would appreciate your advice. I can provide more details if needed.

Thank you vey much !
Attached Images
File Type: jpg RingContracted.jpg (72.7 KB, 3 views)
File Type: jpg RingExpanded.jpg (86.4 KB, 3 views)
File Type: png PressureSetup.PNG (110.3 KB, 5 views)
File Type: png FluidMesh.PNG (181.6 KB, 2 views)
File Type: png FluentSetup1.PNG (24.0 KB, 1 views)
dyon is offline   Reply With Quote

Old   February 2, 2021, 15:51
Default
  #5
Senior Member
 
andy
Join Date: May 2009
Posts: 268
Rep Power: 17
andy_ is on a distinguished road
Quote:
Originally Posted by dyon View Post
It is a time varying simulation, the ring pulsates (expands/contracts see Screenshots) due to time varying pressure inside. The ring is modelled and setup in Transient Structural (see PressureSetup screenshot attached).

The ring pulsates in water. The water is modelled as a cube in Transient Structural. The Geometry is shared with Fluent, where it is meshed and setup (see mesh in Fluent FluidMesh screenshot attached).

Fluent setup: Transient / Inviscid / Pressure-outlet (for all the 6 faces of the cube / System coupling in Dynamic mesh at the common face water-ring / Smoothing (Diffusion) + Remeshing / Timestep size 0.1 s for 40 timesteps.

Maximum iterations set at 10 in the System coupling (time step again 0.1 s)

On running this, the first timestep (0.1 s) never converges (I have done even 50 iterations on it). Timesteps 0.2 s to 0.5 s converge (Y), time step 0.6 s does not converge (N), 0.7 s to 1.3 s (Y), 1.4 s to 2.2 s (N), 2.3 s to 2.5 s (Y), 2.6 s (N), 2.7 s to 3.5 s (Y), 3.6 s (N), 3.7 s to 4.0 s (Y).

I have observed that continuity does not converge, more than velocities.

I would appreciate your advice. I can provide more details if needed.
Apologies for the delay in replying. I saw a comment about moderation but missed the update.

If the fluid is incompressible and the external box is impermeable then you have defined a problem that cannot be solved. Is this the case? For an incompressible fluid the expansion/contraction of the ring must be balanced by an equivalent small amount of incompressible fluid flowing back and forth across the external boundary somewhere. It only needs to be, say, one side and since the flow will be tiny it won't affect the flow around the ring. Alternatively you could move one of the sides slightly so that the trapped fluid was of constant volume.

Numerically what is going wrong is that the source terms in the Poisson equation are not summing to exactly zero. This is a requirement because although the determinant of the equation is zero if the sources sum to zero a pressure field can be determined to within a constant. If they don't then the equation simply has no solution.
andy_ is offline   Reply With Quote

Old   February 3, 2021, 11:58
Default
  #6
New Member
 
dyon
Join Date: Dec 2020
Posts: 5
Rep Power: 5
dyon is on a distinguished road
Quote:
Originally Posted by andy_ View Post
Apologies for the delay in replying. I saw a comment about moderation but missed the update.

If the fluid is incompressible and the external box is impermeable then you have defined a problem that cannot be solved. Is this the case?

The fluid is incompressible, but I defined the 6 faces of the box (fluid) as pressure outlets (see screenshot). The case is with pressure-outlets and recognized as such by Fluent after hybrid initialization.
In CFD post I can see velocities at the boundary pointing forwards and backwards. I think that pressure-outlets are considered permeable by the solver.
Attached Images
File Type: jpg fluidouterface_boundary.JPG (48.8 KB, 6 views)
dyon is offline   Reply With Quote

Old   February 3, 2021, 18:21
Default
  #7
Senior Member
 
andy
Join Date: May 2009
Posts: 268
Rep Power: 17
andy_ is on a distinguished road
Quote:
Originally Posted by dyon View Post
The fluid is incompressible, but I defined the 6 faces of the box (fluid) as pressure outlets (see screenshot). The case is with pressure-outlets and recognized as such by Fluent after hybrid initialization.
In CFD post I can see velocities at the boundary pointing forwards and backwards. I think that pressure-outlets are considered permeable by the solver.
I am not familiar with Fluent's boundary condition implementation but the boundary will be changing between inflow and outflow over time. I wouldn't expect a single pressure condition (of unknown kind) over the whole boundary to work in the sense of driving the solution towards a single solution. More worryingly the pressure equation is not converging after the first time step and that almost always follows from the mass flow in not being exactly equal to the mass flow out. Any boundary condition implementation that allows the flow to wander must impose this condition before solving the pressure equation.

Every time step must converge or else the solution in time is meaningless. I am not familiar with Fluent's time stepping scheme but non-convergence on the first time step may be due to your initial conditions not satisfying continuity which they must. Is the ring moving at t=0 and the external boundary at rest at t=0? If so, this is an invalid initial condition.

If you have an intial condition that satisfies continuity, a time step that is comfortable with respect to CFL and diffusion number limits and taking a very large number of iterations on the pressure equation doesn't drive the continuity error into roundoff then your current pressure boundary condition is likely unusable.

The simplest boundary condition would be to specify a tiny constant in space normal velocity on the external boundary that changes through time to exactly balance the mass added or subtracted by the moving ring. I would expect Fluent to supply such a boundary condition because it is a simple and robust condition for testing moving grids. However, the screen dump of your pressure condition seems to show a whole bunch of options and so it may not be directly labelled as such.
andy_ is offline   Reply With Quote

Old   February 4, 2021, 07:44
Default
  #8
New Member
 
dyon
Join Date: Dec 2020
Posts: 5
Rep Power: 5
dyon is on a distinguished road
Quote:
Originally Posted by andy_ View Post
Every time step must converge or else the solution in time is meaningless. I am not familiar with Fluent's time stepping scheme but non-convergence on the first time step may be due to your initial conditions not satisfying continuity which they must. Is the ring moving at t=0 and the external boundary at rest at t=0? If so, this is an invalid initial condition.
I have shifted the beginning of ring expansion one timestep later (0.1s) to make sure that the ring is not moving at the first time step of the computation. Now the first time step converges and the second doesn't. It is clear that non-convergence is related to the fact that the ring begins to expand. The boundary conditions are key here, but from what I have read in the Ansys Fluent manual, pressure-outlet type boundary would be most appropriate in this case because it allows backflow besides outflow. Perhaps someone knows details on how to setup the pressure-outlet boundary for this case? Or is there another type of boundary that can be used ?
dyon is offline   Reply With Quote

Reply

Tags
ansys;

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
FSI system coupling problem asoltoon ANSYS 1 October 25, 2018 09:38
2-Way FSI Coupling Error (Oscillating Plate Tutorial) EmiS ANSYS 2 June 29, 2018 09:09
Ansys Licence Serve on Ubuntu 16.04 LTS david.pasquale ANSYS 2 January 20, 2017 11:52
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56


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