|
[Sponsors] |
September 24, 2017, 23:28 |
How to define inlet velocity function?
|
#1 |
New Member
LiangJian
Join Date: Jul 2017
Posts: 13
Rep Power: 10 |
Hello,everyone!
I am a newcomer to openFoam. I don't how to define inlet velocity function. For example v=0.45-2x^2 or v=2t. My openFoam version is 2.1.1. Best wishes. |
|
September 25, 2017, 01:02 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
An easy way is to set the b.c. for each cell using your formula.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
September 28, 2017, 20:52 |
|
#3 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 14 |
groovybc in swak4Foam (http://https://openfoamwiki.net/inde...am/Downloading) is an easy way to code your own boundary condition as a function of position.
Caelan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF inlet velocity profile mismatch with Fluent | ChristineL | Fluent UDF and Scheme Programming | 15 | November 25, 2016 06:45 |
Pressure problems with inlet variable velocity | jaimesdiegop | CFX | 2 | September 1, 2016 02:31 |
3-D parabolic velocity Inlet - Steady state - UDF Turbulent Flow | mohibanwar | Fluent UDF and Scheme Programming | 10 | May 18, 2015 10:34 |
How to define a mass source at a velocity inlet ? | cfdiscool | FLUENT | 4 | June 26, 2014 03:00 |
UDF for Inlet velocity | Mijin Kim | FLUENT | 0 | September 28, 2009 04:50 |