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

Messed up with the Rising Bubble :(

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2015, 05:15
Default Messed up with the Rising Bubble :(
  #1
New Member
 
L
Join Date: Oct 2015
Location: NY
Posts: 8
Rep Power: 11
lowlow is on a distinguished road

Hi,everyone.
I'm a green hand in using OpenFOAM. These days I'm trying to simulate a rising bubble(2D) in a column of water by interFoam. The bubble rises from the bottom of the box and emerges from the water surface. It might be an easy task for you, but I have came up against several problems. Could you help me?
1. According to my results, the bubble floats to the left of the column and stops at the top. But in my imagination, the bubble should blow up and disappear into the air. I think maybe my OUTLET's BC has effects on the water flow. So is there anyting wrong with my OUTLET's BC.
2. I use setFields(sphereToCell) to make a bubble in the water. It works. And then I try to create an area full of air above the water surface. So I edit my setFieldsDit in the same way. As shown below.
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

defaultFieldValues
(
volScalarFieldValue alpha.water 1
);

regions
(
boxToCell
{
box(0 0.025 0)(0.015 0.03 0.0001);

fieldValues
(
volScalarFieldValue alpha.water 0
);
}
sphereToCell
{
centre (0.0075 0.002 0.0001);
radius 0.001;

fieldValues
(
volScalarFieldValue alpha.water 0
);
}
);

// ************************************************** *********************** //
When I run the setFields, it seems that the program does't buy it. The terminal shows as follows. It looks like I use the boxToCell in an improper way. I have no idea how to set an air-area above the water then.
Quote:
Create time

Create mesh for time = 0

Reading setFieldsDict



--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'regions' on line 24 and ending at line 48"

file: E:/OpenFOAM/cygwin64/home/Bob/OpenFOAM/Bob-2.3.x/run/FoamCases/bubble/case22/system/setFieldsDict at line 48.

From function primitiveEntry::readEntry(const dictionary&, Istream&)
in file lnInclude/IOerror.C at line 132.

FOAM exiting
All the files is uploaded, anyway, thanks for your attention and wait for your help. QAQcase23.zip

lowlow is offline   Reply With Quote

Old   November 17, 2015, 18:28
Default
  #2
Member
 
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 13
kmefun is on a distinguished road
box(0 0.025 0)(0.015 0.03 0.0001);
^
box (0 0.025 0)(0.015 0.03 0.0001);
with space
kmefun is offline   Reply With Quote

Old   November 18, 2015, 23:58
Default
  #3
New Member
 
L
Join Date: Oct 2015
Location: NY
Posts: 8
Rep Power: 11
lowlow is on a distinguished road
Quote:
Originally Posted by kmefun View Post
box(0 0.025 0)(0.015 0.03 0.0001);
^
box (0 0.025 0)(0.015 0.03 0.0001);
with space
Thank you I hv figured out the problem. OUTLET is incorrect in U file.
lowlow is offline   Reply With Quote

Reply

Tags
interfoam bubble


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
Rising bubble with interFoam tayo OpenFOAM Running, Solving & CFD 16 March 12, 2020 13:11
A rising bubble in a stagnant liquid with two-fluid-model fs82 OpenFOAM Running, Solving & CFD 30 August 18, 2016 13:27
bubble rising problem swamysrikanth ANSYS Meshing & Geometry 3 May 31, 2016 12:09
2D bubble rising through a column of water vof64 Fluent Multiphase 0 August 20, 2014 00:42
bubble rising in a column swamysrikanth Main CFD Forum 2 September 27, 2010 09:59


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