CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Periodic in spanwise and streamwise, momentum source as inlet

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

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

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
method          scotch;
preservePatches (inlet_ outlet_ front_ back_);
and to create inlet flow, I put this in the fvOptions
    type            vectorSemiImplicitSource;
    active          yes;

        selectionMode   all;
        volumeMode      absolute;
            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
    type            meanVelocityForce;
    active          yes;

        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
Attached Images
File Type: jpg planes.jpg (30.6 KB, 6 views)
yb8119 is offline   Reply With Quote


cyclic boundary, momentum source

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
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 15:13.