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

sequential injection stimulation using the multiphaseInterFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2013, 09:17
Post sequential injection stimulation using the multiphaseInterFoam
  #1
New Member
 
salame ama
Join Date: Dec 2012
Posts: 28
Rep Power: 13
salame is on a distinguished road
Hi, Formers:
these days, i used the multiphaseInterFoam solver for stimulating the sequential injection. but the results not OK. i think the problems emerge in the alpha setting. I want to stimulate first inject O(fluid) in the cavity, some time later, stop O and inject the M (another fluid) with the same inlet.
Relevant files below:
First, inject O.......
1 alphaair
dimensions [0 0 0 0 0 0 0];

internalField uniform 1;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

2 alphaM
dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

3 alphaO
dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type fixedValue;
value uniform 1;
}
outlet
{
type zeroGradient;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

4 setFields
efaultFieldValues
(
volScalarFieldValue alphaair 1
volScalarFieldValue alphaO 0
volScalarFieldValue alphaM 0

);

regions
(
boxToCell
{
box (-0.01 -0.01 0.001) (0.001 0.002 0.003);
fieldValues
(

volScalarFieldValue alphaO 1
volScalarFieldValue alphaM 0
volScalarFieldValue alphaair 0
);
}

Second, after injecion 0.6s, stop O and inject M, I change the alphaO and alphaM in the 0.6 result file without changing others. like:
alphaM:
dimensions [0 0 0 0 0 0 0];

internalField nonuniform List<scalar>
3620
(
-1.34342e-09
-1.3543e-09
...............
)
;

boundaryField
{
inlet
{
type fixedValue;
value uniform 1;
}
outlet
{
type zeroGradient;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

alphaO:
dimensions [0 0 0 0 0 0 0];

internalField nonuniform List<scalar>
3620
(
-3.24112e-10
-3.36625e-10
.....................
)
;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

the result is (writeInterval 0.2s): 1. 0~0.8s, have no change in the alpha (O, M, air)
http://xiangce.baidu.com/picture/det...dfef5441cc5425
2, from 1s, the alpha changed
1s:http://xiangce.baidu.com/picture/det...6a113f59070475
1.2s:http://xiangce.baidu.com/picture/det...68e8d92babf075
So, can u kindly help me solve the problem?
salame is offline   Reply With Quote

Old   September 11, 2013, 09:38
Post
  #2
New Member
 
salame ama
Join Date: Dec 2012
Posts: 28
Rep Power: 13
salame is on a distinguished road
the pictures
1.
2.
3.


Hi, Formers:
these days, i used the multiphaseInterFoam solver for stimulating the sequential injection. but the results not OK. i think the problems emerge in the alpha setting. I want to stimulate first inject O(fluid) in the cavity, some time later, stop O and inject the M (another fluid) with the same inlet.
Relevant files below:
First, inject O.......
1 alphaair
dimensions [0 0 0 0 0 0 0];

internalField uniform 1;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

2 alphaM
dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

3 alphaO
dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type fixedValue;
value uniform 1;
}
outlet
{
type zeroGradient;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

4 setFields
efaultFieldValues
(
volScalarFieldValue alphaair 1
volScalarFieldValue alphaO 0
volScalarFieldValue alphaM 0

);

regions
(
boxToCell
{
box (-0.01 -0.01 0.001) (0.001 0.002 0.003);
fieldValues
(

volScalarFieldValue alphaO 1
volScalarFieldValue alphaM 0
volScalarFieldValue alphaair 0
);
}

Second, after injecion 0.6s, stop O and inject M, I change the alphaO and alphaM in the 0.6 result file without changing others. like:
alphaM:
dimensions [0 0 0 0 0 0 0];

internalField nonuniform List<scalar>
3620
(
-1.34342e-09
-1.3543e-09
...............
)
;

boundaryField
{
inlet
{
type fixedValue;
value uniform 1;
}
outlet
{
type zeroGradient;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

alphaO:
dimensions [0 0 0 0 0 0 0];

internalField nonuniform List<scalar>
3620
(
-3.24112e-10
-3.36625e-10
.....................
)
;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
down
{
type symmetryPlane;
}
wall
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}

the result is (writeInterval 0.2s): 1. 0~0.8s, have no change in the alpha (O, M, air)
http://xiangce.baidu.com/picture/det...dfef5441cc5425
2, from 1s, the alpha changed
1s:http://xiangce.baidu.com/picture/det...6a113f59070475
1.2s:http://xiangce.baidu.com/picture/det...68e8d92babf075
So, can u kindly help me solve the problem?[/QUOTE]
salame is offline   Reply With Quote

Reply

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
Diesel injection problem Jurek FLUENT 2 June 16, 2017 07:05
injection problem Mark New FLUENT 0 August 4, 2013 02:30
jou file command for the injection! asal FLUENT 0 June 4, 2013 05:15
On DPM injection properties. akr FLUENT 4 October 23, 2006 11:54
using injection file and parallel process Cindy Jones FLUENT 0 January 23, 2003 13:40


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