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

How to put velocity direction?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 2, 2019, 02:54
Default How to put velocity direction?
  #1
Member
 
Priyanka P
Join Date: Apr 2019
Location: Germany
Posts: 40
Rep Power: 7
priyankap is on a distinguished road
Hello everyone,


I have a question related to direction of velocity. shape of my fluid region is given in the figure attached.


The inlet is in the in the x direction, but the pipe has multiple curves in it, so, I am getting confused that in which direction should I define the velocity while putting the initial values and boundary conditions for the velocity (U)? I am currently using the following:
Code:
U
{
    internalField   uniform (1.33 0 0);

    boundaryField
    {
        inlet
        {
            type                fixedValue;
            value               uniform (1.33 0 0);
        }

        outlet
        {
            type                zeroGradient;
            
        }

        "fluid_to_box"
        {
            type            noSlip;
        }
    }
}

As you can see in the attached figure, the direction of flow is changing throughout the domain.


So I need to know in which direction should I define my velocity in internalField and at inlet?


Thank you!
Attached Images
File Type: png pipe.png (35.0 KB, 77 views)
priyankap is offline   Reply With Quote

 


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
kindly help me .. i have and error at line number 147.. m zubair Fluent UDF and Scheme Programming 0 February 10, 2019 11:25
I need help about velocity vectors direction in cylinder modeling!!! aminepoxnet FLUENT 0 March 17, 2013 17:41
how to draw velocity with direction in paraView? immortality OpenFOAM Running, Solving & CFD 5 January 7, 2013 15:26
problem defining inlet velocity direction salman FLUENT 3 January 3, 2007 11:34
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 00:06.