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

simple non-isothermal bubble column with compressibleInterFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2014, 18:49
Default simple non-isothermal bubble column with compressibleInterFoam
  #1
New Member
 
Join Date: Nov 2014
Posts: 6
Rep Power: 11
kirzoaktrt is on a distinguished road
Hello.

I am trying to set up a simple 2D case for simulating a non-isothermal bubble column that I wish to solve with compressibleInterFoam. I uploaded the case here: https://drive.google.com/file/d/0B_V...ew?usp=sharing

The geometry can be seen in the attachment.

My current BC's are:

alpha.water: walls-zeroGradient; frontAndBack-empty; inlet-fixedValue,uniform 0; outlet-inletOutlet,inletValue 0,value 0;
p: walls-calculated,uniform 1e5; frontAndBack-empty; inlet-zeroGradient; outlet-fixedValue,uniform 0;
p_rgh: internalField-uniform 1e5; walls-zeroGradient; frontAndBack-empty; inlet-fixedValue,value 2e5; outlet-fixedValue,uniform 1e5;
T: zeroGradient on walls, uniform 300 on inlet, setFields sets the water temp to 600 (can this be a problem?).
U: walls-fixedValue,uniform (0 0 0); frontAndBack-empty; inlet-fixedValue,uniform (0.1 0 0); outlet-pressureInletOutletVelocity,value uniform (0 0 0)

The simulation crashes with the following error:

--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 0 the word 'nan'

file: C:/cygwin64/home/pal/OpenFOAM/pal-2.3.x/run/twophase_runs/2/system/data.solverPerformance.p_rgh at line 0.

The Courant number is also 0, and obviously I get nan's for all fields in the first iteration.

I am fairly new to OpenFoam, so I suspect that I set up the boundary conditions incorrectly. Apart from the BC's and setFields params, the case is entirely based upon the depthCharge2D tutorial case. The transport and thermodynamics properties are the same as in the tutorial case.

I would really appreciate any kind of guidance on how to set these BC's correctly. Thanks.
Attached Images
File Type: png geom.png (7.3 KB, 20 views)
kirzoaktrt is offline   Reply With Quote

Old   December 16, 2014, 03:53
Default
  #2
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
olivierG is on a distinguished road
hello,

You use p value at outlet = 0. This is absolute pressure ! Use 1e5 like with p_rgh.

regards,
olivier
olivierG is offline   Reply With Quote

Old   December 18, 2014, 03:10
Default
  #3
New Member
 
Join Date: Nov 2014
Posts: 6
Rep Power: 11
kirzoaktrt is on a distinguished road
Thanks. It does work now.

The results seem weird though. The bubble I get seems to be wetting the walls where the inlet is. The BC on the wall is zeroGradient for alpha. I wonder if there is a proper BC that makes sure that no air touches the walls (i.e., make the wall repellent of one phase). I tried fixedValue uniform 1 at the wall (saying that at the wall, there is always pure water), but that case did not converge.
kirzoaktrt 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
Bubble size distribution : Bubble column oj.bulmer CFX 8 June 7, 2019 05:03
Bubble Column Simulation: Different Turbulence Models different results zobekenobe CFX 5 January 28, 2013 09:02
twoPhaseEulerFoam : bubble column modeling chittipo OpenFOAM Running, Solving & CFD 2 June 11, 2012 06:12
Bubble column Sally CFX 2 May 30, 2008 07:52
Bubble column liquid fraction Sally CFX 0 April 18, 2008 11:15


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