CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Emergency! Problem in multiphase Simulation (http://www.cfd-online.com/Forums/openfoam-solving/110576-emergency-problem-multiphase-simulation.html)

MOHAMMAD67 December 14, 2012 11:24

Emergency! Problem in multiphase Simulation
 
3 Attachment(s)
Dear friends
Hi
I couldn't model flow in pipe correctly and as you can see in the pictures attached, depth of flow increases as time passes. It is impossible in reality. I really test a lot of ways to overcome this problem but I didn't succeed. Now I'm in pressure because of my results and lack of time.

Thanks in Advance

akidess December 15, 2012 07:16

Try a hex mesh

MOHAMMAD67 December 15, 2012 09:28

1 Attachment(s)
Quote:

Originally Posted by akidess (Post 397664)
Try a hex mesh

Dear Anton, thanks for your reply
I use salome for meshing. As you can see in the picture attached here I have to mesh both pipe and connected box. I've tried a lot of way to use hexa mesh but I didn't succeed due to this combination of pipe and box.

Do you know exactly why this event happen?
What should I do to overcome the problem in meshing?

wyldckat December 15, 2012 13:42

Greetings to all!

@MOHAMMAD67, I'm sorry to say that I'm only able to give some hints:
  1. Always check your mesh before trying to use the solver! First use:
    Code:

    checkMesh
    And out of suspicion, you should also check with the full diagnostics, just in case:
    Code:

    checkMesh -allGeometry -allTopology
  2. Did you first try doing a simpler version of your case? For example, a simple long box, just to first confirm that you were configuring the solver properly?
  3. A good mesh can be a serious pain to generate, specially if you have little time. If it was some weeks earlier, I would suggest that you try SwiftBlock and/or SwiftSnap instead of Salome.
Good luck!
Bruno

kalle December 16, 2012 05:01

Are you really sure it is unphysical? Is it steady state? If so, you can integrate (in paraview) mass flow across intersections to see if you really loose mass. The water depth level alone cannot tell, as mass flow through a pipe intersection is: area(depth) * U(x,y,z)

K

nimasam December 16, 2012 12:20

Quote:

Originally Posted by kalle (Post 397748)
Are you really sure it is unphysical? Is it steady state? If so, you can integrate (in paraview) mass flow across intersections to see if you really loose mass. The water depth level alone cannot tell, as mass flow through a pipe intersection is: area(depth) * U(x,y,z)

K

i agree, it can be told it is unphysical just by the height of water, it may be a slug, and it is totally physical phenomena

MOHAMMAD67 December 16, 2012 13:30

Quote:

Originally Posted by kalle (Post 397748)
Are you really sure it is unphysical? Is it steady state? If so, you can integrate (in paraview) mass flow across intersections to see if you really loose mass. The water depth level alone cannot tell, as mass flow through a pipe intersection is: area(depth) * U(x,y,z)

K

Dear friend
I also model it experimentally and I haven't see such a these phenomenon. This event change for each flowrate. for example in a particular case with constatnt mesh, for Q=25 l/s pipe will be pressurized!!! but for an upper Q just increase in water depth happened.
Could it be related to boundary conditions? I use an air inlet in the upstream end of the pipe and atmosphere for upper wall of the box.
However, I think here mesh is very important and I'm really interested in hex mesh for upstream pipe. Is there an easy way to do this nothing that I haven't work with snappy hex mesh yet.?

nimasam December 16, 2012 14:17

is it a steady solution?

yes, it is possible to use snappyHexMesh for generate hex mesh for this geometry

MOHAMMAD67 December 16, 2012 14:29

Quote:

Originally Posted by nimasam (Post 397799)
is it a steady solution?

yes, it is possible to use snappyHexMesh for generate hex mesh for this geometry

Dear Sam
Salaam

Water depth in the upstream pipe reaches steady state but generally it's a transient problem.

I've searched about snappyhexmesh today. But I couldn't understand how I can create geometry with .stl format. Does it need another software?

nimasam December 16, 2012 15:38

as your geometry is not so complicated, i guess you can make stl file even with paraview :D (maybe seems strange)
also i think you can do it even with out stl, file, i think you need to dig more snappyHexMesh in OpenFOAM

MOHAMMAD67 December 21, 2012 14:27

Problem of meshing solved but depth increasing is still seen
 
1 Attachment(s)
Dear Friend
Fortunately, My problem related to use hexahedral mesh has been solved with the help of my friend Saint Michael in Salome forum.
If you are interested, you can see this page:

http://www.salome-platform.org/forum/forum_10/61041109



But my problem is still seen!!
I don't know what to do? please help

Best Wishes

nimasam December 21, 2012 16:16

some general recommendations:
1- in fvSolution, turn on momentom prediction
2- increase alpha correction
3- increase non-orthogonality correction


All times are GMT -4. The time now is 01:08.