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

Mesh in a Two Phase Flow

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2019, 10:59
Default Mesh in a Two Phase Flow
  #1
New Member
 
Marcos Vinícius Salles
Join Date: Mar 2019
Posts: 1
Rep Power: 0
SallesJlle is on a distinguished road
Hello folks, how are you?

I am new in openfoam and I need a little help. I need creat a 3D mesh with the cross sectional area like this one in the attached picture. I need to set up the blue part with water and the red part with air. Can you help me? If you know some tutorials or books that have a similar case to indicate, I will be very gracefull.

Best regards!
Attached Images
File Type: jpg Mesh.jpg (89.0 KB, 19 views)
SallesJlle is offline   Reply With Quote

Old   April 3, 2019, 02:55
Default
  #2
Member
 
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 12
gkarlsen is on a distinguished road
Quote:
Originally Posted by SallesJlle View Post
Hello folks, how are you?

I am new in openfoam and I need a little help. I need creat a 3D mesh with the cross sectional area like this one in the attached picture. I need to set up the blue part with water and the red part with air. Can you help me? If you know some tutorials or books that have a similar case to indicate, I will be very gracefull.

Best regards!
Hi,

You can set the alpha field to the value you like by use of setFields. The dambreak tutorial uses this utility. You will need to change the cell sources from boxToCell to one of these:

https://github.com/OpenFOAM/OpenFOAM...ts/cellSources
gkarlsen is offline   Reply With Quote

Reply

Tags
mesh, openfoam, two phase flow

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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
Discrete Phase Model, outlet mass flow rate does not fit edu_aero FLUENT 29 February 3, 2020 09:38
Mass flow rate of phase in post mat_cfd CFX 0 September 3, 2013 08:55
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 22:31


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