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

Define periodic velocity profile by field function at the inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2015, 13:23
Default Define periodic velocity profile by field function at the inlet
  #1
New Member
 
Xiang Pan
Join Date: Jun 2015
Posts: 3
Rep Power: 10
uhlondon is on a distinguished road
Hello,

I am now using STAR-CCM+ to simulation bubble generation in complex microfluidic device. I am considering to use periodic velocity boundary condition at the gas or liquid inlet instead of constant velocity condition. The periodic velocity profile should change with time like a sine function. Could anyone tell me how to define this periodic velocity profile by using field function?


Thank you!
uhlondon is offline   Reply With Quote

Old   June 19, 2015, 06:30
Default
  #2
New Member
 
Bastian N.
Join Date: Jul 2014
Posts: 6
Rep Power: 11
Bust is on a distinguished road
That is quite easily done.

First you need to set up a field function including your sinus. E.g. "sin(2*3.1416*${Time}/0.02)" for a cycle-Time of 0.02 seconds.

Than you go to your inlet Boundary, and change under Physics Values the Method of the "Velocity" Property to "Field Function". Now you can choose your just defined field function.
Bust is offline   Reply With Quote

Old   June 23, 2015, 12:03
Default
  #3
New Member
 
Xiang Pan
Join Date: Jun 2015
Posts: 3
Rep Power: 10
uhlondon is on a distinguished road
Quote:
Originally Posted by Bust View Post
That is quite easily done.

First you need to set up a field function including your sinus. E.g. "sin(2*3.1416*${Time}/0.02)" for a cycle-Time of 0.02 seconds.

Than you go to your inlet Boundary, and change under Physics Values the Method of the "Velocity" Property to "Field Function". Now you can choose your just defined field function.
Thank you for your reply. I have successfully applied the field function at the inlet boundary. I also want to know how to apply the same periodic velocity profile at specified position in the geometry by using field function. It will be very grateful if you can give me some advice on this issue. Thank you.
uhlondon is offline   Reply With Quote

Old   June 25, 2015, 08:44
Default
  #4
New Member
 
Bastian N.
Join Date: Jul 2014
Posts: 6
Rep Power: 11
Bust is on a distinguished road
As far as I know you can not apply a velocity constraint just somewhere inside the fluid domain.

Can you give some more informations about your case, because I can not really imagine why you should want to predefine the velocity profile inside the flow from a physical point of view. Maybe we can then find a little workaround for your problem.
Bust is offline   Reply With Quote

Old   June 24, 2017, 04:07
Default
  #5
New Member
 
Dhanam Koilraj
Join Date: Jan 2017
Posts: 1
Rep Power: 0
dhanamkoilraj is on a distinguished road
How do you set up a field function ? Is it using udf ?
dhanamkoilraj is offline   Reply With Quote

Reply

Tags
field function, velocity bc


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
How to define a fixed velocity for a given mass flow rate on inlet mqasimali FLUENT 2 April 12, 2013 17:24
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 09:23
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Create hemisphere like velocity profile at inlet Nelson Main CFD Forum 3 July 27, 2005 12:05


All times are GMT -4. The time now is 09:52.