|
[Sponsors] |
Define periodic velocity profile by field function at the inlet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 18, 2015, 14:23 |
Define periodic velocity profile by field function at the inlet
|
#1 |
New Member
Xiang Pan
Join Date: Jun 2015
Posts: 3
Rep Power: 11 |
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! |
|
June 19, 2015, 07:30 |
|
#2 |
New Member
Bastian N.
Join Date: Jul 2014
Posts: 6
Rep Power: 12 |
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. |
|
June 23, 2015, 13:03 |
|
#3 | |
New Member
Xiang Pan
Join Date: Jun 2015
Posts: 3
Rep Power: 11 |
Quote:
|
||
June 25, 2015, 09:44 |
|
#4 |
New Member
Bastian N.
Join Date: Jul 2014
Posts: 6
Rep Power: 12 |
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. |
|
June 24, 2017, 05:07 |
|
#5 |
New Member
Dhanam Koilraj
Join Date: Jan 2017
Posts: 1
Rep Power: 0 |
How do you set up a field function ? Is it using udf ?
|
|
Tags |
field function, velocity bc |
|
|
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 18:24 |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 10:23 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 05:37 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 01:35 |
Create hemisphere like velocity profile at inlet | Nelson | Main CFD Forum | 3 | July 27, 2005 13:05 |