CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Transparent phase in interFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2009, 23:27
Default Transparent phase in interFoam
  #1
Member
 
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17
rassilon is on a distinguished road
Hi folks,

I am relatively new to OpenFoam, but have been making good progress up until now.

I am trying to run a model not dissimilar to the collapsing dam tutorial, with a liquid and an air phase.

I would like to make the air phase transparent, so that I can see what the liquid phase is doing across the model. I have played with the opacity settings in the Display tab, but they affect both phases in the model.

Is there any way that I can use ParaFoam to make one phase transparent, while the other remains fully opaque, or is this more of a function of the pre-processing model setup?

Many thanks in advance,

R
rassilon is offline   Reply With Quote

Old   February 19, 2009, 23:42
Default Try using the contour filter i
  #2
New Member
 
Greg Collecutt
Join Date: Mar 2009
Location: Brisbane, Queensland, Australia
Posts: 21
Rep Power: 17
gcollecutt is on a distinguished road
Try using the contour filter in Paraview to create isosurfaces of gamma=0.5. The surfaces can be coloured by velocity or pressure if you wish. Also, you can leave the original mesh turned on, display with solid colour, and then set its opacity to 0.2 or so.

Greg.
gcollecutt is offline   Reply With Quote

Old   February 21, 2009, 11:09
Default Another trick is to use the cl
  #3
New Member
 
Nat Trask
Join Date: Mar 2009
Location: Providence, RI
Posts: 17
Rep Power: 17
ntrask is on a distinguished road
Another trick is to use the clip function to get the parts of gamma > 0.5 and < 0.5. You can then do whatever you'd like with the both of them.

-Nat
ntrask is offline   Reply With Quote

Old   February 24, 2009, 03:16
Default Cheers guys, I will give th
  #4
Member
 
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 17
rassilon is on a distinguished road
Cheers guys,

I will give this a try this week.

N
rassilon is offline   Reply With Quote

Reply

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
Three Phase flow into a reservoir... akjha Main CFD Forum 0 December 15, 2014 08:01
How interFoam tell which phase is wetting or non-wetting ? red.yxg OpenFOAM Pre-Processing 1 October 13, 2014 06:03
InterFoam negative alpha karasa03 OpenFOAM 7 December 12, 2013 04:41
Making a wall transparent for 1 phase tiam FLUENT 0 March 13, 2012 08:22
Extract primary phase thread in VOF with 3 phases Eric FLUENT 2 July 7, 2011 03:22


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