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

[OpenFOAM] Multiphase 3D free wave surface post-processing visualization in paraview

Register Blogs Community New Posts Updated Threads Search

Like Tree37Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2013, 11:54
Default
  #21
Senior Member
 
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21
kwardle is on a distinguished road
OK. If you have set interfaceCompression = 0 for (water oil) then it should NOT be a surprise when your "droplet" disintegrates upon hitting the other fluid. It will do so as an Eulerian mixture with a droplet size as prescribed in transportProperties. This is the same setup I have used for the image I posted. In this case, you want to clip everything by alphaair (which does have a sharp interface) to get just the liquid part and then color the liquid part by the dispersed phase fraction (alphaoil in my case).

As for sigma, it is inconsistent to apply a value for surface tension for a phase pair that does not have a VOF-like sharp interface (interfaceCompression = 0). Funny you have run into this because I just came across this issue myself. I have asked Henry to add a check for this in the solver so that a warning message tells you the value of sigma will be ignored when interfaceCompression = 0. In your case, just set sigma for (water oil) to 0. Incidentally, the way you have defined this value is wrong. For (air water) or (air oil) the value for sigma is the "surface tension"--which is 0.073 for water. For the liquid-liquid pair (water oil) it is the INTERFACIAL TENSION which has its own value depending on the phase pair and is NOT just a ratio of the surface tensions for the two liquids. For a typical water/oil pair this may be something in the range of 0.025. But as I said, you want to leave it as 0 if there is no sharp interface.
-Kent
kwardle is offline   Reply With Quote

Old   November 13, 2013, 09:19
Default Wave runup on cylinder
  #22
New Member
 
Prasad
Join Date: Oct 2013
Posts: 11
Rep Power: 12
mprasad is on a distinguished road
Hi all,

I am post processing wave runup on a cylinder. I have used t that contour filter to generate the free surface. But, would like to expose the fixed cylinder (strucutre3).

Any suggestion on how I may go about doing that?

Thank you.

Regards,
Prasad
Attached Images
File Type: jpg Screenshot from 2013-11-13 22:13:39.jpg (40.9 KB, 127 views)
mprasad is offline   Reply With Quote

Old   November 13, 2013, 10:46
Default
  #23
Senior Member
 
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21
kwardle is on a distinguished road
Open a second instance of your controlDict, select only the patch(es) for the cylinder (not internal), and uncheck any fields. Then display this as a surface. You can change the color and opacity as well.
wyldckat and chienfm like this.
kwardle is offline   Reply With Quote

Old   November 13, 2013, 22:52
Default
  #24
New Member
 
Prasad
Join Date: Oct 2013
Posts: 11
Rep Power: 12
mprasad is on a distinguished road
Thank you Kent. Now I am able to see the wave runup on the cylinder.
Attached Images
File Type: jpg waveRunUpCylinder.jpg (10.1 KB, 116 views)
mprasad is offline   Reply With Quote

Old   September 22, 2014, 03:56
Default Alpha1 greater than 1
  #25
New Member
 
Karunakar
Join Date: Sep 2014
Posts: 2
Rep Power: 0
karunakar is on a distinguished road
Hi, i'm pretty basic at CFD. Can anyone suggest me what could be the reason for alpha1 values being greater than 1. i would also appreciate if there exists any other methodology to trace where it is happening except finding it out in the time folder--> alpha file and locating the cell.
Quote:
Originally Posted by SirWombat View Post
easily done!

1. Make sure your have the "internalMesh" loaded from the "Mesh Parts"
2. Also select "alpha1" to load from the "Volume Fields"

Now use the "Threshold"-Filter with "alpha1".

Use 0.5 for the "Lower Threshold" and 1.5 for the "Upper Threshold"

(Although alpha should be in the range of 0 - 1 sometimes there are larger numbers than 1.)

You should get a resulting surface that you can even make semi transparent with the "opacity"-setting under the display-tab. And of course you can set it to show the velocity.

Greetings,
Jan
karunakar is offline   Reply With Quote

Old   October 2, 2014, 12:02
Default
  #26
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11
Yage is on a distinguished road
Hi David,

A simple question would like to ask:
How did you hide the front/side face in paraview?

Regards,
Yage
Yage is offline   Reply With Quote

Old   February 25, 2015, 09:59
Default
  #27
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Hi Yage,
simply open up a new case (*.OpenFOAM file) or the external geometry (.stl or whatever), set solid color for it and in the properties panel, reduce Opacity (under styling) below 1.
Should work!
crixman is offline   Reply With Quote

Reply


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
fluent DPM - post processing ParaView gigivmasche FLUENT 4 October 23, 2019 03:05
Free Surface - Wave model - VOF raquelcfd STAR-CCM+ 3 September 26, 2018 03:11
[waves2Foam] simulate a nonlinear regular wave: strange increase in free surface Kun_zheng OpenFOAM Community Contributions 0 January 19, 2018 10:42
[General] Present the animation of water free surface around marine structure in Paraview Lewis Liang ParaView 4 May 14, 2017 03:33
Free surface wave pattern generation sam FLUENT 1 January 2, 2004 16:12


All times are GMT -4. The time now is 02:04.