CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Immersed Solid Problem (https://www.cfd-online.com/Forums/cfx/142197-immersed-solid-problem.html)

PeterA_ September 25, 2014 04:45

Immersed Solid Problem
 
1 Attachment(s)
Hello dear forum !

I have a problem concerning the immersed solid method in CFX.

What i am trying to do:
I want to simulate the opening/closing of a valve. I build up a quasi 2-D model (2D- 5 degree wedge) and defined the fluid and immersed solid regions.

During the simulation the valve is closing and therefor the valve cone is moving 2 mm.

Everything is working fine for the first 0,8 mm. Then the results diverge and the massflow becomes high/unlimited.

When i inspect the results short before the divergence i can see strange singularities in pressure/velocity right behind the moving valve cone. (see attached image).

What i tried sofar: variation of: mesh sizes / time steps size / momentum scaling factor

I set up a very similar simulation just with another cone angle (45° instead of 38°) and it runs without any problems. After days of trial and even more errors i have no clue what i could try.

I would be very thankful for any advice what i could try now.

Many thanks
Peter

ghorrocks September 25, 2014 06:22

This shows your simulation has borderline numerical stability, so you need to make it more stable. Try:
* Improve mesh quality (this is the most important one - and I can see your inflation layers are not too good)
* Double precision numerics
* Smaller time step size

PeterA_ September 25, 2014 08:35

Many thanks for your fast reply.

* Double precision numerics
* Smaller time step size

already tried this without success (even very very small timestep has no influence)


Improve mesh quality: What i wonder about is that the Immersed Solid moves for 0,8mm through the mesh with the "same bad quality" without problems. I have also tried a finer mesh in the region where the immersed solid moves. I will try an even finer mesh and report you if this solves the problem.

Many thanks sofar.

Peter

PeterA_ September 26, 2014 04:52

2 Attachment(s)
Hello !

I refined the mesh in the region where the valve cone is moving.

The same problem occurs - at another timestep and another position of the cone but the problem still exists.

Do you think its still a problem of mesh size/quality ? As i mentioned before a very similar modelsetup run without any problems with a much much coarser mesh.

Many thanks

Peter

ghorrocks September 26, 2014 06:01

Your problem is numerical instability.

Refining a mesh makes it less stable, so problems with a finer mesh are to be expected.

The suggestions I made (mesh quality, double precision, smaller time steps, better initial condition) are the usual suspects for improving numerical stability. You can always improve mesh quality - and it will make the biggest difference if you do. In this case as this is a 2D simulation I would recommend trying hex elements as they are often more stable then tets/prisms.

There are a few settings specific to immersed solids - I am not too familiar with them so cannot make a suggestion but I would try some of them.

Martin_Sz September 29, 2014 05:09

can You copy of error information which You have in solver ??

PeterA_ September 29, 2014 06:32

Hello !

I tried a pure hex mesh in the region, where the valve cone is moving.

Same error .....:(

Error message:

Parallel run: Received message from slave
-----------------------------------------
Slave partition : 6
Slave routine : ErrAction
Master location : RCVBUF,MSGTAG=1214
Message label : 001100279
Message follows below - :

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Floating point exception: Overflow |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

Parallel run: Received message from slave
-----------------------------------------
Slave partition : 6
Slave routine : ErrAction
Master location : RCVBUF,MSGTAG=1214
Message label : 001100279
Message follows below - :

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine FPX: C_FPX_HANDLER


What i am confused about: If i change the cone angle from 37° to 45° the simulation run without error with nearly any meshes. This might be an annoying coincidence.

Martin_Sz September 30, 2014 03:55

You can try to change turbulence model to SST if You have k-epsilon
next way - on the domain turn on mesh deformation
What do You have on outlet - opening or outlet ??
Best regards

PeterA_ October 1, 2014 12:20

Hey,

many thanks for your advices !!

I already use the SST-model.

The outlet is defined as outlet / no message about back flow occurs.
I will try an opening and report you if this solves my problem.

Mesh deformation: I did not tried this sofar. I have to read a bit about this topic and will also report if i could solve the problem.


Offtopic: I am still everytime amazed about the possibilities of the internet - within a second its possible to get in touch with persons - perhaps 10000 km away - and ask for an advise ;) GREAT !!


Many thanks sofar

Stephan


All times are GMT -4. The time now is 21:23.