CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Simulating a manometer in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2021, 14:19
Default Simulating a manometer in CFX
  #1
New Member
 
Join Date: Nov 2021
Posts: 4
Rep Power: 5
Abdulla060 is on a distinguished road
Hello.

I'm very new to Ansys and CFD in general. I've been practicing CFX and I wanted to create a very simple manometer simulation. however, I can't figure out how I can fill a region of my domain with a different fluid (for example mercury in the bottom of the manometer)

my model

Abdulla060 is offline   Reply With Quote

Old   November 19, 2021, 18:38
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you want to have a mercury free surface and the pressure difference pushes the free surface up and down then you will need to do a multiphase simulation with a free surface model.

But you should look at this model and think what are you really trying to do here? A much better approach might be to not model the manometer, but replace it with a blind passage with a pressure measurement there. This model is single phase, so much easier, and will give you a pressure difference across the device. Then you can do a second simulation with the pressure difference applied over a manometer to see the free surface move. This two simulation method will be much easier to do compared to everything in one.

But it all depends on what you are trying to achieve.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   November 20, 2021, 07:34
Default
  #3
New Member
 
Join Date: Nov 2021
Posts: 4
Rep Power: 5
Abdulla060 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If you want to have a mercury free surface and the pressure difference pushes the free surface up and down then you will need to do a multiphase simulation with a free surface model.

But you should look at this model and think what are you really trying to do here? A much better approach might be to not model the manometer, but replace it with a blind passage with a pressure measurement there. This model is single phase, so much easier, and will give you a pressure difference across the device. Then you can do a second simulation with the pressure difference applied over a manometer to see the free surface move. This two simulation method will be much easier to do compared to everything in one.

But it all depends on what you are trying to achieve.
Thank you very much for the reply.

My main goal is to learn multiphase simulation in CFX and I thought that this practice will both achieve this goal whilst being easily verifiable. my biggest problem now is that I don't know how to assign each fluid to a region (similar to Fluent patch) if such a thing is even possible in CFX.
Abdulla060 is offline   Reply With Quote

Old   November 20, 2021, 09:43
Default
  #4
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28
Gert-Jan will become famous soon enough
The numerical solution will tell you where which fluid will be present.
You problem is the initialisation. In principle you can do this using a step function for the initial volume fraction. Alternatively, you can split the geometry (keep the split alive through Spaceclaim, Mesher and Pre), approximately where the thin line is now in your figure. This allows you to specify different initial conditions in Pre.

Remember that since your liquid volume is quite thin, surface tension might play a role, which however is quite difficult to capture using CFX. Better use a larger volume in the bend.

Also, be aware that the start up of such a numerical simulation comes with significant pressure waves. If you don't take any precautions, your liquid might have left the pipe long before you notice.

Summarized, this might be a pretty difficult calculation in the end.
Gert-Jan is offline   Reply With Quote

Old   November 20, 2021, 20:57
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you are learning CFX then the best place to start is the tutorial examples. They have versions which cover most of the functions in CFX, including multiphase. The tutorial examples are in the ANSYS Customer web page (if you are a commercial customer) or the ANSYS Academic web page (if you are an academic or student).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
cfx, manometer, two-phase flow


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
CFX Pre & Post Startup Error vigges CFX 12 March 17, 2023 04:30
CFX Treatment of Laminar and Turbulent Flows Jade M CFX 18 September 15, 2022 08:08
simulating solid granules in CFX sakalido CFX 7 March 11, 2020 21:00
CFX 10's solutions differ from CFX 5.7's Atit Koonsrisuk CFX 4 July 26, 2006 12:59
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


All times are GMT -4. The time now is 14:54.