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

syntax for velocity profile

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2018, 10:26
Default syntax for velocity profile
  #1
New Member
 
Join Date: Mar 2018
Posts: 16
Rep Power: 8
zizou1 is on a distinguished road
Hi all,
i want to modify the inlet velocity in a 3D pipe (cylinder).
This is the U file:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{


inlet
{
type fixedValue;
value uniform (0 0 1);
}

outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}

"(walls|bfV_zone0)"
{
type fixedValue;
value uniform (0 0 0);
}
}

I want to change it from a uniform field to a parabolic profile.
If the z axis is the direction of the flow in the pipe, which is the correct way to express the velocity profile of the circular section (z= cost.) corresponding to the inlet?

Thanks
zizou1 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
[swak4Foam] log velocity profile with groovyBC - syntax grjmell OpenFOAM Community Contributions 43 December 9, 2020 15:36
Syntax error while interpreting a simple velocity profile UDF Pavel Mihailovski FLUENT 6 February 8, 2018 14:24
UDF syntax error Ratel Fluent UDF and Scheme Programming 4 May 23, 2015 05:15
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 23:51.