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

Periodic in spanwise and streamwise, momentum source as inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2016, 07:38
Question Periodic in spanwise and streamwise, momentum source as inlet
  #1
New Member
 
Join Date: Jul 2016
Posts: 4
Rep Power: 9
yb8119 is on a distinguished road
Greetings

I am new to OpenFOAM and I am simulating the flow through canopies.

The version of the OpenFOAM I am using is V3.0.1, and the solver I use is pisoFoam.

The B.C. sets
inlet|outlet|front|back U cyclicAMI p cyclicAMI
lowerWall U fixed 0 p zeroGradient
upperWall U symmetry p symmetry

(lowerWall -- red
outlet -- green
back -- blue
in the attachment)

I put all cyclic boundaries inside one processor by using this in decomposeParDict
Code:
method          scotch;
preservePatches (inlet_ outlet_ front_ back_);
and to create inlet flow, I put this in the fvOptions
Code:
momentumSource1
{
    type            vectorSemiImplicitSource;
    active          yes;

    vectorSemiImplicitSourceCoeffs
    {
        selectionMode   all;
        volumeMode      absolute;
        injectionRateSuSp
        {
            U           ((1.34 0 0) 0);
        }
    }
}
Then I ran the simulation and misconvergence occurred within several hundred steps.

I am not sure what caused this problem. I tried to use this to create inlet flow
Code:
momentumSource
{
    type            meanVelocityForce;
    active          yes;

    meanVelocityForceCoeffs
    {
        selectionMode   all;

        fieldNames      (U);
        Ubar            (1.34 0 0);
    }
}
But it did not help. I also tried to switch the B.C. of the upperWall to slip, not helpful either.

I am wondering what I did wrong on the configuration of the simulation, any suggestion or idea will be appreciated!

Thanks in advance!

Best Regards
Ben
Attached Images
File Type: jpg planes.jpg (30.6 KB, 6 views)
yb8119 is offline   Reply With Quote

Reply

Tags
cyclic boundary, momentum source


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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Grid sizing streamwise and spanwise ArathoN Main CFD Forum 1 October 15, 2014 11:54
UDF to apply a Spanwise velocity wave on a whole 3D rectangular channel domain QBeast Fluent UDF and Scheme Programming 8 October 15, 2013 05:10
Periodic BC Glen Main CFD Forum 3 September 29, 2005 16:46


All times are GMT -4. The time now is 13:02.