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

Using the turbulent inflowGenerator in LEMOS-2.3.x gives this error.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2016, 03:40
Exclamation Using the turbulent inflowGenerator in LEMOS-2.3.x gives this error.
  #1
New Member
 
Qiaoling Wang
Join Date: Dec 2015
Posts: 18
Rep Power: 11
mushtime is on a distinguished road
Dear Foamers:
I install the LEMOS-2.3.x in openfoam2.3.1 and use the 'inflowGenerator' for producing the turbulent inlet of the jet flame.
My use the case of flameC which is similar to flameD (sandia data), with mean velocity of : JET(29.7m/s),PILOT(6.8m/s) and COFLOW(0.9m/s).
My simulation domain is cylindrical domain with outer diameter of :JET(7.2mm),PILOT(18.2mm) and COFLOW(72mm) and axial length of 350mm.
For the first 0.04s, I use groovy B.Cs to produce inlet velocity profile of JET part. And it all goes fine.
But after I add the ''decayingTurbulenceInflowGenerator'' patch of the LEMOS to generate the turbulent inlet (with groovy BCs as the velocity profile), strange velocity profile just occurs.
My U field of 0.04s are listed below:
Code:
boundaryField
{
    JET
    {
        type            decayingTurbulenceInflowGenerator;
        LField          uniform 0.003;
        RField          uniform (0.05 0 0 0.05 0 0.05);
        direction       1;
        refField        nonuniform List<vector> 
        ...(the groovy B.C profile of jet velocity)
        value           nonuniform List<vector>
        ...(the groovy B.C profile of jet velocity)
Which pilot and coflow use turbulentInlet patch:
Code:
    PILOT
    {
        type            turbulentInlet;
        fluctuationScale (0.05 0.03 0.03);
        referenceField  uniform (6.8 0 0);
        alpha           0.1;
        value           nonuniform List<vector> 
        ...
}
Code:
    COFLOW
    {
        type            turbulentInlet;
        fluctuationScale (0.01 0 0);
        referenceField  uniform (0.9 0 0);
        alpha           0.1;
        value           nonuniform List<vector> 
        ...
}
At 0.04s, the velocity field is like Screenshot from 2016-05-23 23^%16^%22.jpg
After adding the LEMOS turbulent inlet BCs, and calculate for about 0.0032s the velocity field:
Screenshot from 2016-05-23 23^%19^%31.jpg
To adjust the velocity showing scale and the U_x,U_y and P field is listed below:
Screenshot from 2016-05-23 23^%20^%03.jpg
U_y.png
Attached Images
File Type: png p.png (177.1 KB, 29 views)
mushtime is offline   Reply With Quote

Old   May 24, 2016, 03:43
Smile
  #2
New Member
 
Qiaoling Wang
Join Date: Dec 2015
Posts: 18
Rep Power: 11
mushtime is on a distinguished road
Can anybody give some suggestions that whether I set the boundary of JET right? Thanks very much!!
mushtime is offline   Reply With Quote

Old   May 25, 2016, 05:32
Default
  #3
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 647
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

I would not be sure if the LEMOS is to blame for this. There seems to be something going on near your outlet. Just to make sure I would advise you to keep running without the LEMOS part and see if the same instability occurs. If so you probably need to have different boundary conditions at the outlet or move your outlet further away (and maybe coarsen the mesh there as well) to prohibit backflow from the outlet.

Regards,
Tom
tomf is offline   Reply With Quote

Old   May 25, 2016, 11:23
Default
  #4
New Member
 
Qiaoling Wang
Join Date: Dec 2015
Posts: 18
Rep Power: 11
mushtime is on a distinguished road
Thank you Tom,
I will give it try according to your suggestion and reply the result to the thread.
mushtime is offline   Reply With Quote

Old   May 25, 2016, 12:28
Smile
  #5
New Member
 
Qiaoling Wang
Join Date: Dec 2015
Posts: 18
Rep Power: 11
mushtime is on a distinguished road
Hello, Tom
I think I should mention the patch here that:
The outlet patch I use for p is wavetransmissive:
Code:
OUT
    {
        type            waveTransmissive;
        gamma           1.4;
        fieldInf        100000;
        lInf            0.17;
        value           uniform 100000;
    }
And my velocity for OUT is set like below.
Code:
    OUT
    {
        type            pressureInletOutletVelocity;
        value           uniform (0.9 0 0);
    }
Actually, I have tried fixedValue for p and InletOutlet for velocity. Still it does not work.
It seems that, the flow just "accumulates" at the outlet so some unphysical things happen.
I find some people use advective patch boundary, but it seems that the fraction of fixedValue and zeroGradient is fixed. So I don't not know whether it is good to try advective path.
Can you suggest me some proper B.Cs for the pressure and velocity to solve the "accumulation" problem? And I will first try to lengthen the simulation domain. Thank you ahead of time.
mushtime is offline   Reply With Quote

Old   May 27, 2016, 05:47
Default
  #6
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 647
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

I have sucessfully used the advective boundary condition recently indeed. Also wavetransmissive is derived from advective if I am not mistaken. But I did coarsen the mesh closer to the outlet, which may have helped.

You may want to try the combination of totalPressure on p with pressureInletOutlet on U, but I am not sure if this will solve the issue.

Regards,
Tom
tomf 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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
UDF for DPM particle deposition modelingpa haghshenasfard Fluent UDF and Scheme Programming 10 September 15, 2019 03:03
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 07:35
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


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