|
[Sponsors] |
August 24, 2011, 17:18 |
codedFixedValue boundary condition
|
#1 |
Member
Neilson Whit
Join Date: Aug 2011
Posts: 74
Rep Power: 14 |
Dear All;
I am trying to define a moving wall boundary condition, X component velocity will change with a function of sin(). the block below does not take calculated ux value. How can I get calculated value as a boundary condition like (ux 0 0) ?. movingWall_1 { type codedFixedValue; value uniform (0 0 0); redirectType rampedFixedValue; code #{ double ux=(0.5*sin(3.14*this->db().time().value())/2); #}; } best regards. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 05:57 |
Can anyone give me some hint on how to make traction free boundary condition? | poplar | OpenFOAM | 3 | January 14, 2015 02:37 |
Boundary Conditions | Thomas P. Abraham | Main CFD Forum | 20 | July 7, 2013 05:05 |
Setting outlet Pressure boundary condition using CAFFA code | Mukund Pondkule | Main CFD Forum | 0 | March 16, 2011 03:23 |
How to set boundary condition in Fluent for the fo | Peiyong | FLUENT | 1 | November 10, 2006 11:44 |