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

Simulating a tank filled with water and injecting vapor into it

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2013, 10:00
Default Simulating a tank filled with water and injecting vapor into it
  #1
Member
 
belkadi
Join Date: May 2013
Location: France
Posts: 31
Rep Power: 13
belkadi is on a distinguished road
Dear all,

After have installed the openfoam code, I'm learning about how to use. Tutorials examples are helpful. I have jusr run the cavity example.
Now I'm trying to create my own example.
In fact I'm trying to simulate the following example :
A tank filled with water (only a half). I would like to simulate the effect of the injection of steam on the mixing of the water.
Do you know how to fill the tank by water and how to add the condition of steam injection in the input files ?
For the meshing I've used the one proposed by cavity.

The attached imae explains the problem.

Many thanks

Kind regards

Abdelkrim
Attached Images
File Type: jpg tank.JPG (9.4 KB, 114 views)
belkadi is offline   Reply With Quote

Old   May 23, 2013, 20:52
Default
  #2
Senior Member
 
Julien de Charentenay
Join Date: Jun 2009
Location: Australia
Posts: 231
Rep Power: 18
julien.decharentenay is on a distinguished road
Send a message via Skype™ to julien.decharentenay
Hi Abdelkrim,

It looks like a great (and complex) case to do.

Steam-wise: are you trying to simulate the condensation of the steam?

In a first instance, I would suggest running the case with the assumption that steam does not condensate (and simplify to just an inlet injecting air). As you are adding mass to your tank, the pressure will rise unless there is a pressure relief valve somewhere (which would be modeled as an outlet).

First you need to select your solver. InterFoam may be a good candidate - but would not support the condensation of steam.

Fill the tank with water: this can be done using setFields.

Steam injection: you need to define patch(es) for the boundary conditions where the injection takes place. Then use the patch in the files with the variables (directory 0) to define the injection conditions.
__________________
---
Julien de Charentenay
julien.decharentenay is offline   Reply With Quote

Old   May 24, 2013, 03:59
Default
  #3
Member
 
belkadi
Join Date: May 2013
Location: France
Posts: 31
Rep Power: 13
belkadi is on a distinguished road
hi Julien,

Thanks a lot for your precise answer.
I'll not simulate the condensation of the steam. In fact we have a pressure relief valve above the reactor.
I'll follow your instrcutios and will be back.

Many thanks

Kind regards
belkadi is offline   Reply With Quote

Old   May 24, 2013, 05:43
Default
  #4
Member
 
belkadi
Join Date: May 2013
Location: France
Posts: 31
Rep Power: 13
belkadi is on a distinguished road
Hi Julien,

I've tried to use some examples of the interFoam solver
/tutorials/multiphase/interFoam/laminar/dambreak/
So I tried to run the example dambreak but it's seems not working
I tried the following command lines :
blockMesh ->OK
icoFoam (or even interFoam)
I got the following message : keyword nu is undefined in dictionnary ...../transportproperties

FOAM exiting

I don't konw if I have to redefine the nu parameter in the transportproperties.

Is it possible to help me to create a very simple example :

tank : geometry square
tank filled by water (half)
inject air or steam in the bottom of the tank

I don't found the tutorial easy to use.

Many thanks !

Abdelkrim
belkadi 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
Simulating air injecting to water in a tank? Howard Wang Siemens 2 March 15, 2009 23:44
Simulating air injecting to water in a tank? Howard Wang Main CFD Forum 6 March 13, 2009 22:32
Simulating air injecting to water in a tank? Howard Wang FLOW-3D 3 March 13, 2009 15:28
injecting water mixed with tiny bubble willy FLUENT 3 June 18, 2001 09:50


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