CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Coded BCs problem (http://www.cfd-online.com/Forums/openfoam-solving/98833-coded-bcs-problem.html)

Goutam March 20, 2012 08:51

Coded BCs problem
 
inlet{
type codedFixedValue;
redirectType swirl;

code
#{
const vector axis (1,0,0);
vectorField v = 2.0*this->patch().Cf()^axis;
v.replace (vector::X, 1.0);
operator==(v);
#};
value $internalField;
}

Any one explain me, what this code means?


All times are GMT -4. The time now is 07:22.