CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Hagen_Poiseuille velocity profile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2021, 15:07
Default Hagen_Poiseuille velocity profile
  #1
New Member
 
Andrea
Join Date: Jul 2021
Posts: 1
Rep Power: 0
aa_diamanti is on a distinguished road
Hi everyone,

I am fairly new to StarCCM+. I am running a simple simulation in a 3D curved pipe, where I created local cylindrical coordinate systems at the ends (Cylindrical_PAI and Cylindrical_DAO).
I would like to implement a parabolic inlet velocity profile using a field function, and I am unsure either on how to do that and on how to verify if the function has been implemented correctly.
This is what I have done so far:

1. created user defined field function (scalar): -2*0.2388*(1-pow( ($$Position("Cylindrical_PAI")[0]/1.81), 2 ) )
(The minus sign is explained in point 2)

2. In my inlet boundary I have this set:

Physics conditions:
Flow direction specification > components
Reference frame specification > Lab frame
Velocity specification > magnitude + direction

Physics values:
Flow direction > field function > area (the area field function creates a vector normal to the surface I believe, so in order for the flow to go inside a minus sign was necessary > coordinate system: Cylindrical_PAI
Velocity magnitude: the field function defined in 1

I am running a few iterations to see if the profile has been implemented correctly and I use a vector scene with the inlet and outlet boundaries to check that.
aa_diamanti 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
[UDF] Relative coordinates in logarithmic velocity profile cfdworker Fluent UDF and Scheme Programming 25 July 13, 2017 04:44
InterFoam - Validation for velocity profile in simple channel me.ouda OpenFOAM Running, Solving & CFD 0 October 19, 2015 07:42
Logarithmic velocity profile cfdworker Fluent UDF and Scheme Programming 0 April 23, 2009 20:09
[boundary condition] logarithmic velocity profile cfdworker FLUENT 2 April 18, 2009 00:36
Prescribed inflow velocity profile - how to? Alan Main CFD Forum 10 October 28, 2005 13:14


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