CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Transparent phase in interFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 19, 2009, 22:27
Default Hi folks, I am relatively n
  #1
Member
 
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 7
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, 22: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: 7
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, 10: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: 7
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, 02:16
Default Cheers guys, I will give th
  #4
Member
 
Join Date: Mar 2009
Location: Sydney, New South Wales, Australia
Posts: 42
Rep Power: 7
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
InterFoam Which phase is which gamma sega OpenFOAM Running, Solving & CFD 1 May 19, 2008 13:33
transparent isosurface mateus FLUENT 3 May 24, 2006 01:58
How can I see air transparent ? andrea mercuri CD-adapco 1 July 29, 2004 13:30
semi-transparent wall Trilok FLUENT 0 January 29, 2004 04:14
semi-transparent media Giovanni FLUENT 0 May 16, 2003 03:02


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