|
[Sponsors] |
July 7, 2004, 17:57 |
User Defined Boundary Conditions
|
#1 |
Guest
Posts: n/a
|
I have been trying to set User defined Boundary conditions for a test case consisting incompresible, pulsatile flow. can anybody tell me in detail how should I do this. The velocity profile is sinusoidal.
|
|
July 7, 2004, 18:51 |
Re: User Defined Boundary Conditions
|
#2 |
Guest
Posts: n/a
|
It should look like this
DEFINE_PROFILE(sinusoidal_profile,thread,nv) { cell_t c; face_t f; real x[ND_ND],u; begin_f_loop(f,thread) { F_CENTROID(x,f,thread); F_PROFILE(f,thread,nv)= sinusoidal function; } end_f_loop(f,thread) } After Interpretting the UDF , you will see it in the boundary condition panel drop down menu. Select the name of the function ( sinusoidal_profile ) from the drop down when you select the boundary condition for the velocity at the bounday. |
|
July 8, 2004, 01:34 |
Re: User Defined Boundary Conditions
|
#3 |
Guest
Posts: n/a
|
Hi ajay,
Thanks for the help. It worked. And I am able to get along with it. thanks again, -ravi. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
User defined scalar boundary condition | Philip | FLUENT | 1 | December 4, 2013 11:23 |
symmetry boundary conditions in cfx | lost.identity | CFX | 41 | May 22, 2013 08:21 |
Fluent accuracy and boundary conditions | Paolo Lampitella | FLUENT | 0 | June 12, 2008 07:25 |
[mesh manipulation] Boundary conditions transfert | vantage1 | OpenFOAM Meshing & Mesh Conversion | 0 | June 28, 2006 09:20 |